MCPcopy Create free account
hub / github.com/Tencent/libpag / VP8LSetEndOfStream

Function VP8LSetEndOfStream

src/codec/utils/WebpDecoder.cpp:316–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316static void VP8LSetEndOfStream(VP8LBitReader* const br) {
317 br->eos_ = 1;
318 br->bit_pos_ = 0; // To avoid undefined behaviour with shifts.
319}
320
321// If not at EOS, reload up to VP8L_LBITS byte-by-byte
322static void ShiftBytes(VP8LBitReader* const br) {

Callers 2

ShiftBytesFunction · 0.85
VP8LReadBitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected