/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef MODULES_DESKTOP_CAPTURE_DESKTOP_FRAME_H_ #define MODULES_DESKTOP_CAPTURE_DESKTOP_FRAME_H_ #include <stdint.h> #include <memory> #include <vector> #include "modules/desktop_capture/desktop_geometry.h" #include "modules/desktop_capture/desktop_region.h" #include "modules/desktop_capture/shared_memory.h" #include "rtc_base/system/rtc_export.h" namespace webrtc { const float kStandardDPI = …; // DesktopFrame represents a video frame captured from the screen. class RTC_EXPORT DesktopFrame { … }; // A DesktopFrame that stores data in the heap. class RTC_EXPORT BasicDesktopFrame : public DesktopFrame { … }; // A DesktopFrame that stores data in shared memory. class RTC_EXPORT SharedMemoryDesktopFrame : public DesktopFrame { … }; } // namespace webrtc #endif // MODULES_DESKTOP_CAPTURE_DESKTOP_FRAME_H_