Home
last modified time | relevance | path

Searched refs:video_track (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/talk/app/webrtc/
Dmediastream_unittest.cc115 scoped_refptr<webrtc::MediaStreamTrackInterface> video_track( in TEST_F() local
117 EXPECT_EQ(0, video_track->id().compare(kVideoTrackId)); in TEST_F()
118 EXPECT_TRUE(video_track->enabled()); in TEST_F()
121 EXPECT_TRUE(stream_->GetVideoTracks()[0].get() == video_track.get()); in TEST_F()
122 EXPECT_TRUE(stream_->FindVideoTrack(video_track->id()).get() in TEST_F()
123 == video_track.get()); in TEST_F()
124 video_track = stream_->GetVideoTracks()[0]; in TEST_F()
125 EXPECT_EQ(0, video_track->id().compare(kVideoTrackId)); in TEST_F()
126 EXPECT_TRUE(video_track->enabled()); in TEST_F()
164 scoped_refptr<webrtc::VideoTrackInterface> video_track( in TEST_F() local
[all …]
Dpeerconnection.h169 VideoTrackInterface* video_track,
174 VideoTrackInterface* video_track);
179 VideoTrackInterface* video_track);
Dpeerconnection.cc1264 VideoTrackInterface* video_track, in CreateVideoReceiver() argument
1266 receivers_.push_back(new VideoRtpReceiver(video_track, ssrc, session_.get())); in CreateVideoReceiver()
1284 VideoTrackInterface* video_track) { in DestroyVideoReceiver() argument
1285 auto it = FindReceiverForTrack(video_track); in DestroyVideoReceiver()
1287 LOG(LS_WARNING) << "RtpReceiver for track with id " << video_track->id() in DestroyVideoReceiver()
1583 VideoTrackInterface* video_track = in OnRemoteTrackSeen() local
1585 CreateVideoReceiver(stream, video_track, ssrc); in OnRemoteTrackSeen()
1605 rtc::scoped_refptr<VideoTrackInterface> video_track = in OnRemoteTrackRemoved() local
1607 if (video_track) { in OnRemoteTrackRemoved()
1608 video_track->set_state(webrtc::MediaStreamTrackInterface::kEnded); in OnRemoteTrackRemoved()
[all …]
Drtpsender.cc243 VideoTrackInterface* video_track = static_cast<VideoTrackInterface*>(track); in SetTrack() local
252 track_ = video_track; in SetTrack()
Dpeerconnectioninterface_unittest.cc360 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( in CreateStreamCollection() local
362 stream->AddTrack(video_track); in CreateStreamCollection()
629 scoped_refptr<VideoTrackInterface> video_track( in AddVideoStream() local
631 stream->AddTrack(video_track.get()); in AddVideoStream()
659 scoped_refptr<VideoTrackInterface> video_track( in AddAudioVideoStream() local
661 stream->AddTrack(video_track.get()); in AddAudioVideoStream()
929 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( in AddVideoTrack() local
931 ASSERT_TRUE(stream->AddTrack(video_track)); in AddVideoTrack()
1174 scoped_refptr<VideoTrackInterface> video_track( in TEST_F() local
1176 stream->AddTrack(video_track.get()); in TEST_F()
/external/libaom/libaom/common/
Dwebmenc.cc66 mkvmuxer::VideoTrack *const video_track = static_cast<mkvmuxer::VideoTrack *>( in write_webm_file_header() local
69 if (!video_track) { in write_webm_file_header()
86 ok = video_track->SetCodecPrivate(av1_config_buffer, in write_webm_file_header()
98 ok = video_track->SetStereoMode(stereo_fmt); in write_webm_file_header()
108 video_track->set_codec_id("V_AV1"); in write_webm_file_header()
115 video_track->set_display_width(display_width); in write_webm_file_header()
116 video_track->set_display_height(cfg->g_h); in write_webm_file_header()
120 video_track->set_uid(kDebugTrackUid); in write_webm_file_header()
Dwebmdec.cc89 const mkvparser::VideoTrack *video_track = NULL; in file_is_webm() local
93 video_track = static_cast<const mkvparser::VideoTrack *>(track); in file_is_webm()
99 if (video_track == NULL || video_track->GetCodecId() == NULL) { in file_is_webm()
104 if (!strncmp(video_track->GetCodecId(), "V_AV1", 5)) { in file_is_webm()
113 aom_ctx->width = static_cast<uint32_t>(video_track->GetWidth()); in file_is_webm()
114 aom_ctx->height = static_cast<uint32_t>(video_track->GetHeight()); in file_is_webm()
/external/libvpx/libvpx/
Dwebmenc.cc45 mkvmuxer::VideoTrack *const video_track = static_cast<mkvmuxer::VideoTrack *>( in write_webm_file_header() local
47 video_track->SetStereoMode(stereo_fmt); in write_webm_file_header()
54 video_track->set_codec_id(codec_id); in write_webm_file_header()
60 video_track->set_display_width(display_width); in write_webm_file_header()
61 video_track->set_display_height(cfg->g_h); in write_webm_file_header()
64 video_track->set_uid(kDebugTrackUid); in write_webm_file_header()
Dwebmdec.cc87 const mkvparser::VideoTrack *video_track = NULL; in file_is_webm() local
91 video_track = static_cast<const mkvparser::VideoTrack *>(track); in file_is_webm()
97 if (video_track == NULL || video_track->GetCodecId() == NULL) { in file_is_webm()
102 if (!strncmp(video_track->GetCodecId(), "V_VP8", 5)) { in file_is_webm()
104 } else if (!strncmp(video_track->GetCodecId(), "V_VP9", 5)) { in file_is_webm()
113 vpx_ctx->width = static_cast<uint32_t>(video_track->GetWidth()); in file_is_webm()
114 vpx_ctx->height = static_cast<uint32_t>(video_track->GetHeight()); in file_is_webm()
/external/webrtc/talk/app/webrtc/test/
Dfakevideotrackrenderer.h38 FakeVideoTrackRenderer(VideoTrackInterface* video_track) in FakeVideoTrackRenderer() argument
39 : video_track_(video_track), last_frame_(NULL) { in FakeVideoTrackRenderer()
Dpeerconnectiontestwrapper.cc291 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( in GetUserMedia() local
294 stream->AddTrack(video_track); in GetUserMedia()
/external/webrtc/webrtc/examples/peerconnection/client/
Dconductor.cc401 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( in AddStreams() local
406 main_wnd_->StartLocalRenderer(video_track); in AddStreams()
412 stream->AddTrack(video_track); in AddStreams()