ref: 8b7eced6fe55bf95bf89f9beba21a205303ffbbc
parent: 5f2429259fcc16e847b4f87330e757931beb970b
parent: 9d4c26531b600a98c236833269a4ca81e1cc0d39
author: Scott LaVarnway <slavarnway@google.com>
date: Tue Jan 29 04:19:58 EST 2013
Merge "Added eob == 0 check to vp9_dequant_idct_add_32x32_c" into experimental
--- a/vp9/decoder/vp9_dequantize.c
+++ b/vp9/decoder/vp9_dequantize.c
@@ -354,13 +354,15 @@
int16_t output[1024];
int i;
- input[0]= input[0] * dq[0] / 2;
- for (i = 1; i < 1024; i++)
- input[i] = input[i] * dq[1] / 2;
- vp9_short_idct32x32_c(input, output, 64);
- vpx_memset(input, 0, 2048);
+ if (eob) {
+ input[0]= input[0] * dq[0] / 2;
+ for (i = 1; i < 1024; i++)
+ input[i] = input[i] * dq[1] / 2;
+ vp9_short_idct32x32_c(input, output, 64);
+ vpx_memset(input, 0, 2048);
- add_residual(output, pred, pitch, dest, stride, 32, 32);
+ add_residual(output, pred, pitch, dest, stride, 32, 32);
+ }
}
void vp9_dequant_idct_add_uv_block_16x16_c(int16_t *q, const int16_t *dq,
--
⑨