MODE_INFO size reduction
authorScott LaVarnway <slavarnway@google.com>
Tue, 24 May 2011 17:24:52 +0000 (13:24 -0400)
committerScott LaVarnway <slavarnway@google.com>
Tue, 24 May 2011 17:24:52 +0000 (13:24 -0400)
commite11f21af9ae7f4cf677a8dd7e027dfaca0d96617
tree425a8a694b4a09f3415b931ced4d598ce4c743f4
parent6d82d2d22e300f886d27c36106a56daa6a81b763
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
13 files changed:
vp8/common/blockd.h
vp8/common/debugmodes.c
vp8/common/findnearmv.c
vp8/common/findnearmv.h
vp8/decoder/decodemv.c
vp8/decoder/decodframe.c
vp8/decoder/threading.c
vp8/encoder/bitstream.c
vp8/encoder/encodeframe.c
vp8/encoder/encodeintra.c
vp8/encoder/ethreading.c
vp8/encoder/pickinter.c
vp8/encoder/rdopt.c