From: Yaowu Xu Date: Tue, 16 Nov 2010 18:51:43 +0000 (-0800) Subject: correct errors in token alphabet descriptions X-Git-Tag: v0.9.6~172^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d49da085c04a90d5ea74598fa2c26ac2c5356d71;p=libvpx correct errors in token alphabet descriptions There were a few errors in the comment section that describe VP8 token alphabet table. Change-Id: Ie6728a0e08bc3798893221b60408d5b201064bdc --- diff --git a/vp8/common/entropy.h b/vp8/common/entropy.h index 0685cd0ae..70e2ae675 100644 --- a/vp8/common/entropy.h +++ b/vp8/common/entropy.h @@ -24,10 +24,10 @@ #define FOUR_TOKEN 4 /* 4 Extra Bits 0+1 */ #define DCT_VAL_CATEGORY1 5 /* 5-6 Extra Bits 1+1 */ #define DCT_VAL_CATEGORY2 6 /* 7-10 Extra Bits 2+1 */ -#define DCT_VAL_CATEGORY3 7 /* 11-26 Extra Bits 4+1 */ -#define DCT_VAL_CATEGORY4 8 /* 11-26 Extra Bits 5+1 */ -#define DCT_VAL_CATEGORY5 9 /* 27-58 Extra Bits 5+1 */ -#define DCT_VAL_CATEGORY6 10 /* 59+ Extra Bits 11+1 */ +#define DCT_VAL_CATEGORY3 7 /* 11-18 Extra Bits 3+1 */ +#define DCT_VAL_CATEGORY4 8 /* 19-34 Extra Bits 4+1 */ +#define DCT_VAL_CATEGORY5 9 /* 35-66 Extra Bits 5+1 */ +#define DCT_VAL_CATEGORY6 10 /* 67+ Extra Bits 11+1 */ #define DCT_EOB_TOKEN 11 /* EOB Extra Bits 0+0 */ #define vp8_coef_tokens 12