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

Function arith2_init

libavcodec/mss2.c:150–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150static void arith2_init(ArithCoder *c, GetByteContext *gB)
151{
152 c->low = 0;
153 c->high = 0xFFFFFF;
154 c->value = bytestream2_get_be24(gB);
155 c->overread = 0;
156 c->gbc.gB = gB;
157 c->get_model_sym = arith2_get_model_sym;
158 c->get_number = arith2_get_number;
159}
160
161static int decode_pal_v2(MSS12Context *ctx, const uint8_t *buf, int buf_size)
162{

Callers 1

mss2_decode_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected