Searched refs:SharedDesktopFrame (Results 1 – 24 of 24) sorted by relevance
19 SharedDesktopFrame::~SharedDesktopFrame() {} in ~SharedDesktopFrame()22 std::unique_ptr<SharedDesktopFrame> SharedDesktopFrame::Wrap( in Wrap()24 return std::unique_ptr<SharedDesktopFrame>( in Wrap()25 new SharedDesktopFrame(new Core(std::move(desktop_frame)))); in Wrap()28 SharedDesktopFrame* SharedDesktopFrame::Wrap(DesktopFrame* desktop_frame) { in Wrap()32 DesktopFrame* SharedDesktopFrame::GetUnderlyingFrame() { in GetUnderlyingFrame()36 bool SharedDesktopFrame::ShareFrameWith(const SharedDesktopFrame& other) const { in ShareFrameWith()40 std::unique_ptr<SharedDesktopFrame> SharedDesktopFrame::Share() { in Share()41 std::unique_ptr<SharedDesktopFrame> result(new SharedDesktopFrame(core_)); in Share()46 bool SharedDesktopFrame::IsShared() { in IsShared()[all …]
26 class RTC_EXPORT SharedDesktopFrame : public DesktopFrame {28 ~SharedDesktopFrame() override;30 static std::unique_ptr<SharedDesktopFrame> Wrap(35 static SharedDesktopFrame* Wrap(DesktopFrame* desktop_frame);44 bool ShareFrameWith(const SharedDesktopFrame& other) const;47 std::unique_ptr<SharedDesktopFrame> Share();56 SharedDesktopFrame(rtc::scoped_refptr<Core> core);60 RTC_DISALLOW_COPY_AND_ASSIGN(SharedDesktopFrame);
242 std::unique_ptr<SharedDesktopFrame> frame( in TEST_F()243 SharedDesktopFrame::Wrap(CreateTestFrame())); in TEST_F()254 std::unique_ptr<SharedDesktopFrame> frame( in TEST_F()255 SharedDesktopFrame::Wrap(CreateTestFrame())); in TEST_F()280 std::unique_ptr<SharedDesktopFrame> frame( in TEST_F()281 SharedDesktopFrame::Wrap(CreateTestFrame())); in TEST_F()305 std::unique_ptr<SharedDesktopFrame> frame( in TEST_F()306 SharedDesktopFrame::Wrap(CreateTestFrame())); in TEST_F()337 std::unique_ptr<SharedDesktopFrame> frame( in TEST_F()338 SharedDesktopFrame::Wrap(CreateTestFrame())); in TEST_F()[all …]
100 std::unique_ptr<SharedDesktopFrame> shared = in TEST()101 SharedDesktopFrame::Wrap(std::move(frame)); in TEST()
63 std::unique_ptr<SharedDesktopFrame> last_frame_;
199 std::unique_ptr<SharedDesktopFrame> frame = in OnCaptureResult()200 SharedDesktopFrame::Wrap(std::move(input_frame)); in OnCaptureResult()
176 SharedDesktopFrame* target);179 bool DoDuplicateAll(Context* context, SharedDesktopFrame* target);184 SharedDesktopFrame* target);210 bool EnsureFrameCaptured(Context* context, SharedDesktopFrame* target);
316 SharedDesktopFrame* target) { in DoDuplicateUnlocked()340 SharedDesktopFrame* target) { in DoDuplicateAll()351 SharedDesktopFrame* target) { in DoDuplicateOne()422 SharedDesktopFrame* target) { in EnsureFrameCaptured()439 std::unique_ptr<SharedDesktopFrame> fallback_frame; in EnsureFrameCaptured()440 SharedDesktopFrame* shared_frame = nullptr; in EnsureFrameCaptured()447 fallback_frame = SharedDesktopFrame::Wrap( in EnsureFrameCaptured()
41 SharedDesktopFrame* frame() const;57 std::unique_ptr<SharedDesktopFrame> frame_;
47 bool Duplicate(Context* context, SharedDesktopFrame* target);53 SharedDesktopFrame* target);
61 frame_ = SharedDesktopFrame::Wrap(std::move(frame)); in Prepare()67 SharedDesktopFrame* DxgiFrame::frame() const { in frame()
66 SharedDesktopFrame* target);136 std::unique_ptr<SharedDesktopFrame> last_frame_;
131 SharedDesktopFrame* target) { in Duplicate()145 SharedDesktopFrame* target) { in DuplicateMonitor()
71 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
108 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
201 queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(std::move(buffer))); in CaptureImage()
376 queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(std::move(frame))); in CreateCurrentFrameIfNecessary()
153 SharedDesktopFrame* target) { in Duplicate()
51 std::map<CGDirectDisplayID, std::unique_ptr<SharedDesktopFrame>> io_surfaces_;
79 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
56 SharedDesktopFrame::Wrap(std::move(desktop_frame_iosurface)) :
235 if (!queue_.current_frame()) queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(CreateFrame()));
134 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
256 queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(std::move(frame))); in CaptureFrame()344 std::unique_ptr<SharedDesktopFrame> frame = queue_.current_frame()->Share(); in CaptureScreen()