Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Renders video frames provided by the game loop. More...
#include <RetroPlayerVideo.h>
Public Member Functions | |
CRetroPlayerVideo (CRPRenderManager &m_renderManager, CRPProcessInfo &m_processInfo) | |
~CRetroPlayerVideo () override | |
bool | OpenStream (const StreamProperties &properties) override |
Open a stream. | |
bool | GetStreamBuffer (unsigned int width, unsigned int height, StreamBuffer &buffer) override |
Get a buffer for zero-copy stream data. | |
void | AddStreamData (const StreamPacket &packet) override |
Add a data packet to a stream. | |
void | CloseStream () override |
Close the stream. | |
Public Member Functions inherited from KODI::RETRO::IRetroPlayerStream | |
virtual | ~IRetroPlayerStream ()=default |
Renders video frames provided by the game loop.
CRetroPlayerVideo::CRetroPlayerVideo | ( | CRPRenderManager & | m_renderManager, |
CRPProcessInfo & | m_processInfo ) |
|
override |
|
overridevirtual |
Add a data packet to a stream.
packet | The data packet |
Implements KODI::RETRO::IRetroPlayerStream.
|
overridevirtual |
Close the stream.
Implements KODI::RETRO::IRetroPlayerStream.
|
overridevirtual |
Get a buffer for zero-copy stream data.
width | The framebuffer width, or 0 for no width specified | |
height | The framebuffer height, or 0 for no height specified | |
[out] | buffer | The buffer, or unmodified if false is returned |
Implements KODI::RETRO::IRetroPlayerStream.
|
overridevirtual |
Open a stream.
Implements KODI::RETRO::IRetroPlayerStream.