xbmc
Public Member Functions | List of all members
KODI::RETRO::IRetroPlayerStream Class Referenceabstract
Inheritance diagram for KODI::RETRO::IRetroPlayerStream:
Inheritance graph
[legend]

Public Member Functions

virtual bool OpenStream (const StreamProperties &properties)=0
 Open a stream. More...
 
virtual bool GetStreamBuffer (unsigned int width, unsigned int height, StreamBuffer &buffer)=0
 Get a buffer for zero-copy stream data. More...
 
virtual void AddStreamData (const StreamPacket &packet)=0
 Add a data packet to a stream. More...
 
virtual void CloseStream ()=0
 Close the stream.
 

Member Function Documentation

◆ AddStreamData()

virtual void KODI::RETRO::IRetroPlayerStream::AddStreamData ( const StreamPacket packet)
pure virtual

Add a data packet to a stream.

Parameters
packetThe data packet

Implemented in KODI::RETRO::CRetroPlayerVideo, and KODI::RETRO::CRetroPlayerAudio.

◆ GetStreamBuffer()

virtual bool KODI::RETRO::IRetroPlayerStream::GetStreamBuffer ( unsigned int  width,
unsigned int  height,
StreamBuffer buffer 
)
pure virtual

Get a buffer for zero-copy stream data.

Parameters
widthThe framebuffer width, or 0 for no width specified
heightThe framebuffer height, or 0 for no height specified
[out]bufferThe buffer, or unmodified if false is returned
Returns
True if a buffer was returned, false otherwise

Implemented in KODI::RETRO::CRetroPlayerVideo, and KODI::RETRO::CRetroPlayerAudio.

◆ OpenStream()

virtual bool KODI::RETRO::IRetroPlayerStream::OpenStream ( const StreamProperties properties)
pure virtual

Open a stream.

Returns
True if the stream was opened, false otherwise

Implemented in KODI::RETRO::CRetroPlayerVideo, and KODI::RETRO::CRetroPlayerAudio.


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