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

Function ff_init_range_encoder

libavcodec/rangecoder.c:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40#include "rangecoder.h"
41
42av_cold void ff_init_range_encoder(RangeCoder *c, uint8_t *buf, int buf_size)
43{
44 c->bytestream_start =
45 c->bytestream = buf;
46 c->bytestream_end = buf + buf_size;
47 c->low = 0;
48 c->range = 0xFF00;
49 c->outstanding_count = 0;
50 c->outstanding_byte = -1;
51}
52
53av_cold void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf,
54 int buf_size)

Callers 6

encode_frameFunction · 0.85
sonic_encode_frameFunction · 0.85
ff_ffv1_write_extradataFunction · 0.85
encode_frameFunction · 0.85
ff_init_range_decoderFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68