shithub: libvpx

Download patch

ref: c539ec022fdffc6aba1cfea1fc7f3fceabe66362
parent: 90c9ede8e653a10855c583510aa2b071cc2f02c2
parent: 8e8bc5f28b68527ed6df609899ca82913a9c1729
author: Jingning Han <[email protected]>
date: Fri Jun 19 20:35:05 EDT 2015

Merge "Add dynamic range comment to vp9_int_pro_col"

--- a/vp9/encoder/vp9_avg.c
+++ b/vp9/encoder/vp9_avg.c
@@ -142,9 +142,11 @@
   }
 }
 
+// width: value range {16, 32, 64}.
 int16_t vp9_int_pro_col_c(uint8_t const *ref, const int width) {
   int idx;
   int16_t sum = 0;
+  // sum: 14 bit, dynamic range [0, 16320]
   for (idx = 0; idx < width; ++idx)
     sum += ref[idx];
   return sum;