summaryrefslogtreecommitdiff
path: root/vp8/common/onyxc_int.h
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2012-02-03 13:46:18 +0000
committerPaul Wilkins <paulwilkins@google.com>2012-02-06 16:34:41 +0000
commit58ec6fe8c399c3f21e8e0ba368a80270581b2aa6 (patch)
treeb1892cba39dd99eff8618bafc34ceb4fbc64eb3d /vp8/common/onyxc_int.h
parentf0459549a60b1df09220f2abf6afefabb81b40a3 (diff)
downloadlibvpx-58ec6fe8c399c3f21e8e0ba368a80270581b2aa6.tar
libvpx-58ec6fe8c399c3f21e8e0ba368a80270581b2aa6.tar.gz
libvpx-58ec6fe8c399c3f21e8e0ba368a80270581b2aa6.tar.bz2
libvpx-58ec6fe8c399c3f21e8e0ba368a80270581b2aa6.zip
Modified prediction behavior for reference frame.
Trial of a modified prediction function that ranks each possible reference frame based on a combination of local usage and frame level probability. The code is a bit cleaner and simpler. In direct comparison with old unpredicted method with segment level coding turned off for mode,ref & EOB the prediction gives a gain on derf of around 0.4%. There is some further gain from bug fixes over earlier code. With segment coding on the prediction method is slightly -ve on some very easy clips (at low rates) due to slightly higher overheads, but better on harder clips. Overall neutral on derf in direct comparison on latest code base, but compared to earlier code without bug fixes about +0.7% overall psnr +0.3% SSIM. Change-Id: I5b8474658b208134d352d24f6517f25795490789
Diffstat (limited to 'vp8/common/onyxc_int.h')
-rw-r--r--vp8/common/onyxc_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp8/common/onyxc_int.h b/vp8/common/onyxc_int.h
index fd6a55801..a86635a7c 100644
--- a/vp8/common/onyxc_int.h
+++ b/vp8/common/onyxc_int.h
@@ -236,6 +236,7 @@ typedef struct VP8Common
#if CONFIG_COMPRED
// Context probabilities for reference frame prediction
+ unsigned char ref_scores[MAX_REF_FRAMES];
vp8_prob ref_pred_probs[PREDICTION_PROBS];
vp8_prob mod_refprobs[MAX_REF_FRAMES][PREDICTION_PROBS];
#endif