Commit 8b7eced6 authored by Scott LaVarnway's avatar Scott LaVarnway Committed by Gerrit Code Review
Browse files

Merge "Added eob == 0 check to vp9_dequant_idct_add_32x32_c" into experimental

parents 5f242925 9d4c2653
...@@ -354,13 +354,15 @@ void vp9_dequant_idct_add_32x32_c(int16_t *input, const int16_t *dq, ...@@ -354,13 +354,15 @@ void vp9_dequant_idct_add_32x32_c(int16_t *input, const int16_t *dq,
int16_t output[1024]; int16_t output[1024];
int i; int i;
input[0]= input[0] * dq[0] / 2; if (eob) {
for (i = 1; i < 1024; i++) input[0]= input[0] * dq[0] / 2;
input[i] = input[i] * dq[1] / 2; for (i = 1; i < 1024; i++)
vp9_short_idct32x32_c(input, output, 64); input[i] = input[i] * dq[1] / 2;
vpx_memset(input, 0, 2048); 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, void vp9_dequant_idct_add_uv_block_16x16_c(int16_t *q, const int16_t *dq,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment