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

Function ff_init_range_decoder

libavcodec/rangecoder.c:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size){
53 /* cast to avoid compiler warning */
54 ff_init_range_encoder(c, (uint8_t *) buf, buf_size);
55
56 c->low = bytestream_get_be16(&c->bytestream);
57}
58
59void ff_build_rac_states(RangeCoder *c, int factor, int max_p){
60 const int64_t one= 1LL<<32;

Callers 4

decode_frameFunction · 0.85
decode_frameFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

ff_init_range_encoderFunction · 0.85

Tested by

no test coverage detected