xbmc
Public Member Functions | Protected Attributes | List of all members
KODI::GAME::CGameClientStreamVideo Class Reference
Inheritance diagram for KODI::GAME::CGameClientStreamVideo:
Inheritance graph
[legend]
Collaboration diagram for KODI::GAME::CGameClientStreamVideo:
Collaboration graph
[legend]

Public Member Functions

bool OpenStream (RETRO::IRetroPlayerStream *stream, const game_stream_properties &properties) override
 Open the stream. More...
 
void CloseStream () override
 Release the RetroPlayer stream resource.
 
void AddData (const game_stream_packet &packet) override
 Add a data packet to a stream. More...
 
- Public Member Functions inherited from KODI::GAME::IGameClientStream
virtual bool GetBuffer (unsigned int width, unsigned int height, game_stream_buffer &buffer)
 Get a buffer for zero-copy stream data. More...
 
virtual void ReleaseBuffer (game_stream_buffer &buffer)
 Free an allocated buffer. More...
 

Protected Attributes

RETRO::IRetroPlayerStreamm_stream = nullptr
 

Member Function Documentation

◆ AddData()

void CGameClientStreamVideo::AddData ( const game_stream_packet packet)
overridevirtual

Add a data packet to a stream.

Parameters
packetThe data packet

Implements KODI::GAME::IGameClientStream.

◆ OpenStream()

bool CGameClientStreamVideo::OpenStream ( RETRO::IRetroPlayerStream stream,
const game_stream_properties properties 
)
overridevirtual

Open the stream.

Parameters
streamThe RetroPlayer resource to take ownership of
Returns
True if the stream was opened, false otherwise

Implements KODI::GAME::IGameClientStream.


The documentation for this class was generated from the following files: