diff options
Diffstat (limited to 'vp8/common')
-rw-r--r-- | vp8/common/postproc.c | 2 | ||||
-rw-r--r-- | vp8/common/x86/idctllm_mmx.asm | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/vp8/common/postproc.c b/vp8/common/postproc.c index 660880b52..7dbe96649 100644 --- a/vp8/common/postproc.c +++ b/vp8/common/postproc.c @@ -806,7 +806,7 @@ int vp8_post_proc_frame(VP8_COMMON *oci, YV12_BUFFER_CONFIG *dest, vp8_ppflags_t char zz[4]; int dc_diff = !(mi[mb_index].mbmi.mode != B_PRED && mi[mb_index].mbmi.mode != SPLITMV && - mi[mb_index].mbmi.mb_skip_coeff)); + mi[mb_index].mbmi.mb_skip_coeff); if (oci->frame_type == KEY_FRAME) sprintf(zz, "a"); diff --git a/vp8/common/x86/idctllm_mmx.asm b/vp8/common/x86/idctllm_mmx.asm index 43735bc4b..465626b8f 100644 --- a/vp8/common/x86/idctllm_mmx.asm +++ b/vp8/common/x86/idctllm_mmx.asm @@ -14,18 +14,18 @@ ; /**************************************************************************** ; * Notes: ; * -; * This implementation makes use of 16 bit fixed point verio of two multiply +; * This implementation makes use of 16 bit fixed point version of two multiply ; * constants: ; * 1. sqrt(2) * cos (pi/8) -; * 2. sqrt(2) * sin (pi/8) -; * Becuase the first constant is bigger than 1, to maintain the same 16 bit -; * fixed point prrcision as the second one, we use a trick of +; * 2. sqrt(2) * sin (pi/8) +; * Because the first constant is bigger than 1, to maintain the same 16 bit +; * fixed point precision as the second one, we use a trick of ; * x * a = x + x*(a-1) ; * so ; * x * sqrt(2) * cos (pi/8) = x + x * (sqrt(2) *cos(pi/8)-1). ; * -; * For the second constant, becuase of the 16bit version is 35468, which -; * is bigger than 32768, in signed 16 bit multiply, it become a negative +; * For the second constant, because of the 16bit version is 35468, which +; * is bigger than 32768, in signed 16 bit multiply, it becomes a negative ; * number. ; * (x * (unsigned)35468 >> 16) = x * (signed)35468 >> 16 + x ; * |