Kodi Development  20.0
for Binary and Script based Add-Ons

Public Member Functions

void AddData (const game_stream_packet &packet)
 Add a data packet to a stream. More...
 
void Close ()
 Free the specified stream. More...
 
 CStream (const game_stream_properties &properties)
 
bool GetBuffer (unsigned int width, unsigned int height, game_stream_buffer &buffer)
 Get a buffer for zero-copy stream data. More...
 
bool IsOpen () const
 To check stream open was OK, e.g. after use of constructor. More...
 
bool Open (const game_stream_properties &properties)
 Create a stream for gameplay data. More...
 
void ReleaseBuffer (game_stream_buffer &buffer)
 Free an allocated buffer. More...
 

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