summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2014-08-14 09:55:31 -0700
committerJingning Han <jingning@google.com>2014-08-14 14:21:08 -0700
commitd67b608c5dd69ff8edf3c7068c59a2521898bcdf (patch)
treef3af51be530fe63343f18182a30c18553e76da2f /vp9/encoder/vp9_encodeframe.c
parentccef8842d2f4df4f52efe66b6b94de707244804f (diff)
downloadlibvpx-d67b608c5dd69ff8edf3c7068c59a2521898bcdf.tar
libvpx-d67b608c5dd69ff8edf3c7068c59a2521898bcdf.tar.gz
libvpx-d67b608c5dd69ff8edf3c7068c59a2521898bcdf.tar.bz2
libvpx-d67b608c5dd69ff8edf3c7068c59a2521898bcdf.zip
Remove redundant vp9_init_plane_quantizers call
When aq mode is on, the quantizer will be reset later in the same function (line 571). Change-Id: I20635db31261d136d04d5deeb881ad3957078bf1
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index b20b662f3..440402bdf 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -539,10 +539,9 @@ static void update_state(VP9_COMP *cpi, PICK_MODE_CONTEXT *ctx,
}
// Else for cyclic refresh mode update the segment map, set the segment id
// and then update the quantizer.
- else if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) {
+ if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) {
vp9_cyclic_refresh_update_segment(cpi, &xd->mi[0]->mbmi,
mi_row, mi_col, bsize, 1);
- vp9_init_plane_quantizers(cpi, x);
}
}