Searched refs:last_frame_ (Results 1 – 9 of 9) sorted by relevance
43 std::unique_ptr<DesktopFrame> last_frame_; member in webrtc::BlankDetectorDesktopCapturerWrapperTest74 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 …]
201 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()
63 std::unique_ptr<SharedDesktopFrame> last_frame_; variable
37 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_);
188 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 …]
202 absl::optional<webrtc::VideoFrame> last_frame_; variable
208 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()
136 std::unique_ptr<SharedDesktopFrame> last_frame_; variable
105 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