Home
last modified time | relevance | path

Searched refs:quality_mode_index (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_ldac_encoder.cc63 int quality_mode_index; member
126 static std::string quality_mode_index_to_name(int quality_mode_index);
222 int old_quality_mode_index = p_encoder_params->quality_mode_index; in a2dp_vendor_ldac_encoder_update()
224 p_encoder_params->quality_mode_index = codec_config.codec_specific_1 % 10; in a2dp_vendor_ldac_encoder_update()
226 quality_mode_index_to_name(p_encoder_params->quality_mode_index)); in a2dp_vendor_ldac_encoder_update()
228 p_encoder_params->quality_mode_index = A2DP_LDAC_QUALITY_ABR; in a2dp_vendor_ldac_encoder_update()
230 quality_mode_index_to_name(p_encoder_params->quality_mode_index)); in a2dp_vendor_ldac_encoder_update()
234 if (p_encoder_params->quality_mode_index == A2DP_LDAC_QUALITY_ABR) { in a2dp_vendor_ldac_encoder_update()
236 p_encoder_params->quality_mode_index = A2DP_LDAC_QUALITY_MID; in a2dp_vendor_ldac_encoder_update()
239 quality_mode_index_to_name(p_encoder_params->quality_mode_index)); in a2dp_vendor_ldac_encoder_update()
[all …]
Da2dp_vendor_opus_encoder.cc42 uint8_t quality_mode_index; member
246 p_encoder_params->quality_mode_index = codec_config.codec_specific_3 % 10; in a2dp_vendor_opus_encoder_update()
248 p_encoder_params->quality_mode_index); in a2dp_vendor_opus_encoder_update()
250 p_encoder_params->quality_mode_index = 5; in a2dp_vendor_opus_encoder_update()
252 p_encoder_params->quality_mode_index); in a2dp_vendor_opus_encoder_update()
257 OPUS_SET_COMPLEXITY(p_encoder_params->quality_mode_index)); in a2dp_vendor_opus_encoder_update()