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

Function ff_vpx_init_range_decoder

libavcodec/vpx_rac.c:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42int ff_vpx_init_range_decoder(VPXRangeCoder *c, const uint8_t *buf, int buf_size)
43{
44 c->high = 255;
45 c->bits = -16;
46 c->buffer = buf;
47 c->end = buf + buf_size;
48 c->end_reached = 0;
49 if (buf_size < 1)
50 return AVERROR_INVALIDDATA;
51 c->code_word = bytestream_get_be24(&c->buffer);
52 return 0;
53}

Callers 8

setup_partitionsFunction · 0.85
vp7_decode_frame_headerFunction · 0.85
vp8_decode_frame_headerFunction · 0.85
vp5_parse_headerFunction · 0.85
vp6_parse_headerFunction · 0.85
decode_frame_headerFunction · 0.85
decode_tilesFunction · 0.85
vp9_decode_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected