Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <Game.h>
Public Member Functions | |
CStream ()=default | |
CStream (const game_stream_properties &properties) | |
~CStream () | |
bool | Open (const game_stream_properties &properties) |
Create a stream for gameplay data. | |
void | Close () |
Free the specified stream. | |
bool | GetBuffer (unsigned int width, unsigned int height, game_stream_buffer &buffer) |
Get a buffer for zero-copy stream data. | |
void | AddData (const game_stream_packet &packet) |
Add a data packet to a stream. | |
void | ReleaseBuffer (game_stream_buffer &buffer) |
Free an allocated buffer. | |
bool | IsOpen () const |
To check stream open was OK, e.g. after use of constructor. | |
|
default |
|
inline |
|
inline |