Home
last modified time | relevance | path

Searched refs:video_frame (Results 1 – 25 of 75) sorted by relevance

123

/external/webrtc/modules/video_coding/codecs/multiplex/test/
Dmultiplex_adapter_unittest.cc86 VideoFrame* video_frame) { in CreateDataAugmentedInputFrame() argument
88 video_frame->video_frame_buffer(); in CreateDataAugmentedInputFrame()
100 .set_timestamp_rtp(video_frame->timestamp()) in CreateDataAugmentedInputFrame()
101 .set_timestamp_ms(video_frame->render_time_ms()) in CreateDataAugmentedInputFrame()
102 .set_rotation(video_frame->rotation()) in CreateDataAugmentedInputFrame()
103 .set_id(video_frame->id()) in CreateDataAugmentedInputFrame()
125 std::unique_ptr<VideoFrame> video_frame; in CreateInputFrame() local
127 video_frame = CreateI420AInputFrame(); in CreateInputFrame()
130 video_frame = std::make_unique<VideoFrame>( in CreateInputFrame()
140 video_frame = CreateDataAugmentedInputFrame(video_frame.get()); in CreateInputFrame()
[all …]
/external/webrtc/api/video/
DBUILD.gn37 rtc_library("video_frame") {
41 "video_frame.cc",
42 "video_frame.h",
74 ":video_frame",
95 ":video_frame",
113 ":video_frame",
132 ":video_frame",
207 ":video_frame",
259 ":video_frame",
296 ":video_frame",
/external/webrtc/common_video/
Dincoming_video_stream.cc37 void IncomingVideoStream::OnFrame(const VideoFrame& video_frame) { in OnFrame() argument
44 incoming_render_queue_.PostTask([this, video_frame = video_frame]() mutable { in OnFrame()
46 if (render_buffers_.AddFrame(std::move(video_frame)) == 1) in OnFrame()
DBUILD.gn34 "include/video_frame.h",
52 "../api/video:video_frame",
101 "../api/video:video_frame",
/external/webrtc/video/
Dvideo_stream_decoder.cc44 int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame, in FrameToRender() argument
48 receive_stats_callback_->OnDecodedFrame(video_frame, qp, decode_time_ms, in FrameToRender()
50 incoming_video_stream_->OnFrame(video_frame); in FrameToRender()
Dvideo_stream_encoder.cc935 void VideoStreamEncoder::OnFrame(const VideoFrame& video_frame) { in OnFrame() argument
937 VideoFrame incoming_frame = video_frame; in OnFrame()
951 if (video_frame.ntp_time_ms() > 0) { in OnFrame()
952 capture_ntp_time_ms = video_frame.ntp_time_ms(); in OnFrame()
953 } else if (video_frame.render_time_ms() != 0) { in OnFrame()
954 capture_ntp_time_ms = video_frame.render_time_ms() + delta_ntp_internal_ms_; in OnFrame()
1173 void VideoStreamEncoder::MaybeEncodeVideoFrame(const VideoFrame& video_frame, in MaybeEncodeVideoFrame() argument
1176 input_state_provider_.OnFrameSizeObserved(video_frame.size()); in MaybeEncodeVideoFrame()
1178 if (!last_frame_info_ || video_frame.width() != last_frame_info_->width || in MaybeEncodeVideoFrame()
1179 video_frame.height() != last_frame_info_->height || in MaybeEncodeVideoFrame()
[all …]
Dvideo_stream_decoder2.cc45 int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame, in FrameToRender() argument
49 receive_stats_callback_->OnDecodedFrame(video_frame, qp, decode_time_ms, in FrameToRender()
51 incoming_video_stream_->OnFrame(video_frame); in FrameToRender()
Dvideo_analyzer.cc247 void VideoAnalyzer::PreEncodeOnFrame(const VideoFrame& video_frame) { in PreEncodeOnFrame() argument
250 while (frames_.front().timestamp() != video_frame.timestamp()) { in PreEncodeOnFrame()
255 first_encoded_timestamp_ = video_frame.timestamp(); in PreEncodeOnFrame()
304 void VideoAnalyzer::OnFrame(const VideoFrame& video_frame) { in OnFrame() argument
312 wrap_handler_.Unwrap(video_frame.timestamp() - rtp_timestamp_delta_); in OnFrame()
338 AddFrameComparison(reference_frame, video_frame, false, render_time_ms); in OnFrame()
340 last_rendered_frame_ = video_frame; in OnFrame()
876 const VideoFrame& video_frame) { in AddCapturedFrameForComparison() argument
887 frames_.push_back(video_frame); in AddCapturedFrameForComparison()
996 const VideoFrame& video_frame) { in OnFrame() argument
[all …]
Dvideo_analyzer.h74 void PreEncodeOnFrame(const VideoFrame& video_frame);
82 void OnFrame(const VideoFrame& video_frame) override;
157 void OnFrame(const VideoFrame& video_frame)
219 void AddCapturedFrameForComparison(const VideoFrame& video_frame)
Dvideo_receive_stream.cc511 void VideoReceiveStream::OnFrame(const VideoFrame& video_frame) { in OnFrame() argument
520 video_frame.timestamp(), video_frame.render_time_ms(), in OnFrame()
526 source_tracker_.OnFrameDelivered(video_frame.packet_infos()); in OnFrame()
528 config_.renderer->OnFrame(video_frame); in OnFrame()
531 stats_proxy_.OnRenderedFrame(video_frame); in OnFrame()
/external/webrtc/video/end_to_end_tests/
Dmulti_stream_tests.cc39 void OnFrame(const VideoFrame& video_frame) override { in TEST() argument
40 EXPECT_EQ(settings_.width, video_frame.width()); in TEST()
41 EXPECT_EQ(settings_.height, video_frame.height()); in TEST()
Dcodec_tests.cc90 void OnFrame(const VideoFrame& video_frame) override { in OnFrame() argument
91 EXPECT_EQ(expected_rotation_, video_frame.rotation()); in OnFrame()
96 video_frame.color_space() in OnFrame()
97 ? absl::make_optional(*video_frame.color_space()) in OnFrame()
Dfec_tests.cc101 void OnFrame(const VideoFrame& video_frame) override { in TEST_F() argument
105 auto it = dropped_timestamps_.find(video_frame.timestamp()); in TEST_F()
274 void OnFrame(const VideoFrame& video_frame) override { in OnFrame() argument
275 EXPECT_EQ(kVideoRotation_90, video_frame.rotation()); in OnFrame()
280 auto it = dropped_timestamps_.find(video_frame.timestamp()); in OnFrame()
Dhistogram_tests.cc56 void OnFrame(const VideoFrame& video_frame) override { in VerifyHistogramStats() argument
60 if (video_frame.ntp_time_ms() > 0 && in VerifyHistogramStats()
62 video_frame.ntp_time_ms()) { in VerifyHistogramStats()
/external/libwebm/testing/
Dmkvmuxer_tests.cc682 Frame video_frame; in TEST_F() local
683 video_frame.Init(dummy_data_, kFrameLength); in TEST_F()
684 video_frame.set_track_number(kVideoTrackNumber); in TEST_F()
691 video_frame.set_timestamp(cluster_timestamp); in TEST_F()
692 video_frame.set_is_key(true); in TEST_F()
693 EXPECT_TRUE(segment_.AddGenericFrame(&video_frame)); in TEST_F()
711 video_frame.set_is_key(false); in TEST_F()
714 video_frame.set_duration(7000000); in TEST_F()
716 video_frame.set_timestamp(cluster_timestamp + 33000000); in TEST_F()
717 EXPECT_TRUE(segment_.AddGenericFrame(&video_frame)); in TEST_F()
[all …]
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DV4L2Encoder.h67 EncodeRequest(std::unique_ptr<InputFrame> video_frame) in EncodeRequest()
68 : video_frame(std::move(video_frame)) {} in EncodeRequest()
73 std::unique_ptr<InputFrame> video_frame; member
/external/autotest/server/site_tests/video_PlaybackQuality/
Dvideo_PlaybackQuality.py118 video_frame = self._stream_server.receive_realtime_video_frame()
119 (frame_number, width, height, _, frame) = video_frame
132 video_frame = self._stream_server.receive_realtime_video_frame()
133 (frame_number, _, _, _, frame) = video_frame
183 video_frame = self._stream_server.receive_realtime_video_frame()
184 (frame_number, width, height, _, frame) = video_frame
/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dvideo_decoder_e2e_test.cpp175 std::unique_ptr<VideoFrame> video_frame = in VerifyMD5() local
178 ASSERT_TRUE(video_frame) << "Failed to create video frame on VerifyMD5 at frame#" in VerifyMD5()
181 ASSERT_TRUE(video_frame->VerifyMD5(golden)) << "MD5 mismatched at frame#" << output_index; in VerifyMD5()
184 output_format_.color_format = video_frame->color_format(); in VerifyMD5()
194 std::unique_ptr<VideoFrame> video_frame = in OutputToFile() local
197 ASSERT_TRUE(video_frame) << "Failed to create video frame on OutputToFile at frame#" in OutputToFile()
199 if (!video_frame->WriteFrame(&output_file_)) { in OutputToFile()
/external/webrtc/modules/video_coding/
DBUILD.gn22 "../../api/video:video_frame",
189 "../../api/video:video_frame",
229 "../../api/video:video_frame",
273 "../../api/video:video_frame",
343 "../../api/video:video_frame",
384 "../../api/video:video_frame",
434 "../../api/video:video_frame",
471 "../../api/video:video_frame",
568 "../../api/video:video_frame",
617 "../../api/video:video_frame",
[all …]
/external/webrtc/test/
Dframe_forwarder.cc20 void FrameForwarder::IncomingCapturedFrame(const VideoFrame& video_frame) { in IncomingCapturedFrame() argument
23 sink_->OnFrame(video_frame); in IncomingCapturedFrame()
Dvideo_renderer.cc18 void OnFrame(const VideoFrame& video_frame) override {} in OnFrame() argument
/external/webrtc/test/pc/e2e/
DBUILD.gn127 "../../../api/video:video_frame",
145 "../../../api/video:video_frame",
172 "../../../api/video:video_frame",
202 "../../../api/video:video_frame",
306 "../../../api/video:video_frame",
521 "../../../api/video:video_frame",
590 "../../../api/video:video_frame",
639 "../../../api/video:video_frame",
/external/webrtc/rtc_tools/
DBUILD.gn58 "../api/video:video_frame",
78 "../api/video:video_frame",
107 "../api/video:video_frame",
259 "../api/video:video_frame",
278 "../api/video:video_frame",
394 "../api/video:video_frame",
489 "../api/video:video_frame",
/external/webrtc/modules/video_processing/
DBUILD.gn31 "../../api/video:video_frame",
102 "../../api/video:video_frame",
/external/webrtc/media/
DBUILD.gn102 "../api/video:video_frame",
187 "../api/video:video_frame",
217 "../api/video:video_frame",
239 "../api/video:video_frame",
300 "../api/video:video_frame",
464 "../api/video:video_frame",
567 "../api/video:video_frame",

123