summaryrefslogtreecommitdiff
path: root/vp8/decoder
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/decoder
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/decoder')
-rw-r--r--vp8/decoder/decodemv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vp8/decoder/decodemv.c b/vp8/decoder/decodemv.c
index 432b339b1..4238e4d18 100644
--- a/vp8/decoder/decodemv.c
+++ b/vp8/decoder/decodemv.c
@@ -292,7 +292,6 @@ static MV_REFERENCE_FRAME read_ref_frame( VP8D_COMP *pbi,
// else decode the explicitly coded value
else
{
- //vp8_prob * mod_refprobs = cm->mod_refprobs[pred_ref];
vp8_prob mod_refprobs[PREDICTION_PROBS];
vpx_memcpy( mod_refprobs,
cm->mod_refprobs[pred_ref], sizeof(mod_refprobs) );