Home | History | Annotate | Download | only in co

Lines Matching refs:UINT8

68 const UINT8 bta_av_co_cp_scmst[BTA_AV_CP_INFO_LEN] = "\x02\x02\x00";
116 UINT8 sep_info_idx; /* local SEP index (in BTA tables) */
117 UINT8 seid; /* peer SEP index (in peer tables) */
118 UINT8 codec_type; /* peer SEP codec type */
119 UINT8 codec_caps[AVDT_CODEC_SIZE]; /* peer SEP codec capabilities */
120 UINT8 num_protect; /* peer SEP number of CP elements */
121 UINT8 protect_info[BTA_AV_CP_INFO_LEN]; /* peer SEP content protection info */
129 UINT8 num_snks; /* total number of sinks at peer */
130 UINT8 num_srcs; /* total number of srcs at peer */
131 UINT8 num_seps; /* total number of seids at peer */
132 UINT8 num_rx_snks; /* number of received sinks */
133 UINT8 num_rx_srcs; /* number of received srcs */
134 UINT8 num_sup_snks; /* number of supported sinks in the snks array */
135 UINT8 num_sup_srcs; /* number of supported srcs in the srcs array */
138 UINT8 codec_cfg[AVDT_CODEC_SIZE]; /* current codec configuration */
150 UINT8 flag;
167 static BOOLEAN bta_av_co_audio_codec_build_config(const UINT8 *p_codec_caps, UINT8 *p_codec_cfg);
169 static BOOLEAN bta_av_co_cp_is_scmst(const UINT8 *p_protectinfo);
171 static BOOLEAN bta_av_co_audio_peer_supports_codec(tBTA_AV_CO_PEER *p_peer, UINT8 *p_snk_index);
172 static BOOLEAN bta_av_co_audio_media_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg);
173 static BOOLEAN bta_av_co_audio_sink_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg);
174 static BOOLEAN bta_av_co_audio_peer_src_supports_codec(tBTA_AV_CO_PEER *p_peer, UINT8 *p_src_index);
205 UINT8 bta_av_co_cp_get_flag(void)
223 BOOLEAN bta_av_co_cp_set_flag(UINT8 cp_flag)
249 UINT8 index;
277 BOOLEAN bta_av_co_audio_init(UINT8 *p_codec_type, UINT8 *p_codec_info, UINT8 *p_num_protect,
278 UINT8 *p_protect_info, UINT8 index)
286 UINT8 *p = p_protect_info;
342 BTA_API void bta_av_co_audio_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, UINT8 num_snk,
343 UINT8 num_src, BD_ADDR addr, UINT16 uuid_local)
390 void bta_av_build_src_cfg (UINT8 *p_pref_cfg, UINT8 *p_src_cap)
394 UINT8 status = 0;
457 UINT8 bta_av_audio_sink_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
458 UINT8 *p_codec_info, UINT8 *p_sep_info_idx, UINT8 seid, UINT8 *p_num_protect,
459 UINT8 *p_protect_info)
462 UINT8 result = A2D_FAIL;
466 UINT8 codec_cfg[AVDT_CODEC_SIZE];
467 UINT8 pref_cfg[AVDT_CODEC_SIZE];
468 UINT8 index;
593 BTA_API UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
594 UINT8 *p_codec_info, UINT8 *p_sep_info_idx, UINT8 seid, UINT8 *p_num_protect,
595 UINT8 *p_protect_info)
598 UINT8 result = A2D_FAIL;
602 UINT8 codec_cfg[AVDT_CODEC_SIZE];
603 UINT8 index;
724 BTA_AvReconfig(hndl, TRUE, p_sink->sep_info_idx, p_peer->codec_cfg, *p_num_protect, (UINT8 *)bta_av_co_cp_scmst);
753 UINT8 *p_codec_info, UINT8 seid, BD_ADDR addr, UINT8 num_protect, UINT8 *p_protect_info,
754 UINT8 t_local_sep, UINT8 avdt_handle)
758 UINT8 status = A2D_SUCCESS;
759 UINT8 category = A2D_SUCCESS;
909 BTA_API void bta_av_co_audio_open(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
982 UINT8 *p_codec_info, BOOLEAN *p_no_rtp_hdr)
1058 UINT8 *p;
1063 p = (UINT8 *)(p_buf + 1) + p_buf->offset;
1120 static BOOLEAN bta_av_co_audio_codec_build_config(const UINT8 *p_codec_caps, UINT8 *p_codec_cfg)
1158 static BOOLEAN bta_av_co_audio_codec_cfg_matches_caps(UINT8 codec_id, const UINT8 *p_codec_caps, const UINT8 *p_codec_cfg)
1205 static BOOLEAN bta_av_co_audio_codec_match(const UINT8 *p_codec_caps)
1238 static BOOLEAN bta_av_co_cp_is_scmst(const UINT8 *p_protectinfo)
1268 UINT8 index;
1269 const UINT8 *p;
1325 static BOOLEAN bta_av_co_audio_peer_supports_codec(tBTA_AV_CO_PEER *p_peer, UINT8 *p_snk_index)
1328 UINT8 codec_type;
1366 static BOOLEAN bta_av_co_audio_peer_src_supports_codec(tBTA_AV_CO_PEER *p_peer, UINT8 *p_src_index)
1369 UINT8 codec_type;
1384 if (0 == bta_av_sbc_cfg_matches_cap((UINT8 *)p_peer->srcs[index].codec_caps,
1411 static BOOLEAN bta_av_co_audio_sink_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg)
1418 if (bta_av_sbc_cfg_in_cap((UINT8 *)p_codec_cfg, (tA2D_SBC_CIE *)&bta_av_co_sbc_sink_caps))
1442 static BOOLEAN bta_av_co_audio_media_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg)
1449 if (bta_av_sbc_cfg_in_cap((UINT8 *)p_codec_cfg, (tA2D_SBC_CIE *)&bta_av_co_sbc_caps))
1476 UINT8 index;
1477 UINT8 snk_index;
1480 UINT8 codec_cfg[AVDT_CODEC_SIZE];
1481 UINT8 num_protect = 0;
1543 p_peer->codec_cfg, num_protect, (UINT8 *)bta_av_co_cp_scmst);
1684 UINT8 index, jndex;
1809 UINT8 index;
1846 BOOLEAN bta_av_co_get_remote_bitpool_pref(UINT8 *min, UINT8 *max)