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

Function read_uncoded_coeff

libavcodec/dstdec.c:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static void read_uncoded_coeff(GetBitContext *gb, int *dst, unsigned int elements,
141 int coeff_bits, int is_signed, int offset)
142{
143 int i;
144
145 for (i = 0; i < elements; i++) {
146 dst[i] = (is_signed ? get_sbits(gb, coeff_bits) : get_bits(gb, coeff_bits)) + offset;
147 }
148}
149
150static int read_table(GetBitContext *gb, Table *t, const int8_t code_pred_coeff[3][3],
151 int length_bits, int coeff_bits, int is_signed, int offset)

Callers 1

read_tableFunction · 0.85

Calls 2

get_sbitsFunction · 0.85
get_bitsFunction · 0.70

Tested by

no test coverage detected