diff options
author | Yunqing Wang <yunqingwang@google.com> | 2011-11-08 12:11:48 -0500 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2011-11-08 12:11:48 -0500 |
commit | 4c14efd23428ec14a618b9febf3fd9af261134fa (patch) | |
tree | 37740c30bb25e6306456ef7e6c709de44f981b0b /vp8/encoder/quantize.h | |
parent | aa6afc016489856f9f18bb98f0259c4e51584626 (diff) | |
download | libvpx-4c14efd23428ec14a618b9febf3fd9af261134fa.tar libvpx-4c14efd23428ec14a618b9febf3fd9af261134fa.tar.gz libvpx-4c14efd23428ec14a618b9febf3fd9af261134fa.tar.bz2 libvpx-4c14efd23428ec14a618b9febf3fd9af261134fa.zip |
Fix checks in MB quantizer initialization
vp8cx_mb_init_quantizer() needs to be called at least once to get
all values calculated. This change added one check to decide if
we could skip initialization or not.
Change-Id: I3f65eb548be57580a61444328336bc18c25c085b
Diffstat (limited to 'vp8/encoder/quantize.h')
-rw-r--r-- | vp8/encoder/quantize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/quantize.h b/vp8/encoder/quantize.h index f1f0156d8..07b8813d1 100644 --- a/vp8/encoder/quantize.h +++ b/vp8/encoder/quantize.h @@ -86,7 +86,7 @@ struct VP8_COMP; extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, MACROBLOCK *x); -extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, MACROBLOCK *x); +extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip); extern void vp8cx_init_quantizer(struct VP8_COMP *cpi); #endif |