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

Function ff_init_range_encoder

libavcodec/rangecoder.c:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41void ff_init_range_encoder(RangeCoder *c, uint8_t *buf, int buf_size){
42 c->bytestream_start=
43 c->bytestream= buf;
44 c->bytestream_end= buf + buf_size;
45
46 c->low= 0;
47 c->range= 0xFF00;
48 c->outstanding_count= 0;
49 c->outstanding_byte= -1;
50}
51
52void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size){
53 /* cast to avoid compiler warning */

Callers 5

encode_frameFunction · 0.85
encode_frameFunction · 0.85
mainFunction · 0.85
ff_init_range_decoderFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected