Home
last modified time | relevance | path

Searched refs:SharedDesktopFrame (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/modules/desktop_capture/
Dshared_desktop_frame.cc19 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 …]
Dshared_desktop_frame.h26 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);
Ddesktop_and_cursor_composer_unittest.cc242 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 …]
Dcropped_desktop_frame_unittest.cc100 std::unique_ptr<SharedDesktopFrame> shared = in TEST()
101 SharedDesktopFrame::Wrap(std::move(frame)); in TEST()
Ddesktop_capturer_differ_wrapper.h63 std::unique_ptr<SharedDesktopFrame> last_frame_;
Ddesktop_capturer_differ_wrapper.cc199 std::unique_ptr<SharedDesktopFrame> frame = in OnCaptureResult()
200 SharedDesktopFrame::Wrap(std::move(input_frame)); in OnCaptureResult()
/external/webrtc/modules/desktop_capture/win/
Ddxgi_duplicator_controller.h176 SharedDesktopFrame* target);
179 bool DoDuplicateAll(Context* context, SharedDesktopFrame* target);
184 SharedDesktopFrame* target);
210 bool EnsureFrameCaptured(Context* context, SharedDesktopFrame* target);
Ddxgi_duplicator_controller.cc316 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()
Ddxgi_frame.h41 SharedDesktopFrame* frame() const;
57 std::unique_ptr<SharedDesktopFrame> frame_;
Ddxgi_adapter_duplicator.h47 bool Duplicate(Context* context, SharedDesktopFrame* target);
53 SharedDesktopFrame* target);
Ddxgi_frame.cc61 frame_ = SharedDesktopFrame::Wrap(std::move(frame)); in Prepare()
67 SharedDesktopFrame* DxgiFrame::frame() const { in frame()
Ddxgi_output_duplicator.h66 SharedDesktopFrame* target);
136 std::unique_ptr<SharedDesktopFrame> last_frame_;
Ddxgi_adapter_duplicator.cc131 SharedDesktopFrame* target) { in Duplicate()
145 SharedDesktopFrame* target) { in DuplicateMonitor()
Dscreen_capturer_win_gdi.h71 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
Dscreen_capturer_win_magnifier.h108 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
Dscreen_capturer_win_gdi.cc201 queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(std::move(buffer))); in CaptureImage()
Dscreen_capturer_win_magnifier.cc376 queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(std::move(frame))); in CreateCurrentFrameIfNecessary()
Ddxgi_output_duplicator.cc153 SharedDesktopFrame* target) { in Duplicate()
/external/webrtc/modules/desktop_capture/mac/
Ddesktop_frame_provider.h51 std::map<CGDirectDisplayID, std::unique_ptr<SharedDesktopFrame>> io_surfaces_;
Dscreen_capturer_mac.h79 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
Ddesktop_frame_provider.mm56 SharedDesktopFrame::Wrap(std::move(desktop_frame_iosurface)) :
Dscreen_capturer_mac.mm235 if (!queue_.current_frame()) queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(CreateFrame()));
/external/webrtc/modules/desktop_capture/linux/
Dscreen_capturer_x11.h134 ScreenCaptureFrameQueue<SharedDesktopFrame> queue_;
Dscreen_capturer_x11.cc256 queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(std::move(frame))); in CaptureFrame()
344 std::unique_ptr<SharedDesktopFrame> frame = queue_.current_frame()->Share(); in CaptureScreen()