Lines Matching refs:p_result
123 uint8_t* p_result) { in A2DP_BuildInfoSbc() argument
124 if (p_ie == NULL || p_result == NULL || in A2DP_BuildInfoSbc()
139 *p_result++ = A2DP_SBC_INFO_LEN; in A2DP_BuildInfoSbc()
140 *p_result++ = (media_type << 4); in A2DP_BuildInfoSbc()
141 *p_result++ = A2DP_MEDIA_CT_SBC; in A2DP_BuildInfoSbc()
144 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2DP_BuildInfoSbc()
146 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_method; in A2DP_BuildInfoSbc()
148 *p_result++ = p_ie->min_bitpool; in A2DP_BuildInfoSbc()
149 *p_result = p_ie->max_bitpool; in A2DP_BuildInfoSbc()
918 static bool select_best_sample_rate(uint8_t samp_freq, tA2DP_SBC_CIE* p_result, in select_best_sample_rate() argument
921 p_result->samp_freq = A2DP_SBC_IE_SAMP_FREQ_48; in select_best_sample_rate()
926 p_result->samp_freq = A2DP_SBC_IE_SAMP_FREQ_44; in select_best_sample_rate()
941 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() argument
945 p_result->samp_freq = A2DP_SBC_IE_SAMP_FREQ_44; in select_audio_sample_rate()
952 p_result->samp_freq = A2DP_SBC_IE_SAMP_FREQ_48; in select_audio_sample_rate()
1006 static bool select_best_channel_mode(uint8_t ch_mode, tA2DP_SBC_CIE* p_result, in select_best_channel_mode() argument
1009 p_result->ch_mode = A2DP_SBC_IE_CH_MD_JOINT; in select_best_channel_mode()
1014 p_result->ch_mode = A2DP_SBC_IE_CH_MD_STEREO; in select_best_channel_mode()
1019 p_result->ch_mode = A2DP_SBC_IE_CH_MD_DUAL; in select_best_channel_mode()
1024 p_result->ch_mode = A2DP_SBC_IE_CH_MD_MONO; in select_best_channel_mode()
1039 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() argument
1043 p_result->ch_mode = A2DP_SBC_IE_CH_MD_MONO; in select_audio_channel_mode()
1050 p_result->ch_mode = A2DP_SBC_IE_CH_MD_JOINT; in select_audio_channel_mode()
1055 p_result->ch_mode = A2DP_SBC_IE_CH_MD_STEREO; in select_audio_channel_mode()
1060 p_result->ch_mode = A2DP_SBC_IE_CH_MD_DUAL; in select_audio_channel_mode()