30 #ifndef ENTROPY_ENCODER_H 31 #define ENTROPY_ENCODER_H 47 virtual void done() = 0;
virtual void encodeSymbol(EntropyModel *model, U32 sym)=0
virtual BOOL init(ByteStreamOut *outstream)=0
virtual void destroyBitModel(EntropyModel *model)=0
virtual ~EntropyEncoder()
virtual void writeInt64(U64 sym)=0
virtual void destroySymbolModel(EntropyModel *model)=0
virtual void writeDouble(F64 sym)=0
virtual EntropyModel * createBitModel()=0
virtual void encodeBit(EntropyModel *model, U32 bit)=0
virtual void writeInt(U32 sym)=0
virtual EntropyModel * createSymbolModel(U32 n)=0
virtual void writeShort(U16 sym)=0
virtual void writeFloat(F32 sym)=0
virtual void writeByte(U8 sym)=0
virtual void initBitModel(EntropyModel *model)=0
virtual void writeBits(U32 bits, U32 sym)=0
virtual void initSymbolModel(EntropyModel *model, U32 *init=0)=0
virtual void writeBit(U32 sym)=0