Lines Matching refs:stream_endpoint

58     avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid);  in avdtp_source_register_media_transport_category()  local
59 avdtp_register_media_transport_category(stream_endpoint); in avdtp_source_register_media_transport_category()
63 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_reporting_category() local
64 avdtp_register_reporting_category(stream_endpoint); in avdtp_source_register_reporting_category()
68 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_delay_reporting_category() local
69 avdtp_register_delay_reporting_category(stream_endpoint); in avdtp_source_register_delay_reporting_category()
73 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_recovery_category() local
74 …avdtp_register_recovery_category(stream_endpoint, maximum_recovery_window_size, maximum_number_med… in avdtp_source_register_recovery_category()
78 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_content_protection_category() local
79 …avdtp_register_content_protection_category(stream_endpoint, cp_type, cp_type_value, cp_type_value_… in avdtp_source_register_content_protection_category()
83 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_header_compression_category() local
84 avdtp_register_header_compression_category(stream_endpoint, back_ch, media, recovery); in avdtp_source_register_header_compression_category()
88 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_media_codec_category() local
89 …avdtp_register_media_codec_category(stream_endpoint, media_type, media_codec_type, media_codec_inf… in avdtp_source_register_media_codec_category()
93 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_multiplexing_category() local
94 avdtp_register_multiplexing_category(stream_endpoint, fragmentation); in avdtp_source_register_multiplexing_category()
101 void avdtp_source_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_source_finalize_stream_endpoint() argument
102 avdtp_finalize_stream_endpoint(stream_endpoint); in avdtp_source_finalize_stream_endpoint()
194 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(local_seid); in avdtp_source_stream_send_media_payload_rtp() local
195 if (!stream_endpoint) { in avdtp_source_stream_send_media_payload_rtp()
200 if (stream_endpoint->l2cap_media_cid == 0){ in avdtp_source_stream_send_media_payload_rtp()
205 uint32_t buffer_size = l2cap_get_remote_mtu_for_local_cid(stream_endpoint->l2cap_media_cid); in avdtp_source_stream_send_media_payload_rtp()
210 …avdtp_source_setup_media_header(media_packet, marker, stream_endpoint->sequence_number, timestamp); in avdtp_source_stream_send_media_payload_rtp()
212 stream_endpoint->sequence_number++; in avdtp_source_stream_send_media_payload_rtp()
213 return l2cap_send_prepared(stream_endpoint->l2cap_media_cid, (uint16_t) packet_size); in avdtp_source_stream_send_media_payload_rtp()
219 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(local_seid); in avdtp_source_stream_send_media_packet() local
220 if (!stream_endpoint) { in avdtp_source_stream_send_media_packet()
225 if (stream_endpoint->l2cap_media_cid == 0){ in avdtp_source_stream_send_media_packet()
230 return l2cap_send(stream_endpoint->l2cap_media_cid, (uint8_t*) packet, size); in avdtp_source_stream_send_media_packet()
239 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(local_seid); in avdtp_source_stream_endpoint_request_can_send_now() local
240 if (!stream_endpoint) { in avdtp_source_stream_endpoint_request_can_send_now()
244 stream_endpoint->request_can_send_now = true; in avdtp_source_stream_endpoint_request_can_send_now()
245 l2cap_request_can_send_now_event(stream_endpoint->l2cap_media_cid); in avdtp_source_stream_endpoint_request_can_send_now()
251 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(local_seid); in avdtp_max_media_payload_size() local
252 if (!stream_endpoint) { in avdtp_max_media_payload_size()
257 if (stream_endpoint->l2cap_media_cid == 0){ in avdtp_max_media_payload_size()
261 …return l2cap_get_remote_mtu_for_local_cid(stream_endpoint->l2cap_media_cid) - AVDTP_MEDIA_PAYLOAD_… in avdtp_max_media_payload_size()