summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_onyxc_int.h
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2013-09-06 12:33:34 -0400
committerScott LaVarnway <slavarnway@google.com>2013-09-06 12:33:34 -0400
commitdae17734ece414091ba1184f7becd0aa6c0004f1 (patch)
treecd7b9f5a0a3d1d9f2ac5885773873a2006dba256 /vp9/common/vp9_onyxc_int.h
parente4e864586c6e020d7ed028cc5c1e93de4fd8ee10 (diff)
downloadlibvpx-dae17734ece414091ba1184f7becd0aa6c0004f1.tar
libvpx-dae17734ece414091ba1184f7becd0aa6c0004f1.tar.gz
libvpx-dae17734ece414091ba1184f7becd0aa6c0004f1.tar.bz2
libvpx-dae17734ece414091ba1184f7becd0aa6c0004f1.zip
New mode_info_context storage
mode_info_context was stored as a grid of MODE_INFO structs. The grid now constists of a pointer to a MODE_INFO struct and a "in the image" flag. The MODE_INFO structs are now stored as a stream, eliminating unnecessary copies and is a little more cache friendly. For the test clips used, the decoder performance improved by ~4.3% (1080p) and ~9.7% (720p). Patch Set 2: Re-encoded clips with latest. Now ~1.7% (1080p) and 5.9% (720p). Change-Id: I846f29e88610fce2523ca697a9a9ef2a182e9256
Diffstat (limited to 'vp9/common/vp9_onyxc_int.h')
-rw-r--r--vp9/common/vp9_onyxc_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h
index f0bc063f2..0431e146f 100644
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -164,6 +164,10 @@ typedef struct VP9Common {
MODE_INFO *prev_mip; /* MODE_INFO array 'mip' from last decoded frame */
MODE_INFO *prev_mi; /* 'mi' from last frame (points into prev_mip) */
+ MODE_INFO **mi_grid_base;
+ MODE_INFO **mi_grid_visible;
+ MODE_INFO **prev_mi_grid_base;
+ MODE_INFO **prev_mi_grid_visible;
// Persistent mb segment id map used in prediction.
unsigned char *last_frame_seg_map;