xbmc
IRetroPlayerStream.h
1 /*
2  * Copyright (C) 2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "RetroPlayerStreamTypes.h"
12 
13 namespace KODI
14 {
15 namespace RETRO
16 {
17 
19 {
20 };
21 
23 {
24 };
25 
27 {
28 };
29 
31 {
32 public:
33  virtual ~IRetroPlayerStream() = default;
34 
40  virtual bool OpenStream(const StreamProperties& properties) = 0;
41 
51  virtual bool GetStreamBuffer(unsigned int width, unsigned int height, StreamBuffer& buffer) = 0;
52 
58  virtual void AddStreamData(const StreamPacket& packet) = 0;
59 
63  virtual void CloseStream() = 0;
64 };
65 
66 } // namespace RETRO
67 } // namespace KODI
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: IRetroPlayerStream.h:26
Definition: IRetroPlayerStream.h:22
Definition: IRetroPlayerStream.h:18
Definition: IRetroPlayerStream.h:30