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.cc189 SBC_ENC_PARAMS* p_encoder_params = &a2dp_sbc_encoder_cb.sbc_encoder_params; in a2dp_sbc_encoder_update() local
225 p_encoder_params->s16ChannelMode = A2DP_GetChannelModeCodeSbc(p_codec_info); in a2dp_sbc_encoder_update()
226 p_encoder_params->s16NumOfSubBands = in a2dp_sbc_encoder_update()
228 p_encoder_params->s16NumOfBlocks = A2DP_GetNumberOfBlocksSbc(p_codec_info); in a2dp_sbc_encoder_update()
229 p_encoder_params->s16AllocationMethod = in a2dp_sbc_encoder_update()
231 p_encoder_params->s16SamplingFreq = in a2dp_sbc_encoder_update()
233 p_encoder_params->s16NumOfChannels = in a2dp_sbc_encoder_update()
237 if (!p_encoder_params->s16NumOfSubBands) { in a2dp_sbc_encoder_update()
240 p_encoder_params->s16NumOfSubBands = SBC_MAX_NUM_OF_SUBBANDS; in a2dp_sbc_encoder_update()
242 if (!p_encoder_params->s16NumOfBlocks) { in a2dp_sbc_encoder_update()
[all …]
Da2dp_vendor_ldac_encoder.cc348 tA2DP_LDAC_ENCODER_PARAMS* p_encoder_params = in a2dp_vendor_ldac_encoder_update() local
390 p_encoder_params->sample_rate = in a2dp_vendor_ldac_encoder_update()
392 p_encoder_params->channel_mode = in a2dp_vendor_ldac_encoder_update()
404 int old_quality_mode_index = p_encoder_params->quality_mode_index; in a2dp_vendor_ldac_encoder_update()
406 p_encoder_params->quality_mode_index = codec_config.codec_specific_1 % 10; in a2dp_vendor_ldac_encoder_update()
408 quality_mode_index_to_name(p_encoder_params->quality_mode_index) in a2dp_vendor_ldac_encoder_update()
411 p_encoder_params->quality_mode_index = A2DP_LDAC_QUALITY_ABR; in a2dp_vendor_ldac_encoder_update()
413 quality_mode_index_to_name(p_encoder_params->quality_mode_index) in a2dp_vendor_ldac_encoder_update()
418 if (p_encoder_params->quality_mode_index == A2DP_LDAC_QUALITY_ABR) { in a2dp_vendor_ldac_encoder_update()
420 p_encoder_params->quality_mode_index = A2DP_LDAC_QUALITY_MID; in a2dp_vendor_ldac_encoder_update()
[all …]
Da2dp_aac_encoder.cc182 tA2DP_AAC_ENCODER_PARAMS* p_encoder_params = in a2dp_aac_encoder_update() local
224 p_encoder_params->sample_rate = in a2dp_aac_encoder_update()
226 p_encoder_params->channel_mode = A2DP_GetChannelModeCodeAac(p_codec_info); in a2dp_aac_encoder_update()
254 p_encoder_params->sample_rate, p_encoder_params->channel_mode); in a2dp_aac_encoder_update()
445 p_encoder_params->frame_length = aac_info.frameLength; in a2dp_aac_encoder_update()
446 p_encoder_params->input_channels_n = aac_info.inputChannels; in a2dp_aac_encoder_update()
447 p_encoder_params->max_encoded_buffer_bytes = aac_info.maxOutBufBytes; in a2dp_aac_encoder_update()
451 __func__, p_encoder_params->frame_length, in a2dp_aac_encoder_update()
452 p_encoder_params->input_channels_n, in a2dp_aac_encoder_update()
453 p_encoder_params->max_encoded_buffer_bytes); in a2dp_aac_encoder_update()
[all …]