From 1fe85a35e0451434d183da71e4e85796d11ca868 Mon Sep 17 00:00:00 2001 From: Deb Mukherjee Date: Tue, 5 Jun 2012 15:25:07 -0700 Subject: Adaptive entropy coding of coefficients, modes, mv. This patch incorporates adaptive entropy coding of coefficient tokens, and mode/mv information based on distributions encountered in a frame. Specifically, there is an initial forward update to the probabilities in the bitstream as before for coding the symbols in the frame, however at the end of decoding each frame, the forward update to the probabilities is reverted and instead the probabilities are updated towards the actual distributions encountered within the frame. The amount of update is weighted by the number of hits within each context. Results on derf/hd/std-hd are all up by 1.6%. On derf, the most of the gains come from coefficients, however for the hd and std-hd sets, the most of the gains come from the mode/mv information updates. Change-Id: I708c0e11fdacafee04940fe7ae159ba6844005fd --- vp8/common/alloccommon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vp8/common/alloccommon.c') diff --git a/vp8/common/alloccommon.c b/vp8/common/alloccommon.c index 8bab3452f..2830c3e15 100644 --- a/vp8/common/alloccommon.c +++ b/vp8/common/alloccommon.c @@ -15,6 +15,7 @@ #include "onyxc_int.h" #include "findnearmv.h" #include "entropymode.h" +#include "entropymv.h" #include "systemdependent.h" @@ -239,6 +240,8 @@ void vp8_initialize_common() vp8_entropy_mode_init(); + vp8_entropy_mv_init(); + vp8_init_scan_order_mask(); } -- cgit v1.2.3