MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / writeCode

Function writeCode

libavcodec/lzwenc.c:112–116  ·  view source on GitHub ↗

* Write one code to stream * @param s LZW state * @param c code to write */

Source from the content-addressed store, hash-verified

110 * @param c code to write
111 */
112static inline void writeCode(LZWEncodeState * s, int c)
113{
114 assert(0 <= c && c < 1 << s->bits);
115 s->put_bits(&s->pb, s->bits, c);
116}
117
118
119/**

Callers 3

clearTableFunction · 0.85
ff_lzw_encodeFunction · 0.85
ff_lzw_encode_flushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected