ref: 2f742187fd081271d82b7d4f27b9953698dfbf0d
parent: a9a13ce9443c468eb223fc775d020f4baf86f35c
parent: 21f8d6a1c9367a95bfc1d8de39fae3388aa7630a
author: Marco Paniconi <[email protected]>
date: Fri Jun 27 06:14:56 EDT 2014
Merge "vp8: bugfix in postproc vp8_de_noise."
--- a/vp8/common/postproc.c
+++ b/vp8/common/postproc.c
@@ -393,12 +393,12 @@
int low_var_thresh,
int flag)
{
+ int mbr;
double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
int ppl = (int)(level + .5);
- int mb_rows = source->y_width >> 4;
- int mb_cols = source->y_height >> 4;
+ int mb_rows = cm->mb_rows;
+ int mb_cols = cm->mb_cols;
unsigned char *limits = cm->pp_limits_buffer;;
- int mbr, mbc;
(void) post;
(void) low_var_thresh;
(void) flag;