comparison ac3tab.h @ 3668:34d76180e5d0 libavcodec

Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. The other fixes an issue with floorcod=7.
author jbr
date Sun, 03 Sep 2006 15:59:08 +0000
parents 894ef0dba687
children c537a97eec66
comparison
equal deleted inserted replaced
3667:56e60411527c 3668:34d76180e5d0
158 158
159 static const uint16_t dbkneetab[4]= { 159 static const uint16_t dbkneetab[4]= {
160 0x000, 0x700, 0x900, 0xb00, 160 0x000, 0x700, 0x900, 0xb00,
161 }; 161 };
162 162
163 static const uint16_t floortab[8]= { 163 static const int16_t floortab[8]= {
164 0x2f0, 0x2b0, 0x270, 0x230, 0x1f0, 0x170, 0x0f0, 0xf800, 164 0x2f0, 0x2b0, 0x270, 0x230, 0x1f0, 0x170, 0x0f0, 0xf800,
165 }; 165 };
166 166
167 static const uint16_t fgaintab[8]= { 167 static const uint16_t fgaintab[8]= {
168 0x080, 0x100, 0x180, 0x200, 0x280, 0x300, 0x380, 0x400, 168 0x080, 0x100, 0x180, 0x200, 0x280, 0x300, 0x380, 0x400,