Home
last modified time | relevance | path

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

123

/external/chromium_org/media/cast/logging/
Dlogging_raw_unittest.cc29 EventMediaType media_type = VIDEO_EVENT; in TEST_F() local
33 raw_.InsertFrameEvent(timestamp, event_type, media_type, in TEST_F()
46 EXPECT_EQ(media_type, frame_events_[0].media_type); in TEST_F()
52 EventMediaType media_type = VIDEO_EVENT; in TEST_F() local
59 raw_.InsertEncodedFrameEvent(timestamp, event_type, media_type, in TEST_F()
72 EXPECT_EQ(media_type, frame_events_[0].media_type); in TEST_F()
80 EventMediaType media_type = VIDEO_EVENT; in TEST_F() local
85 raw_.InsertFrameEventWithDelay(timestamp, event_type, media_type, in TEST_F()
98 EXPECT_EQ(media_type, frame_events_[0].media_type); in TEST_F()
104 EventMediaType media_type = VIDEO_EVENT; in TEST_F() local
[all …]
Dreceiver_time_offset_estimator_impl.cc88 frame_event.media_type == AUDIO_EVENT, in OnReceiveFrameEvent()
94 frame_event.media_type == AUDIO_EVENT, in OnReceiveFrameEvent()
128 packet_event.media_type == AUDIO_EVENT, in OnReceivePacketEvent()
134 packet_event.media_type == AUDIO_EVENT, in OnReceivePacketEvent()
Dlogging_defines.cc37 media_type(UNKNOWN_EVENT), key_frame(false), target_bitrate(0) {} in FrameEvent()
47 media_type(UNKNOWN_EVENT) {} in PacketEvent()
Dlogging_defines.h66 EventMediaType media_type; member
92 EventMediaType media_type; member
/external/chromium_org/media/video/capture/win/
Dsink_input_pin_win.cc27 bool SinkInputPin::GetValidMediaType(int index, AM_MEDIA_TYPE* media_type) { in GetValidMediaType() argument
28 if (media_type->cbFormat < sizeof(VIDEOINFOHEADER)) in GetValidMediaType()
32 reinterpret_cast<VIDEOINFOHEADER*>(media_type->pbFormat); in GetValidMediaType()
44 media_type->majortype = MEDIATYPE_Video; in GetValidMediaType()
45 media_type->formattype = FORMAT_VideoInfo; in GetValidMediaType()
46 media_type->bTemporalCompression = FALSE; in GetValidMediaType()
56 media_type->subtype = kMediaSubTypeI420; in GetValidMediaType()
65 media_type->subtype = MEDIASUBTYPE_YUY2; in GetValidMediaType()
74 media_type->subtype = MEDIASUBTYPE_RGB24; in GetValidMediaType()
81 media_type->bFixedSizeSamples = TRUE; in GetValidMediaType()
[all …]
Dpin_base_win.h36 virtual bool IsMediaTypeValid(const AM_MEDIA_TYPE* media_type) = 0;
39 virtual bool GetValidMediaType(int index, AM_MEDIA_TYPE* media_type) = 0;
45 STDMETHOD(Connect)(IPin* receive_pin, const AM_MEDIA_TYPE* media_type);
48 const AM_MEDIA_TYPE* media_type);
54 STDMETHOD(ConnectionMediaType)(AM_MEDIA_TYPE* media_type);
62 STDMETHOD(QueryAccept)(const AM_MEDIA_TYPE* media_type);
Dpin_base_win.cc129 const AM_MEDIA_TYPE* media_type) { in Connect() argument
130 if (!receive_pin || !media_type) in Connect()
133 current_media_type_ = *media_type; in Connect()
136 HRESULT hr = receive_pin->ReceiveConnection(this, media_type); in Connect()
144 const AM_MEDIA_TYPE* media_type) { in ReceiveConnection() argument
145 if (!IsMediaTypeValid(media_type)) in ReceiveConnection()
148 current_media_type_ = *media_type; in ReceiveConnection()
171 STDMETHODIMP PinBase::ConnectionMediaType(AM_MEDIA_TYPE* media_type) { in ConnectionMediaType() argument
174 *media_type = current_media_type_; in ConnectionMediaType()
198 STDMETHODIMP PinBase::QueryAccept(const AM_MEDIA_TYPE* media_type) { in QueryAccept() argument
Dvideo_capture_device_win.cc349 ScopedMediaType media_type; in AllocateAndStart() local
355 found_capability.stream_index, media_type.Receive(), caps.get()); in AllocateAndStart()
360 if (media_type->formattype == FORMAT_VideoInfo) { in AllocateAndStart()
362 reinterpret_cast<VIDEOINFOHEADER*>(media_type->pbFormat); in AllocateAndStart()
369 hr = stream_config->SetFormat(media_type.get()); in AllocateAndStart()
405 } else if (media_type->subtype == kMediaSubTypeHDYC) { in AllocateAndStart()
505 ScopedMediaType media_type; in CreateCapabilityMap() local
506 hr = stream_config->GetStreamCaps(i, media_type.Receive(), caps.get()); in CreateCapabilityMap()
515 if (media_type->majortype == MEDIATYPE_Video && in CreateCapabilityMap()
516 media_type->formattype == FORMAT_VideoInfo) { in CreateCapabilityMap()
[all …]
Dsink_input_pin_win.h33 virtual bool IsMediaTypeValid(const AM_MEDIA_TYPE* media_type);
34 virtual bool GetValidMediaType(int index, AM_MEDIA_TYPE* media_type);
Dvideo_capture_device_factory_win.cc248 VideoCaptureDeviceWin::ScopedMediaType media_type; in GetDeviceSupportedFormatsDirectShow() local
249 hr = stream_config->GetStreamCaps(i, media_type.Receive(), caps.get()); in GetDeviceSupportedFormatsDirectShow()
258 if (media_type->majortype == MEDIATYPE_Video && in GetDeviceSupportedFormatsDirectShow()
259 media_type->formattype == FORMAT_VideoInfo) { in GetDeviceSupportedFormatsDirectShow()
263 media_type->subtype); in GetDeviceSupportedFormatsDirectShow()
267 reinterpret_cast<VIDEOINFOHEADER*>(media_type->pbFormat); in GetDeviceSupportedFormatsDirectShow()
/external/chromium_org/components/renderer_context_menu/
Dcontext_menu_content_type.cc109 params_.media_type == WebContextMenuData::MediaTypeNone && in SupportsGroupInternal()
129 return params_.media_type == WebContextMenuData::MediaTypeImage; in SupportsGroupInternal()
136 return params_.media_type == WebContextMenuData::MediaTypeVideo; in SupportsGroupInternal()
139 return params_.media_type == WebContextMenuData::MediaTypeAudio; in SupportsGroupInternal()
142 return params_.media_type == WebContextMenuData::MediaTypeCanvas; in SupportsGroupInternal()
145 return params_.media_type == WebContextMenuData::MediaTypePlugin; in SupportsGroupInternal()
149 return params_.media_type == WebContextMenuData::MediaTypeFile; in SupportsGroupInternal()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling.cc596 cricket::MediaType media_type, in UpdateRemoteStreamsList() argument
598 TrackInfos* current_tracks = GetRemoteTracks(media_type); in UpdateRemoteStreamsList()
608 OnRemoteTrackRemoved(info.stream_label, info.track_id, media_type); in UpdateRemoteStreamsList()
637 OnRemoteTrackSeen(stream_label, track_id, it->first_ssrc(), media_type); in UpdateRemoteStreamsList()
645 cricket::MediaType media_type) { in OnRemoteTrackSeen() argument
648 if (media_type == cricket::MEDIA_TYPE_AUDIO) { in OnRemoteTrackSeen()
652 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { in OnRemoteTrackSeen()
664 cricket::MediaType media_type) { in OnRemoteTrackRemoved() argument
667 if (media_type == cricket::MEDIA_TYPE_AUDIO) { in OnRemoteTrackRemoved()
675 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { in OnRemoteTrackRemoved()
[all …]
Dmediastreamsignaling.h301 cricket::MediaType media_type,
311 cricket::MediaType media_type);
319 cricket::MediaType media_type);
323 void RejectRemoteTracks(cricket::MediaType media_type);
341 cricket::MediaType media_type);
352 cricket::MediaType media_type);
363 cricket::MediaType media_type);
Dwebrtcsdp.cc243 const MediaType media_type,
249 const MediaType media_type,
252 const MediaType media_type,
279 const MediaType media_type,
299 const MediaType media_type,
304 const MediaType media_type,
312 const MediaType media_type,
1157 const MediaType media_type, in BuildMediaDescription() argument
1181 if (media_type == cricket::MEDIA_TYPE_AUDIO) in BuildMediaDescription()
1183 else if (media_type == cricket::MEDIA_TYPE_VIDEO) in BuildMediaDescription()
[all …]
/external/chromium_org/content/browser/media/
Dencrypted_media_browsertest.cc66 const std::string& media_type) { in TestSimplePlayback() argument
68 encrypted_media, media_type, CurrentKeySystem(), CurrentSourceType()); in TestSimplePlayback()
91 const std::string& media_type, in RunEncryptedMediaTest() argument
106 query_params.push_back(std::make_pair("mediaType", media_type)); in RunEncryptedMediaTest()
114 const std::string& media_type, in RunSimpleEncryptedMediaTest() argument
119 media_type, in RunSimpleEncryptedMediaTest()
Dmedia_source_browsertest.cc36 const std::string& media_type, in TestSimplePlayback() argument
45 query_params.push_back(std::make_pair("mediaType", media_type)); in TestSimplePlayback()
/external/chromium_org/chrome/browser/renderer_context_menu/
Dcontext_menu_content_type_unittest.cc30 rv.media_type = blink::WebContextMenuData::MediaTypeNone; in CreateParams()
47 rv.media_type = blink::WebContextMenuData::MediaTypeImage; in CreateParams()
52 rv.media_type = blink::WebContextMenuData::MediaTypeVideo; in CreateParams()
57 rv.media_type = blink::WebContextMenuData::MediaTypeAudio; in CreateParams()
Drender_view_context_menu_unittest.cc40 rv.media_type = blink::WebContextMenuData::MediaTypeNone; in CreateParams()
55 rv.media_type = blink::WebContextMenuData::MediaTypeImage; in CreateParams()
60 rv.media_type = blink::WebContextMenuData::MediaTypeVideo; in CreateParams()
65 rv.media_type = blink::WebContextMenuData::MediaTypeAudio; in CreateParams()
/external/chromium_org/media/cast/net/rtcp/
Drtcp_builder_unittest.cc215 frame_event.media_type = VIDEO_EVENT; in TEST_F()
223 packet_event.media_type = VIDEO_EVENT; in TEST_F()
277 frame_event.media_type = VIDEO_EVENT; in TEST_F()
285 packet_event.media_type = VIDEO_EVENT; in TEST_F()
339 frame_event.media_type = VIDEO_EVENT; in TEST_F()
385 frame_event.media_type = VIDEO_EVENT; in TEST_F()
442 frame_event.media_type = VIDEO_EVENT; in TEST_F()
Dreceiver_rtcp_event_subscriber.cc27 if (ShouldProcessEvent(frame_event.type, frame_event.media_type)) { in OnReceiveFrameEvent()
53 if (ShouldProcessEvent(packet_event.type, packet_event.media_type)) { in OnReceivePacketEvent()
/external/chromium_org/chrome/renderer/media/
Dcast_ipc_dispatcher_unittest.cc40 packet_event.media_type = media::cast::VIDEO_EVENT; in TEST_F()
49 frame_event.media_type = media::cast::VIDEO_EVENT; in TEST_F()
/external/chromium_org/chrome/browser/media/
Dencrypted_media_browsertest.cc138 const std::string& media_type, in RunEncryptedMediaTest() argument
151 query_params.push_back(std::make_pair("mediaType", media_type)); in RunEncryptedMediaTest()
166 const std::string& media_type, in RunSimpleEncryptedMediaTest() argument
176 media_type, in RunSimpleEncryptedMediaTest()
375 const std::string& media_type) { in TestSimplePlayback() argument
377 media_type, in TestSimplePlayback()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediasession.cc77 MediaType media_type) { in IsMediaContentOfType() argument
84 return mdesc && mdesc->type() == media_type; in IsMediaContentOfType()
434 MediaType media_type, in AddStreamParams() argument
463 if (stream_it->type != media_type) in AddStreamParams()
1765 MediaType media_type) { in GetFirstMediaContent() argument
1768 if (IsMediaContentOfType(&*content, media_type)) { in GetFirstMediaContent()
1788 MediaType media_type) { in GetFirstMediaContent() argument
1792 return GetFirstMediaContent(sdesc->contents(), media_type); in GetFirstMediaContent()
1808 const SessionDescription* sdesc, MediaType media_type) { in GetFirstMediaContentDescription() argument
1809 const ContentInfo* content = GetFirstMediaContent(sdesc, media_type); in GetFirstMediaContentDescription()
[all …]
/external/bluetooth/bluedroid/stack/a2dp/
Da2d_sbc.c224 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, UINT8 *p_result) in A2D_BldSbcInfo() argument
247 *p_result++ = media_type; in A2D_BldSbcInfo()
415 tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, in A2D_BldSbcInfo() argument
418 UNUSED(media_type); in A2D_BldSbcInfo()
/external/chromium_org/chrome/common/
Dcast_messages.h62 IPC_STRUCT_TRAITS_MEMBER(media_type)
71 IPC_STRUCT_TRAITS_MEMBER(media_type)

123