summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_ratectrl.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2013-04-26 11:57:17 -0700
committerRonald S. Bultje <rbultje@google.com>2013-04-26 11:57:17 -0700
commit1a46b30ebeead1038876cc2744523612851f0eef (patch)
treeb3dc7dba1d47c6afcb4af64360719ca94a0d21b6 /vp9/encoder/vp9_ratectrl.c
parenteea1fecd069c2eaaf17b09f4306d0970c893a12d (diff)
downloadlibvpx-1a46b30ebeead1038876cc2744523612851f0eef.tar
libvpx-1a46b30ebeead1038876cc2744523612851f0eef.tar.gz
libvpx-1a46b30ebeead1038876cc2744523612851f0eef.tar.bz2
libvpx-1a46b30ebeead1038876cc2744523612851f0eef.zip
Grow MODE_INFO array to use an 8x8 basis.
Change-Id: I087e08e7909a406b71715b8525c104208daa6889
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.c')
-rw-r--r--vp9/encoder/vp9_ratectrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c
index 7a419fb61..f59385232 100644
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -159,7 +159,7 @@ void vp9_save_coding_context(VP9_COMP *cpi) {
vp9_copy(cc->prob_comppred, cm->prob_comppred);
vpx_memcpy(cpi->coding_context.last_frame_seg_map_copy,
- cm->last_frame_seg_map, (cm->mb_rows * cm->mb_cols));
+ cm->last_frame_seg_map, (cm->mi_rows * cm->mi_cols));
vp9_copy(cc->last_ref_lf_deltas, xd->last_ref_lf_deltas);
vp9_copy(cc->last_mode_lf_deltas, xd->last_mode_lf_deltas);
@@ -221,7 +221,7 @@ void vp9_restore_coding_context(VP9_COMP *cpi) {
vpx_memcpy(cm->last_frame_seg_map,
cpi->coding_context.last_frame_seg_map_copy,
- (cm->mb_rows * cm->mb_cols));
+ (cm->mi_rows * cm->mi_cols));
vp9_copy(xd->last_ref_lf_deltas, cc->last_ref_lf_deltas);
vp9_copy(xd->last_mode_lf_deltas, cc->last_mode_lf_deltas);