Home
last modified time | relevance | path

Searched refs:last_frame_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/desktop_capture/
Dblank_detector_desktop_capturer_wrapper_unittest.cc43 std::unique_ptr<DesktopFrame> last_frame_; member in webrtc::BlankDetectorDesktopCapturerWrapperTest
74 last_frame_ = std::move(frame); in OnCaptureResult()
90 ASSERT_FALSE(last_frame_); in TEST_F()
98 ASSERT_TRUE(last_frame_); in TEST_F()
105 ASSERT_TRUE(last_frame_); in TEST_F()
112 ASSERT_TRUE(last_frame_); in TEST_F()
119 ASSERT_TRUE(last_frame_); in TEST_F()
126 ASSERT_TRUE(last_frame_); in TEST_F()
134 ASSERT_FALSE(last_frame_); in TEST_F()
141 ASSERT_TRUE(last_frame_); in TEST_F()
[all …]
Ddesktop_capturer_differ_wrapper.cc201 if (last_frame_ && (last_frame_->size().width() != frame->size().width() || in OnCaptureResult()
202 last_frame_->size().height() != frame->size().height() || in OnCaptureResult()
203 last_frame_->stride() != frame->stride())) { in OnCaptureResult()
204 last_frame_.reset(); in OnCaptureResult()
207 if (last_frame_) { in OnCaptureResult()
211 CompareFrames(*last_frame_, *frame, it.rect(), in OnCaptureResult()
218 last_frame_ = frame->Share(); in OnCaptureResult()
Ddesktop_capturer_differ_wrapper.h63 std::unique_ptr<SharedDesktopFrame> last_frame_; variable
/external/webrtc/modules/video_coding/
Dgeneric_decoder_unittest.cc37 last_frame_ = videoFrame; in FrameToRender()
45 return last_frame_; in GetLastFrame()
51 return last_frame_; in WaitForFrame()
60 absl::optional<VideoFrame> last_frame_ RTC_GUARDED_BY(lock_);
/external/webrtc/media/engine/
Dfake_webrtc_call.cc188 return last_frame_->width(); in GetLastWidth()
192 return last_frame_->height(); in GetLastHeight()
196 RTC_DCHECK(last_frame_->ntp_time_ms() == 0); in GetLastTimestamp()
197 return last_frame_->render_time_ms(); in GetLastTimestamp()
202 if (!last_frame_ || frame.width() != last_frame_->width() || in OnFrame()
203 frame.height() != last_frame_->height() || in OnFrame()
204 frame.rotation() != last_frame_->rotation()) { in OnFrame()
208 last_frame_ = frame; in OnFrame()
223 if (last_frame_) { in ReconfigureVideoEncoder()
224 width = last_frame_->width(); in ReconfigureVideoEncoder()
[all …]
Dfake_webrtc_call.h202 absl::optional<webrtc::VideoFrame> last_frame_; variable
/external/webrtc/modules/desktop_capture/win/
Ddxgi_output_duplicator.cc208 last_frame_ = target->Share(); in Duplicate()
216 if (last_frame_) { in Duplicate()
227 target->CopyPixelsFrom(*last_frame_, source_rect.top_left(), target_rect); in Duplicate()
382 RTC_DCHECK_EQ(!!last_frame_, num_frames_captured_ > 0); in num_frames_captured()
Ddxgi_output_duplicator.h136 std::unique_ptr<SharedDesktopFrame> last_frame_; variable
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc105 last_frame_ = videoFrame.video_frame_buffer(); in OnFrame()
130 return webrtc::test::FrameBufsEqual(last_frame_, in CompareLastFrame()
145 rtc::scoped_refptr<webrtc::VideoFrameBuffer> last_frame_; member in TestVideoCaptureCallback