Home
last modified time | relevance | path

Searched refs:p_encoder_params (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_sbc_encoder.cc190 SBC_ENC_PARAMS* p_encoder_params = &a2dp_sbc_encoder_cb.sbc_encoder_params; in a2dp_sbc_encoder_update() local
226 p_encoder_params->s16ChannelMode = A2DP_GetChannelModeCodeSbc(p_codec_info); in a2dp_sbc_encoder_update()
227 p_encoder_params->s16NumOfSubBands = in a2dp_sbc_encoder_update()
229 p_encoder_params->s16NumOfBlocks = A2DP_GetNumberOfBlocksSbc(p_codec_info); in a2dp_sbc_encoder_update()
230 p_encoder_params->s16AllocationMethod = in a2dp_sbc_encoder_update()
232 p_encoder_params->s16SamplingFreq = in a2dp_sbc_encoder_update()
234 p_encoder_params->s16NumOfChannels = in a2dp_sbc_encoder_update()
238 if (!p_encoder_params->s16NumOfSubBands) { in a2dp_sbc_encoder_update()
241 p_encoder_params->s16NumOfSubBands = SBC_MAX_NUM_OF_SUBBANDS; in a2dp_sbc_encoder_update()
243 if (!p_encoder_params->s16NumOfBlocks) { in a2dp_sbc_encoder_update()
[all …]
Da2dp_vendor_ldac_encoder.cc347 tA2DP_LDAC_ENCODER_PARAMS* p_encoder_params = in a2dp_vendor_ldac_encoder_update() local
389 p_encoder_params->sample_rate = in a2dp_vendor_ldac_encoder_update()
391 p_encoder_params->channel_mode = in a2dp_vendor_ldac_encoder_update()
403 int old_quality_mode_index = p_encoder_params->quality_mode_index; in a2dp_vendor_ldac_encoder_update()
405 p_encoder_params->quality_mode_index = codec_config.codec_specific_1 % 10; in a2dp_vendor_ldac_encoder_update()
407 quality_mode_index_to_name(p_encoder_params->quality_mode_index) in a2dp_vendor_ldac_encoder_update()
410 p_encoder_params->quality_mode_index = A2DP_LDAC_QUALITY_ABR; in a2dp_vendor_ldac_encoder_update()
412 quality_mode_index_to_name(p_encoder_params->quality_mode_index) in a2dp_vendor_ldac_encoder_update()
417 if (p_encoder_params->quality_mode_index == A2DP_LDAC_QUALITY_ABR) { in a2dp_vendor_ldac_encoder_update()
419 p_encoder_params->quality_mode_index = A2DP_LDAC_QUALITY_MID; in a2dp_vendor_ldac_encoder_update()
[all …]
Da2dp_aac_encoder.cc185 tA2DP_AAC_ENCODER_PARAMS* p_encoder_params = in a2dp_aac_encoder_update() local
226 p_encoder_params->sample_rate = in a2dp_aac_encoder_update()
228 p_encoder_params->channel_mode = A2DP_GetChannelModeCodeAac(p_codec_info); in a2dp_aac_encoder_update()
255 p_encoder_params->sample_rate, p_encoder_params->channel_mode); in a2dp_aac_encoder_update()
466 p_encoder_params->frame_length = aac_info.frameLength; in a2dp_aac_encoder_update()
467 p_encoder_params->input_channels_n = aac_info.inputChannels; in a2dp_aac_encoder_update()
468 p_encoder_params->max_encoded_buffer_bytes = aac_info.maxOutBufBytes; in a2dp_aac_encoder_update()
472 __func__, p_encoder_params->frame_length, in a2dp_aac_encoder_update()
473 p_encoder_params->input_channels_n, in a2dp_aac_encoder_update()
474 p_encoder_params->max_encoded_buffer_bytes); in a2dp_aac_encoder_update()
[all …]