xbmc
xbmc
cores
RetroPlayer
streams
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
18
struct
StreamProperties
19
{
20
};
21
22
struct
StreamBuffer
23
{
24
};
25
26
struct
StreamPacket
27
{
28
};
29
30
class
IRetroPlayerStream
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
KODI
Controller configuration window.
Definition:
AudioDecoder.h:18
KODI::RETRO::StreamPacket
Definition:
IRetroPlayerStream.h:26
KODI::RETRO::StreamBuffer
Definition:
IRetroPlayerStream.h:22
KODI::RETRO::StreamProperties
Definition:
IRetroPlayerStream.h:18
RETRO
KODI::RETRO::IRetroPlayerStream
Definition:
IRetroPlayerStream.h:30
Generated by
1.8.13