Lines Matching refs:sample_buffer
133 int32_t *sample_buffer; ///< Pointer to current access unit samples. member
954 int32_t *sample_buffer = ctx->write_buffer; in write_block_data() local
979 int32_t sample = *sample_buffer++ >> dp->quant_step_size[ch]; in write_block_data()
990 sample_buffer += 2; /* noise channels */ in write_block_data()
993 ctx->write_buffer = sample_buffer; in write_block_data()
1175 int32_t *sample_buffer = ctx->inout_buffer; in input_data_internal() local
1193 *sample_buffer++ = sample; in input_data_internal()
1196 sample_buffer += 2; /* noise channels */ in input_data_internal()
1212 int32_t *sample_buffer = ctx->sample_buffer; in input_to_sample_buffer() local
1220 *sample_buffer++ = *input_buffer++; in input_to_sample_buffer()
1221 sample_buffer += 2; /* noise_channels */ in input_to_sample_buffer()
1252 int32_t *sample_buffer = ctx->sample_buffer; in determine_quant_step_size() local
1259 sample_mask[channel] |= *sample_buffer++; in determine_quant_step_size()
1261 sample_buffer += 2; /* noise channels */ in determine_quant_step_size()
1316 int32_t *sample_buffer = ctx->sample_buffer + channel; in set_filter_params() local
1324 *lpc_samples++ = *sample_buffer; in set_filter_params()
1325 sample_buffer += ctx->num_channels; in set_filter_params()
1368 int32_t *right_ch = ctx->sample_buffer + 1; in estimate_stereo_mode()
1369 int32_t *left_ch = ctx->sample_buffer; in estimate_stereo_mode()
1550 int32_t *sample_buffer = ctx->sample_buffer + channel; in codebook_bits_offset() local
1576 int32_t sample = *sample_buffer >> dp->quant_step_size[channel]; in codebook_bits_offset()
1593 sample_buffer += ctx->num_channels; in codebook_bits_offset()
1653 int32_t *sample_buffer = ctx->sample_buffer + channel; in determine_bits() local
1661 int32_t sample = *sample_buffer >> dp->quant_step_size[channel]; in determine_bits()
1667 sample_buffer += ctx->num_channels; in determine_bits()
1721 int32_t *sample_buffer = ctx->sample_buffer + channel; in apply_filter() local
1727 ctx->filter_state_buffer[FIR][i] = *sample_buffer; in apply_filter()
1728 ctx->filter_state_buffer[IIR][i] = *sample_buffer; in apply_filter()
1730 sample_buffer += ctx->num_channels; in apply_filter()
1734 int32_t sample = *sample_buffer; in apply_filter()
1756 sample_buffer += ctx->num_channels; in apply_filter()
1759 sample_buffer = ctx->sample_buffer + channel; in apply_filter()
1761 *sample_buffer = ctx->filter_state_buffer[IIR][i]; in apply_filter()
1763 sample_buffer += ctx->num_channels; in apply_filter()
1787 int32_t *sample_buffer = ctx->sample_buffer + ctx->num_channels - 2; in generate_2_noise_channels() local
1793 *sample_buffer++ = ((int8_t)(seed >> 15)) * (1 << rh->noise_shift); in generate_2_noise_channels()
1794 *sample_buffer++ = ((int8_t) seed_shr7) * (1 << rh->noise_shift); in generate_2_noise_channels()
1798 sample_buffer += ctx->num_channels - 2; in generate_2_noise_channels()
1809 int32_t *sample_buffer = ctx->sample_buffer; in rematrix_channels() local
1817 sample_buffer = ctx->sample_buffer; in rematrix_channels()
1822 int32_t sample = *(sample_buffer + src_ch); in rematrix_channels()
1825 sample_buffer[outch] = (accum >> 14) & mask; in rematrix_channels()
1827 sample_buffer += ctx->num_channels; in rematrix_channels()
2039 ctx->sample_buffer += ctx->cur_decoding_params->blocksize * ctx->num_channels; in analyze_sample_buffer()
2047 ctx->sample_buffer = ctx->major_inout_buffer; in process_major_frame()
2096 ctx->sample_buffer = ctx->major_scratch_buffer in mlp_encode_frame()
2116 ctx->write_buffer = ctx->sample_buffer; in mlp_encode_frame()
2139 ctx->sample_buffer = ctx->major_scratch_buffer; in mlp_encode_frame()