diff options
author | Niklas Haas <git@haasn.dev> | 2023-09-27 15:49:46 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-09-28 17:11:23 +0200 |
commit | 48fc414c7cc13185b5ffe462b288e95be2517196 (patch) | |
tree | 7dba15be31fc941d27d8d758740c437ccebebf7f | |
parent | 616e9d24137d34fba02ebd159d5a7186aaf53eca (diff) | |
download | ffmpeg-48fc414c7cc13185b5ffe462b288e95be2517196.tar.gz |
lavc/h274: fix comment (cosmetic)
Either the average, or the sum right-shifted. Not the average
right-shifted.
-rw-r--r-- | libavcodec/h274.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h274.c b/libavcodec/h274.c index 2388826d54..a5caf09564 100644 --- a/libavcodec/h274.c +++ b/libavcodec/h274.c @@ -110,7 +110,7 @@ static void init_slice(H274FilmGrainDatabase *database, uint8_t h, uint8_t v) init_slice_c(database->db[h][v], h, v, database->slice_tmp); } -// Computes the average of an 8x8 block, right-shifted by 6 +// Computes the average of an 8x8 block static uint16_t avg_8x8_c(const uint8_t *in, int in_stride) { uint16_t avg[8] = {0}; // summing over an array vectorizes better |