summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_quantize.c
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2013-09-11 13:45:44 -0400
committerScott LaVarnway <slavarnway@google.com>2013-09-11 13:45:44 -0400
commitac6093d179d8488f90bf10c6d0abcc48be327d28 (patch)
treeb5be18157350f2fe68238ab4c093aec74e6107f9 /vp9/encoder/vp9_quantize.c
parent0607abc3dd26e6782ad9577765f9aeef311b0de9 (diff)
downloadlibvpx-ac6093d179d8488f90bf10c6d0abcc48be327d28.tar
libvpx-ac6093d179d8488f90bf10c6d0abcc48be327d28.tar.gz
libvpx-ac6093d179d8488f90bf10c6d0abcc48be327d28.tar.bz2
libvpx-ac6093d179d8488f90bf10c6d0abcc48be327d28.zip
New mode_info_context storage -- undo revert
mode_info_context was stored as a grid of MODE_INFO structs. The grid now constists of pointers to MODE_INFO structs. The MODE_INFO structs are now stored as a stream (decoder only), eliminating unnecessary copies and is a little more cache friendly. Change-Id: I031d376284c6eb98a38ad5595b797f048a6cfc0d
Diffstat (limited to 'vp9/encoder/vp9_quantize.c')
-rw-r--r--vp9/encoder/vp9_quantize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_quantize.c b/vp9/encoder/vp9_quantize.c
index cfaa776cb..a4732365a 100644
--- a/vp9/encoder/vp9_quantize.c
+++ b/vp9/encoder/vp9_quantize.c
@@ -279,7 +279,7 @@ void vp9_mb_init_quantizer(VP9_COMP *cpi, MACROBLOCK *x) {
int i;
MACROBLOCKD *xd = &x->e_mbd;
int zbin_extra;
- int segment_id = xd->mode_info_context->mbmi.segment_id;
+ int segment_id = xd->this_mi->mbmi.segment_id;
const int qindex = vp9_get_qindex(&cpi->common.seg, segment_id,
cpi->common.base_qindex);