forked from FFmpeg/FFmpeg
lavc/h274: fix comment (cosmetic)
Either the average, or the sum right-shifted. Not the average right-shifted.
This commit is contained in:
parent
616e9d2413
commit
48fc414c7c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
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)
|
static uint16_t avg_8x8_c(const uint8_t *in, int in_stride)
|
||||||
{
|
{
|
||||||
uint16_t avg[8] = {0}; // summing over an array vectorizes better
|
uint16_t avg[8] = {0}; // summing over an array vectorizes better
|
||||||
|
|
Loading…
Add table
Reference in a new issue