Home
last modified time | relevance | path

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

12

/external/autotest/client/common_lib/cros/cfm/metrics/
Dmedia_metrics_collector.py31 'fps', direction=DIRECTION.RECEIVER, media_type=MEDIA_TYPE.VIDEO)
62 media_type=MEDIA_TYPE.VIDEO),
66 media_type=MEDIA_TYPE.VIDEO),
70 media_type=MEDIA_TYPE.VIDEO),
78 media_type=MEDIA_TYPE.VIDEO),
82 media_type=MEDIA_TYPE.VIDEO,
87 media_type=MEDIA_TYPE.VIDEO),
91 media_type=MEDIA_TYPE.VIDEO),
95 media_type=MEDIA_TYPE.VIDEO,
108 media_type=MEDIA_TYPE.VIDEO,
[all …]
Dmedia_info_metrics_extractor.py76 media_type=None, argument
109 and _media_matches(media, direction, media_type)
120 def _media_matches(media, direction, media_type): argument
123 type_match = (True if media_type is None
124 else media['mediatype'] == media_type.value)
Dmedia_info_metrics_extractor_unittest.py23 'fps', media_type=MEDIA_TYPE.VIDEO,
30 media_type=MEDIA_TYPE.VIDEO,
38 media_type=MEDIA_TYPE.VIDEO,
56 media_type=MEDIA_TYPE.VIDEO,
/external/webrtc/webrtc/call/
Dcall.cc82 DeliveryStatus DeliverPacket(MediaType media_type,
98 DeliveryStatus DeliverRtcp(MediaType media_type, const uint8_t* packet,
100 DeliveryStatus DeliverRtp(MediaType media_type,
654 PacketReceiver::DeliveryStatus Call::DeliverRtcp(MediaType media_type, in DeliverRtcp() argument
664 if (media_type == MediaType::ANY || media_type == MediaType::VIDEO) { in DeliverRtcp()
670 event_log_->LogRtcpPacket(true, media_type, packet, length); in DeliverRtcp()
674 if (media_type == MediaType::ANY || media_type == MediaType::VIDEO) { in DeliverRtcp()
680 event_log_->LogRtcpPacket(false, media_type, packet, length); in DeliverRtcp()
687 PacketReceiver::DeliveryStatus Call::DeliverRtp(MediaType media_type, in DeliverRtp() argument
702 if (media_type == MediaType::ANY || media_type == MediaType::AUDIO) { in DeliverRtp()
[all …]
Drtc_event_log.cc51 MediaType media_type, in LogRtpHeader() argument
55 MediaType media_type, in LogRtcpPacket() argument
78 MediaType media_type,
82 MediaType media_type,
147 rtclog::MediaType ConvertMediaType(MediaType media_type) {
148 switch (media_type) {
331 MediaType media_type,
355 rtp_event.mutable_rtp_packet()->set_type(ConvertMediaType(media_type));
362 MediaType media_type,
370 rtcp_event.mutable_rtcp_packet()->set_type(ConvertMediaType(media_type));
Drtc_event_log.h67 MediaType media_type,
73 MediaType media_type,
Drtc_event_log_unittest.cc58 MediaType GetRuntimeMediaType(rtclog::MediaType media_type) { in GetRuntimeMediaType() argument
59 switch (media_type) { in GetRuntimeMediaType()
227 MediaType media_type, in VerifyRtpEvent() argument
237 EXPECT_EQ(media_type, GetRuntimeMediaType(rtp_packet.type())); in VerifyRtpEvent()
249 MediaType media_type, in VerifyRtcpEvent() argument
258 EXPECT_EQ(media_type, GetRuntimeMediaType(rtcp_packet.type())); in VerifyRtcpEvent()
Dcall_perf_tests.cc202 DeliveryStatus DeliverPacket(MediaType media_type, in TestAudioVideoSync() argument
206 EXPECT_TRUE(media_type == MediaType::ANY || in TestAudioVideoSync()
207 media_type == MediaType::AUDIO); in TestAudioVideoSync()
/external/webrtc/talk/app/webrtc/
Dpeerconnection.h230 void RemoveTracks(cricket::MediaType media_type);
241 cricket::MediaType media_type,
250 cricket::MediaType media_type);
257 cricket::MediaType media_type);
266 void EndRemoteTracks(cricket::MediaType media_type);
273 cricket::MediaType media_type);
283 cricket::MediaType media_type);
293 cricket::MediaType media_type);
332 TrackInfos* GetRemoteTracks(cricket::MediaType media_type);
333 TrackInfos* GetLocalTracks(cricket::MediaType media_type);
Dpeerconnection.cc373 session_options->AddSendStream(sender->media_type(), sender->id(), in AddSendStreams()
1492 void PeerConnection::RemoveTracks(cricket::MediaType media_type) { in RemoveTracks() argument
1493 UpdateLocalTracks(std::vector<cricket::StreamParams>(), media_type); in RemoveTracks()
1495 media_type, nullptr); in RemoveTracks()
1501 cricket::MediaType media_type, in UpdateRemoteStreamsList() argument
1503 TrackInfos* current_tracks = GetRemoteTracks(media_type); in UpdateRemoteStreamsList()
1518 OnRemoteTrackRemoved(info.stream_label, info.track_id, media_type); in UpdateRemoteStreamsList()
1544 OnRemoteTrackSeen(stream_label, track_id, ssrc, media_type); in UpdateRemoteStreamsList()
1559 std::string default_track_id = (media_type == cricket::MEDIA_TYPE_AUDIO) in UpdateRemoteStreamsList()
1567 OnRemoteTrackSeen(kDefaultStreamLabel, default_track_id, 0, media_type); in UpdateRemoteStreamsList()
[all …]
Dwebrtcsdp.cc253 const MediaType media_type,
259 const MediaType media_type,
262 const MediaType media_type,
289 const MediaType media_type,
309 const MediaType media_type,
314 const MediaType media_type,
322 const MediaType media_type,
1173 const MediaType media_type, in BuildMediaDescription() argument
1196 if (media_type == cricket::MEDIA_TYPE_AUDIO) in BuildMediaDescription()
1198 else if (media_type == cricket::MEDIA_TYPE_VIDEO) in BuildMediaDescription()
[all …]
Drtpsenderinterface.h59 virtual cricket::MediaType media_type() const = 0;
81 PROXY_CONSTMETHOD0(cricket::MediaType, media_type)
Drtpsender.h99 cricket::MediaType media_type() const override { in media_type() function
157 cricket::MediaType media_type() const override { in media_type() function
/external/u-boot/board/freescale/t208xqds/
Deth_t208xqds.c202 int media_type = 0; in board_ft_fman_fixup_port() local
222 media_type = 1; in board_ft_fman_fixup_port()
234 media_type = 1; in board_ft_fman_fixup_port()
246 media_type = 1; in board_ft_fman_fixup_port()
258 media_type = 1; in board_ft_fman_fixup_port()
281 media_type = 1; in board_ft_fman_fixup_port()
293 media_type = 1; in board_ft_fman_fixup_port()
346 if (media_type) { in board_ft_fman_fixup_port()
369 media_type = 1; in board_ft_fman_fixup_port()
380 media_type = 1; in board_ft_fman_fixup_port()
[all …]
/external/webrtc/talk/media/webrtc/
Dfakewebrtccall.cc387 webrtc::MediaType media_type, in DeliverPacket() argument
396 if (media_type == webrtc::MediaType::ANY || in DeliverPacket()
397 media_type == webrtc::MediaType::VIDEO) { in DeliverPacket()
403 if (media_type == webrtc::MediaType::ANY || in DeliverPacket()
404 media_type == webrtc::MediaType::AUDIO) { in DeliverPacket()
Dfakewebrtccall.h242 DeliveryStatus DeliverPacket(webrtc::MediaType media_type,
/external/libcups/cups/
Dppd-cache.c74 *media_type, /* media-type value */ in _cupsConvertOptions() local
203 media_type = _ppdCacheGetType(pc, cupsGetOption("MediaType", num_options, options)); in _cupsConvertOptions()
206 if (size || media_source || media_type) in _cupsConvertOptions()
237 else if (media_type && !strcmp(media_col_sup->values[i].string.text, "media-type")) in _cupsConvertOptions()
238 ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-type", NULL, media_type); in _cupsConvertOptions()
961 *media_type, /* MediaType option */ in _ppdCacheCreateWithPPD() local
1263 if ((media_type = ppdFindOption(ppd, "MediaType")) != NULL) in _ppdCacheCreateWithPPD()
1265 if ((pc->types = calloc((size_t)media_type->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1268 "pwg_map_t's for MediaType.", media_type->num_choices)); in _ppdCacheCreateWithPPD()
1272 pc->num_types = media_type->num_choices; in _ppdCacheCreateWithPPD()
[all …]
Dppd-private.h198 const char *media_type);
221 extern const char *_pwgMediaTypeForType(const char *media_type,
Dppd.h226 char media_type[PPD_MAX_NAME]; member
/external/u-boot/board/freescale/t4qds/
Deth.c276 int media_type = 0; in board_ft_fman_fixup_port() local
285 media_type = 1; in board_ft_fman_fixup_port()
294 media_type = 1; in board_ft_fman_fixup_port()
303 media_type = 1; in board_ft_fman_fixup_port()
312 media_type = 1; in board_ft_fman_fixup_port()
323 if (!media_type) { in board_ft_fman_fixup_port()
/external/u-boot/drivers/net/
De1000.c1099 (hw->media_type == e1000_media_type_copper)) { in e1000_set_phy_mode()
1779 if ((hw->media_type == e1000_media_type_fiber) in e1000_initialize_hardware_bits()
1780 || (hw->media_type == in e1000_initialize_hardware_bits()
2151 ret_val = (hw->media_type == e1000_media_type_fiber) ? in e1000_setup_link()
3659 if (((hw->media_type == e1000_media_type_fiber) && (hw->autoneg_failed)) in e1000_config_fc_after_link_up()
3660 || ((hw->media_type == e1000_media_type_internal_serdes) in e1000_config_fc_after_link_up()
3662 || ((hw->media_type == e1000_media_type_copper) in e1000_config_fc_after_link_up()
3676 if (hw->media_type == e1000_media_type_copper) { in e1000_config_fc_after_link_up()
3891 if ((hw->media_type == e1000_media_type_copper) && hw->get_link_status) { in e1000_check_for_link()
3994 else if ((hw->media_type == e1000_media_type_fiber) && in e1000_check_for_link()
[all …]
/external/webrtc/talk/session/media/
Dmediasession.cc89 MediaType media_type) { in IsMediaContentOfType() argument
96 return mdesc && mdesc->type() == media_type; in IsMediaContentOfType()
464 MediaType media_type, in AddStreamParams() argument
493 if (stream_it->type != media_type) in AddStreamParams()
1929 MediaType media_type) { in GetFirstMediaContent() argument
1932 if (IsMediaContentOfType(&*content, media_type)) { in GetFirstMediaContent()
1952 MediaType media_type) { in GetFirstMediaContent() argument
1956 return GetFirstMediaContent(sdesc->contents(), media_type); in GetFirstMediaContent()
1972 const SessionDescription* sdesc, MediaType media_type) { in GetFirstMediaContentDescription() argument
1973 const ContentInfo* content = GetFirstMediaContent(sdesc, media_type); in GetFirstMediaContentDescription()
/external/webrtc/webrtc/
Dcall.h45 virtual DeliveryStatus DeliverPacket(MediaType media_type,
/external/curl/src/
Dtool_metalink.c921 static int check_content_type(const char *content_type, const char *media_type) in check_content_type() argument
924 size_t media_type_len = strlen(media_type); in check_content_type()
929 return curl_strnequal(ptr, media_type, media_type_len) && in check_content_type()
/external/webrtc/webrtc/video/
Dvideo_quality_test.cc113 DeliveryStatus DeliverPacket(MediaType media_type, in DeliverPacket() argument
126 return receiver_->DeliverPacket(media_type, packet, length, packet_time); in DeliverPacket()

12