84 if (instream == 0)
return FALSE;
102 return (EntropyModel*)m;
120 return (EntropyModel*)m;
169 while (n > sym + 1) {
170 U32 k = (sym + n) >> 1;
194 }
while ((k = (sym + n) >> 1) != sym);
220 assert(bits && (bits <= 32));
245 assert(sym < (1<<8));
257 assert(sym < (1<<16));
266 return (upperInt<<16)|lowerInt;
273 return u32i32f32.
f32;
280 return (upperInt<<32)|lowerInt;
287 return u64i64f64.
f64;
BOOL init(ByteStreamIn *instream)
const U32 BM__LengthShift
void destroySymbolModel(EntropyModel *model)
void initSymbolModel(EntropyModel *model, U32 *table=0)
EntropyModel * createSymbolModel(U32 n)
void renorm_dec_interval()
void destroyBitModel(EntropyModel *model)
EntropyModel * createBitModel()
void initBitModel(EntropyModel *model)
U32 decodeSymbol(EntropyModel *model)
U32 decodeBit(EntropyModel *model)
const U32 DM__LengthShift