summaryrefslogtreecommitdiff
path: root/vp8/common/debugmodes.c
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2011-05-24 13:24:52 -0400
committerScott LaVarnway <slavarnway@google.com>2011-05-24 13:24:52 -0400
commite11f21af9ae7f4cf677a8dd7e027dfaca0d96617 (patch)
tree425a8a694b4a09f3415b931ced4d598ce4c743f4 /vp8/common/debugmodes.c
parent6d82d2d22e300f886d27c36106a56daa6a81b763 (diff)
downloadlibvpx-e11f21af9ae7f4cf677a8dd7e027dfaca0d96617.tar
libvpx-e11f21af9ae7f4cf677a8dd7e027dfaca0d96617.tar.gz
libvpx-e11f21af9ae7f4cf677a8dd7e027dfaca0d96617.tar.bz2
libvpx-e11f21af9ae7f4cf677a8dd7e027dfaca0d96617.zip
MODE_INFO size reduction
Declared the bmi in MODE_INFO as a union instead of B_MODE_INFO. This reduced the memory footprint by 518,400 bytes for 1080 resolutions. The decoder performance improved by ~4% for the clip used and the encoder showed very small improvements. (0.5%) This reduction was first mentioned to me by John K. and in a later discussion by Yaowu. This is WIP. Change-Id: I8e175fdbc46d28c35277302a04bee4540efc8d29
Diffstat (limited to 'vp8/common/debugmodes.c')
-rw-r--r--vp8/common/debugmodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/common/debugmodes.c b/vp8/common/debugmodes.c
index 8c03480fa..46064e61d 100644
--- a/vp8/common/debugmodes.c
+++ b/vp8/common/debugmodes.c
@@ -97,7 +97,7 @@ void vp8_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols, int f
bindex = (b_row & 3) * 4 + (b_col & 3);
if (mi[mb_index].mbmi.mode == B_PRED)
- fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].mode);
+ fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode);
else
fprintf(mvs, "xx ");