Lines Matching refs:qu_wordlen
165 chan->qu_wordlen[i] += weights_tab[i]; in add_wordlen_weights()
166 if (chan->qu_wordlen[i] < 0 || chan->qu_wordlen[i] > 7) { in add_wordlen_weights()
169 i, chan->qu_wordlen[i]); in add_wordlen_weights()
254 chan->qu_wordlen[i] = get_bits(gb, 3); in decode_channel_wordlen()
266 chan->qu_wordlen[i] = (ref_chan->qu_wordlen[i] + delta) & 7; in decode_channel_wordlen()
286 chan->qu_wordlen[i] = get_bits(gb, 3); in decode_channel_wordlen()
289 chan->qu_wordlen[i] = (min_val + get_bitsz(gb, delta_bits)) & 7; in decode_channel_wordlen()
300 chan->qu_wordlen[0] = (ref_chan->qu_wordlen[0] + delta) & 7; in decode_channel_wordlen()
303 diff = ref_chan->qu_wordlen[i] - ref_chan->qu_wordlen[i - 1]; in decode_channel_wordlen()
305 chan->qu_wordlen[i] = (chan->qu_wordlen[i - 1] + diff + delta) & 7; in decode_channel_wordlen()
314 chan->qu_wordlen, chan->num_coded_vals); in decode_channel_wordlen()
319 chan->qu_wordlen[i] = (chan->qu_wordlen[i] + delta) & 7; in decode_channel_wordlen()
324 chan->qu_wordlen[i] = (chan->qu_wordlen[i] + in decode_channel_wordlen()
327 chan->qu_wordlen[i + 1] = (chan->qu_wordlen[i + 1] + in decode_channel_wordlen()
333 chan->qu_wordlen[i] = (chan->qu_wordlen[i] + in decode_channel_wordlen()
348 chan->qu_wordlen[0] = get_bits(gb, 3); in decode_channel_wordlen()
352 chan->qu_wordlen[i] = (chan->qu_wordlen[i - 1] + delta) & 7; in decode_channel_wordlen()
360 chan->qu_wordlen[i] = ch_num ? get_bits1(gb) : 1; in decode_channel_wordlen()
364 if (pos > FF_ARRAY_ELEMS(chan->qu_wordlen)) { in decode_channel_wordlen()
366 pos = FF_ARRAY_ELEMS(chan->qu_wordlen); in decode_channel_wordlen()
369 chan->qu_wordlen[i] = 1; in decode_channel_wordlen()
528 memset(ctx->channels[ch_num].qu_wordlen, 0, in decode_quant_wordlen()
529 sizeof(ctx->channels[ch_num].qu_wordlen)); in decode_quant_wordlen()
538 if (ctx->channels[0].qu_wordlen[i] || in decode_quant_wordlen()
539 (num_channels == 2 && ctx->channels[1].qu_wordlen[i])) in decode_quant_wordlen()
605 if (chan->qu_wordlen[i]) { \
607 } else if (ch_num && ref_chan->qu_wordlen[i]) \
779 wordlen = chan->qu_wordlen[qu]; in decode_spectrum()
791 } else if (ch_num && ctx->channels[0].qu_wordlen[qu] && !codetab) { in decode_spectrum()
797 chan->qu_wordlen[qu] = ctx->channels[0].qu_wordlen[qu]; in decode_spectrum()