The for Video stream used data system
Used to give Addon currently used video stream configuration on Kodi and arrays to give related data to Kodi on callbacks.
| struct game_stream_video_packet |
Video stream packet
This packet contains video stream data passed to Kodi.
| Class Members | ||
|---|---|---|
| unsigned int | width | Video height. |
| unsigned int | height | Video width. |
| GAME_VIDEO_ROTATION | rotation | Width GAME_VIDEO_ROTATION defined rotation angle. |
| const uint8_t * | data | Pointer for video stream data given to Kodi. |
| size_t | size | Size of data array. |
| struct game_stream_video_properties |
Game video stream properties
Used by Kodi to pass the currently required video stream settings to the addon
| Class Members | ||
|---|---|---|
| GAME_PIXEL_FORMAT | format | The stream's pixel format. |
| unsigned int | nominal_width | The nominal used width. |
| unsigned int | nominal_height | The nominal used height. |
| unsigned int | max_width | The maximal used width. |
| unsigned int | max_height | The maximal used height. |
| float | aspect_ratio |
On video stream used aspect ration.
|
| enum GAME_PIXEL_FORMAT |
| enum GAME_VIDEO_ROTATION |