Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_a2dp_audio_interface.cc127 a2dp_offload.codec_info[0]; in btif_a2dp_get_codec_configuration()
129 a2dp_offload.codec_info[0]); in btif_a2dp_get_codec_configuration()
131 a2dp_offload.codec_info[1]; in btif_a2dp_get_codec_configuration()
133 a2dp_offload.codec_info[2]; in btif_a2dp_get_codec_configuration()
155 a2dp_offload.codec_info[6]; in btif_a2dp_get_codec_configuration()
209 CodecConfiguration codec_info; in btif_a2dp_audio_interface_start_session() local
210 btif_a2dp_get_codec_configuration(&codec_info); in btif_a2dp_audio_interface_start_session()
212 btAudio->startSession(host_if, codec_info); in btif_a2dp_audio_interface_start_session()
Dbtif_a2dp_sink.cc67 uint8_t codec_info[AVDT_CODEC_SIZE]; member
352 memcpy(p_buf->codec_info, p_codec_info, AVDT_CODEC_SIZE); in btif_a2dp_sink_update_decoder()
518 p_buf->codec_info[1], p_buf->codec_info[2], in btif_a2dp_sink_decoder_update_event()
519 p_buf->codec_info[3], p_buf->codec_info[4], in btif_a2dp_sink_decoder_update_event()
520 p_buf->codec_info[5], p_buf->codec_info[6]); in btif_a2dp_sink_decoder_update_event()
522 int sample_rate = A2DP_GetTrackSampleRate(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event()
527 int channel_count = A2DP_GetTrackChannelCount(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event()
532 int channel_type = A2DP_GetSinkTrackChannelType(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event()
Dbtif_av.cc2504 btif_a2dp_sink_update_decoder((uint8_t*)(p_data->avk_config.codec_info)); in bta_av_sink_media_callback()
2507 A2DP_GetTrackSampleRate(p_data->avk_config.codec_info); in bta_av_sink_media_callback()
2513 A2DP_GetTrackChannelCount(p_data->avk_config.codec_info); in bta_av_sink_media_callback()
/system/bt/bta/av/
Dbta_av_aact.cc231 A2DP_CodecTypeEquals(p_scb->seps[i].codec_info, in bta_av_get_scb_handle()
232 p_scb->cfg.codec_info)) { in bta_av_get_scb_handle()
603 A2DP_CodecName(p_scb->cfg.codec_info)); in bta_av_adjust_seps_idx()
607 A2DP_CodecName(p_scb->seps[i].codec_info)); in bta_av_adjust_seps_idx()
609 A2DP_CodecTypeEquals(p_scb->seps[i].codec_info, in bta_av_adjust_seps_idx()
610 p_scb->cfg.codec_info)) { in bta_av_adjust_seps_idx()
984 A2DP_CodecInfoString(p_evt_cfg->codec_info).c_str()); in bta_av_config_ind()
986 memcpy(p_scb->cfg.codec_info, p_evt_cfg->codec_info, AVDT_CODEC_SIZE); in bta_av_config_ind()
1029 p_evt_cfg->codec_info, p_info->seid, in bta_av_config_ind()
1034 p_evt_cfg->codec_info, p_info->seid, in bta_av_config_ind()
[all …]
Dbta_av_int.h308 uint8_t codec_info[AVDT_CODEC_SIZE]; /* codec configuration */ member
384 uint8_t codec_info[AVDT_CODEC_SIZE]; /* Codec info */ member
632 uint8_t codec_info[32]; /* Codec specific information */ variable
Dbta_av_main.cc646 memcpy(p_scb->seps[codec_index].codec_info, in bta_av_api_register()
647 avdtp_stream_config.cfg.codec_info, AVDT_CODEC_SIZE); in bta_av_api_register()
1432 dprintf(fd, " Codec: %s\n", A2DP_CodecName(sep.codec_info)); in bta_debug_av_dump()
Dbta_av_api.cc333 memcpy(p_buf->codec_info, p_codec_info, AVDT_CODEC_SIZE); in BTA_AvReconfig()
/system/bt/stack/a2dp/
Da2dp_codec_config.cc177 memset(p_a2dp_offload->codec_info, 0, sizeof(p_a2dp_offload->codec_info)); in getCodecSpecificConfig()
187 p_a2dp_offload->codec_info[0] = in getCodecSpecificConfig()
189 p_a2dp_offload->codec_info[1] = codec_config[5]; // Min bit pool in getCodecSpecificConfig()
190 p_a2dp_offload->codec_info[2] = codec_config[6]; // Max bit pool in getCodecSpecificConfig()
193 p_a2dp_offload->codec_info[0] = codec_config[3]; // object type in getCodecSpecificConfig()
194 p_a2dp_offload->codec_info[1] = codec_config[6]; // VBR | BR in getCodecSpecificConfig()
199 p_a2dp_offload->codec_info[0] = (vendor_id & 0x000000FF); in getCodecSpecificConfig()
200 p_a2dp_offload->codec_info[1] = (vendor_id & 0x0000FF00) >> 8; in getCodecSpecificConfig()
201 p_a2dp_offload->codec_info[2] = (vendor_id & 0x00FF0000) >> 16; in getCodecSpecificConfig()
202 p_a2dp_offload->codec_info[3] = (vendor_id & 0xFF000000) >> 24; in getCodecSpecificConfig()
[all …]
Da2dp_vendor_aptx_encoder.cc241 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_vendor_aptx_encoder_update() local
246 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_encoder_update()
253 const uint8_t* p_codec_info = codec_info; in a2dp_vendor_aptx_encoder_update()
Da2dp_vendor_aptx_hd_encoder.cc241 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_vendor_aptx_hd_encoder_update() local
246 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_hd_encoder_update()
253 const uint8_t* p_codec_info = codec_info; in a2dp_vendor_aptx_hd_encoder_update()
Da2dp_aac_encoder.cc188 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_aac_encoder_update() local
207 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_aac_encoder_update()
214 const uint8_t* p_codec_info = codec_info; in a2dp_aac_encoder_update()
Da2dp_vendor_ldac_encoder.cc348 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_vendor_ldac_encoder_update() local
364 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_ldac_encoder_update()
371 const uint8_t* p_codec_info = codec_info; in a2dp_vendor_ldac_encoder_update()
Da2dp_sbc_encoder.cc193 uint8_t codec_info[AVDT_CODEC_SIZE]; in a2dp_sbc_encoder_update() local
205 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_sbc_encoder_update()
212 const uint8_t* p_codec_info = codec_info; in a2dp_sbc_encoder_update()
Da2dp_aac.cc683 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_InitCodecConfigAac()
700 p_cfg->codec_info) == A2DP_SUCCESS; in A2DP_InitCodecConfigAacSink()
Da2dp_sbc.cc799 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_InitCodecConfigSbc()
816 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_InitCodecConfigSbcSink()
Da2dp_vendor_aptx.cc405 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_VendorInitCodecConfigAptx()
Da2dp_vendor_aptx_hd.cc422 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_VendorInitCodecConfigAptxHd()
Da2dp_vendor_ldac.cc505 p_cfg->codec_info) != A2DP_SUCCESS) { in A2DP_VendorInitCodecConfigLdac()
/system/bt/stack/avdt/
Davdt_scb_act.cc68 return ((uint32_t)(p_scb->stream_config.cfg.codec_info[1] | in avdt_scb_gen_ssrc()
69 p_scb->stream_config.cfg.codec_info[2])); in avdt_scb_gen_ssrc()
498 memcpy(p_scb->curr_cfg.codec_info, p_scb->req_cfg.codec_info, in avdt_scb_hdl_reconfig_rsp()
575 A2DP_CodecInfoString(p_scb->stream_config.cfg.codec_info).c_str()); in avdt_scb_hdl_setconfig_cmd()
578 A2DP_CodecInfoString(p_data->msg.config_cmd.p_cfg->codec_info).c_str()); in avdt_scb_hdl_setconfig_cmd()
580 if (A2DP_GetCodecType(p_scb->stream_config.cfg.codec_info) == in avdt_scb_hdl_setconfig_cmd()
581 A2DP_GetCodecType(p_cfg->codec_info)) { in avdt_scb_hdl_setconfig_cmd()
975 A2DP_UsesRtpHeader(is_content_protection, p_scb->curr_cfg.codec_info); in avdt_scb_hdl_write_req()
1179 A2DP_CodecInfoString(p_data->msg.config_cmd.p_cfg->codec_info).c_str()); in avdt_scb_snd_reconfig_req()
1201 memcpy(p_scb->curr_cfg.codec_info, p_scb->req_cfg.codec_info, in avdt_scb_snd_reconfig_rsp()
[all …]
Davdt_api.cc477 A2DP_CodecInfoString(p_cfg->codec_info).c_str()); in AVDT_OpenReq()
1240 A2DP_CodecName(scb.stream_config.cfg.codec_info)); in stack_debug_avdtp_api_dump()
1249 A2DP_CodecName(scb.curr_cfg.codec_info)); in stack_debug_avdtp_api_dump()
1251 A2DP_CodecName(scb.req_cfg.codec_info)); in stack_debug_avdtp_api_dump()
Davdt_msg.cc296 len = p_cfg->codec_info[0] + 1; in avdt_msg_bld_cfg()
299 memcpy(*p, p_cfg->codec_info, len); in avdt_msg_bld_cfg()
635 p_cfg->codec_info[0] = elem_len; in avdt_msg_prs_cfg()
636 memcpy(&p_cfg->codec_info[1], p, tmp); in avdt_msg_prs_cfg()
/system/bt/stack/include/
Davdt_api.h314 : codec_info{}, in AvdtpSepConfig()
326 memset(codec_info, 0, sizeof(codec_info)); in Reset()
337 uint8_t codec_info[AVDT_CODEC_SIZE]; /* Codec capabilities array */ variable
/system/bt/hci/include/
Dbt_vendor_lib.h374 uint8_t codec_info[10]; /* Codec capabilities array */ member
/system/bt/stack/test/
Dstack_a2dp_test.cc765 EXPECT_EQ(avdt_cfg.codec_info[i], codec_info_sbc_capability[i]); in TEST_F()
782 EXPECT_EQ(avdt_cfg.codec_info[i], codec_info_sbc_sink_capability[i]); in TEST_F()
793 EXPECT_EQ(avdt_cfg.codec_info[i], codec_info_aac_capability[i]); in TEST_F()
/system/bt/bta/include/
Dbta_av_api.h354 uint8_t* codec_info; member