Home
last modified time | relevance | path

Searched refs:LZWEncodeState (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlzwenc.c50 typedef struct LZWEncodeState { struct
64 }LZWEncodeState; argument
67 const int ff_lzw_encode_state_size = sizeof(LZWEncodeState);
113 static inline void writeCode(LZWEncodeState * s, int c) in writeCode()
130 static inline int findCode(LZWEncodeState * s, uint8_t c, int hash_prefix) in findCode()
152 static inline void addCode(LZWEncodeState * s, uint8_t c, int hash_prefix, int hash_code) in addCode()
168 static void clearTable(LZWEncodeState * s) in clearTable()
191 static int writtenBytes(LZWEncodeState *s){ in writtenBytes()
205 void ff_lzw_encode_init(LZWEncodeState *s, uint8_t *outbuf, int outsize, in ff_lzw_encode_init()
229 int ff_lzw_encode(LZWEncodeState * s, const uint8_t * inbuf, int insize) in ff_lzw_encode()
[all …]
Dlzw.h53 struct LZWEncodeState;
56 void ff_lzw_encode_init(struct LZWEncodeState *s, uint8_t *outbuf, int outsize,
58 int ff_lzw_encode(struct LZWEncodeState * s, const uint8_t * inbuf, int insize);
59 int ff_lzw_encode_flush(struct LZWEncodeState *s);
Dtiffenc.c76 struct LZWEncodeState *lzws; ///< LZW encode state