Home
last modified time | relevance | path

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

/hardware/broadcom/libbt/src/
Dbt_vendor_brcm_a2dp.c235 static tA2D_STATUS bcrm_vnd_a2dp_parse_codec_info(tCODEC_INFO_SBC *parsed_info, uint8_t *codec_info) in bcrm_vnd_a2dp_parse_codec_info() argument
243 if( parsed_info == NULL || codec_info == NULL) in bcrm_vnd_a2dp_parse_codec_info()
255 parsed_info->sampling_freq = *codec_info & A2D_SBC_IE_SAMP_FREQ_MSK; in bcrm_vnd_a2dp_parse_codec_info()
256 parsed_info->channel_mode = *codec_info & A2D_SBC_IE_CH_MD_MSK; in bcrm_vnd_a2dp_parse_codec_info()
258 parsed_info->block_length = *codec_info & A2D_SBC_IE_BLOCKS_MSK; in bcrm_vnd_a2dp_parse_codec_info()
259 parsed_info->num_subbands = *codec_info & A2D_SBC_IE_SUBBAND_MSK; in bcrm_vnd_a2dp_parse_codec_info()
260 parsed_info->alloc_method = *codec_info & A2D_SBC_IE_ALLOC_MD_MSK; in bcrm_vnd_a2dp_parse_codec_info()
262 parsed_info->bitpool_size = (*codec_info > BRCM_A2DP_OFFLOAD_MAX_BITPOOL) ? in bcrm_vnd_a2dp_parse_codec_info()
265 if(MULTI_BIT_SET(parsed_info->sampling_freq)) in bcrm_vnd_a2dp_parse_codec_info()
267 if(MULTI_BIT_SET(parsed_info->channel_mode)) in bcrm_vnd_a2dp_parse_codec_info()
[all …]