Searched refs:sample_shift (Results 1 – 2 of 2) sorted by relevance
65 … int8_t sample_shift[TAK_MAX_CHANNELS]; ///< shift applied to every sample in the channel member518 s->sample_shift[chan] = get_bits_esc4(gb); in decode_channel()519 if (s->sample_shift[chan] >= avctx->bits_per_raw_sample) in decode_channel()522 *decoded++ = get_sbits(gb, avctx->bits_per_raw_sample - s->sample_shift[chan]); in decode_channel()864 if (s->sample_shift[chan] > 0) in tak_decode_frame()866 decoded[i] *= 1U << s->sample_shift[chan]; in tak_decode_frame()
59 …int sample_shift; ///< shift required to make output samples 16-bit or 32-bit member85 s->sample_shift = 32 - s->flac_stream_info.bps; in flac_set_bps()91 s->sample_shift = 16 - s->flac_stream_info.bps; in flac_set_bps()626 s->blocksize, s->sample_shift); in flac_decode_frame()