summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_int.h
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2012-02-09 15:44:18 +0000
committerPaul Wilkins <paulwilkins@google.com>2012-02-09 15:44:18 +0000
commit8266abfe96cb1b46f537aec66b3dfcf22da2bb1c (patch)
treea8d374f99b871026419380b1b76fade8122d0943 /vp8/encoder/onyx_int.h
parent59a200f1ea73d2327746fff3d35a05aec10e436f (diff)
downloadlibvpx-8266abfe96cb1b46f537aec66b3dfcf22da2bb1c.tar
libvpx-8266abfe96cb1b46f537aec66b3dfcf22da2bb1c.tar.gz
libvpx-8266abfe96cb1b46f537aec66b3dfcf22da2bb1c.tar.bz2
libvpx-8266abfe96cb1b46f537aec66b3dfcf22da2bb1c.zip
Dual pred flag
Further changes to make experiments with the context used for coding the dual pred flag easier. Current best performing method tested on derf is a two element context based on reference frame. I also tried various combinations of mode and reference frame as shown in commented out case using up to 6 contexts. Derf +0.26 overall psnr +0.15% ssim vs original method. Change-Id: I64c21ddec0abbb27feaaeaa1da2e9f164ebaca03
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r--vp8/encoder/onyx_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h
index 892d514eb..ad5592fc1 100644
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -365,7 +365,8 @@ typedef struct VP8_COMP
#if CONFIG_DUALPRED
int rd_single_diff, rd_dual_diff, rd_hybrid_diff;
int rd_prediction_type_threshes[4][NB_PREDICTION_TYPES];
- int dual_pred_count[3], single_pred_count[3];
+ int dual_pred_count[DUAL_PRED_CONTEXTS];
+ int single_pred_count[DUAL_PRED_CONTEXTS];
#endif /* CONFIG_DUALPRED */
int RDMULT;