Lines Matching refs:decoded
62 int32_t *decoded[TAK_MAX_CHANNELS]; ///< decoded samples for each channel member
255 static int decode_segment(TAKDecContext *s, int8_t mode, int32_t *decoded, int len) in decode_segment() argument
262 memset(decoded, 0, len * sizeof(*decoded)); in decode_segment()
293 decoded[i] = (x >> 1) ^ -(x & 1); in decode_segment()
299 static int decode_residues(TAKDecContext *s, int32_t *decoded, int length) in decode_residues() argument
365 if ((ret = decode_segment(s, mode, decoded, len)) < 0) in decode_residues()
367 decoded += len; in decode_residues()
371 if ((ret = decode_segment(s, mode, decoded, length)) < 0) in decode_residues()
386 static int decode_subframe(TAKDecContext *s, int32_t *decoded, in decode_subframe() argument
395 return decode_residues(s, decoded, subframe_size); in decode_subframe()
403 decoded -= filter_order; in decode_subframe()
418 if ((ret = decode_residues(s, decoded, filter_order)) < 0) in decode_subframe()
422 decode_lpc(decoded, lpc_mode, filter_order); in decode_subframe()
471 if ((ret = decode_residues(s, &decoded[filter_order], in decode_subframe()
476 s->residues[i] = *decoded++ >> dshift; in decode_subframe()
495 v = (av_clip_intp2(v >> filter_quant, 13) * (1 << dshift)) - (unsigned)*decoded; in decode_subframe()
496 *decoded++ = v; in decode_subframe()
514 int32_t *decoded = s->decoded[chan]; in decode_channel() local
522 *decoded++ = get_sbits(gb, avctx->bits_per_raw_sample - s->sample_shift[chan]); in decode_channel()
548 if ((ret = decode_subframe(s, decoded, s->subframe_len[i], prev)) < 0) in decode_channel()
550 decoded += s->subframe_len[i]; in decode_channel()
560 int32_t *p1 = s->decoded[c1] + (s->dmode > 5); in decorrelate()
561 int32_t *p2 = s->decoded[c2] + (s->dmode > 5); in decorrelate()
758 ret = av_samples_fill_arrays((uint8_t **)s->decoded, NULL, in tak_decode_frame()
765 s->decoded[chan] = (int32_t *)frame->extended_data[chan]; in tak_decode_frame()
770 int32_t *decoded = s->decoded[chan]; in tak_decode_frame() local
772 decoded[i] = get_sbits(gb, avctx->bits_per_raw_sample); in tak_decode_frame()
859 int32_t *decoded = s->decoded[chan]; in tak_decode_frame() local
862 decode_lpc(decoded, s->lpc_mode[chan], s->nb_samples); in tak_decode_frame()
866 decoded[i] *= 1U << s->sample_shift[chan]; in tak_decode_frame()
891 int32_t *decoded = s->decoded[chan]; in tak_decode_frame() local
893 samples[i] = decoded[i] + 0x80U; in tak_decode_frame()
899 int32_t *decoded = s->decoded[chan]; in tak_decode_frame() local
901 samples[i] = decoded[i]; in tak_decode_frame()