Searched refs:bit_depth (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/system/stack/mmc/codec_server/ |
D | a2dp_aac_mmc_encoder.cc | 151 const int bit_depth = param_.bit_depth(); in transcode() local 152 const int bytes_per_sample = bit_depth / 8; in transcode() 153 const float scaling_factor = (float)1 / (1 << (bit_depth - 1)); in transcode() 180 *data[i & 1]++ = read_pcm(buff, bit_depth) * scaling_factor; in transcode()
|
/packages/modules/Bluetooth/system/audio/asrc/ |
D | asrc_resampler.cc | 325 Resampler(int bit_depth) in Resampler() argument 331 pcm_min_(-(int32_t(1) << (bit_depth - 1))), 332 pcm_max_((int32_t(1) << (bit_depth - 1)) - 1) {} 433 int bit_depth, int interval_us, int num_burst_buffers, int burst_delay_ms) in SourceAudioHalAsrc() argument 435 bit_depth_(bit_depth), in SourceAudioHalAsrc() 451 !check_bounds(bit_depth, 8, 32) || 458 channels, sample_rate, bit_depth, interval_us, num_burst_buffers,
|
D | asrc_resampler.h | 42 int sample_rate, int bit_depth, int interval_us,
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_aac_encoder_linux.cc | 50 int bit_depth, int effective_frame_size) { in prepare_context() argument 58 param.set_bit_depth(bit_depth); in prepare_context()
|
/packages/modules/Bluetooth/system/stack/mmc/proto/ |
D | mmc_config.proto | 94 int32 bit_depth = 4; field
|