From c6f1bf43210f93dafbae4a2744cadd6f18924255 Mon Sep 17 00:00:00 2001 From: Deb Mukherjee Date: Thu, 12 Apr 2012 09:24:03 -0700 Subject: Differential encoding of probability updates Adds differential encoding of prob updates using a subexponential code centered around the previous probability value. Also searches for the most cost-effective update, and breaks up the coefficient updates into smaller groups. Small gain on Derf: 0.2% Change-Id: Ie0071e3dc113e3d0d7ab95b6442bb07a89970030 --- vp8/encoder/boolhuff.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vp8/encoder/boolhuff.h') diff --git a/vp8/encoder/boolhuff.h b/vp8/encoder/boolhuff.h index 04755f532..1fb3cfadf 100644 --- a/vp8/encoder/boolhuff.h +++ b/vp8/encoder/boolhuff.h @@ -41,6 +41,13 @@ extern void vp8_encode_value(BOOL_CODER *br, int data, int bits); extern void vp8_stop_encode(BOOL_CODER *bc); extern const unsigned int vp8_prob_cost[256]; +#if CONFIG_NEWENTROPY +extern void vp8_encode_uniform(BOOL_CODER *bc, int v, int n); +extern void vp8_encode_term_subexp(BOOL_CODER *bc, int v, int k, int n); +extern int vp8_count_uniform(int v, int n); +extern int vp8_count_term_subexp(int v, int k, int n); +extern int recenter_nonneg(int v, int m); +#endif DECLARE_ALIGNED(16, extern const unsigned char, vp8_norm[256]); -- cgit v1.2.3