2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 class IScreenshotSurface
14 virtual ~IScreenshotSurface() = default;
15 virtual bool Capture() { return false; }
16 virtual void CaptureVideo(bool blendToBuffer
) {}
18 int GetWidth() const { return m_width
; }
19 int GetHeight() const { return m_height
; }
20 int GetStride() const { return m_stride
; }
21 unsigned char* GetBuffer() const { return m_buffer
; }
35 unsigned char* m_buffer
{nullptr};