History

lavc/h274: fix comment (cosmetic)

Either the average, or the sum right-shifted. Not the average right-shifted.

Niklas Haas committed 3 years ago

Commit 48fc4141 parent 616e9d21 file · +1 −1Browse files

Unified · Split

libavcodec/h274.c+1−1
@@ -110,7 +110,7 @@ static void init_slice(H274FilmGrainDatabase *database, uint8_t h, uint8_t v) · 109 unmodified lines
110 init_slice_c(database->db[h][v], h, v, database->slice_tmp);110 init_slice_c(database->db[h][v], h, v, database->slice_tmp);
111}111}
112 112
113// Computes the average of an 8x8 block, right-shifted by 6113// Computes the average of an 8x8 block
114static uint16_t avg_8x8_c(const uint8_t *in, int in_stride)114static uint16_t avg_8x8_c(const uint8_t *in, int in_stride)
115{115{
116 uint16_t avg[8] = {0}; // summing over an array vectorizes better116 uint16_t avg[8] = {0}; // summing over an array vectorizes better

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t