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

Function read_bits2

libavcodec/gdv.c:180–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static int read_bits2(Bits8 *bits, GetByteContext *gb)
181{
182 int res;
183
184 if (bits->fill == 0) {
185 bits->queue |= bytestream2_get_byte(gb);
186 bits->fill = 8;
187 }
188 res = bits->queue >> 6;
189 bits->queue <<= 2;
190 bits->fill -= 2;
191
192 return res;
193}
194
195static void fill_bits32(Bits32 *bits, GetByteContext *gb)
196{

Callers 2

decompress_2Function · 0.85
decompress_5Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected