From 8266abfe96cb1b46f537aec66b3dfcf22da2bb1c Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Thu, 9 Feb 2012 15:44:18 +0000 Subject: 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 --- vp8/encoder/onyx_int.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vp8/encoder/onyx_int.h') 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; -- cgit v1.2.3