|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Video stream packet More...
#include <game.h>
Public Attributes | |
| unsigned int | width |
| Video width, in pixels. | |
| unsigned int | height |
| Video height, in pixels. | |
| float | display_aspect_ratio |
| Display aspect ratio (DAR) to use when showing the video frame. | |
| GAME_VIDEO_ROTATION | rotation |
| Video rotation angle defined by GAME_VIDEO_ROTATION. | |
| const uint8_t * | data |
| Pointer to the video stream data given to Kodi. | |
| size_t | size |
| Size of the data array. | |
Video stream packet
This packet contains video stream data passed to Kodi.
| float game_stream_video_packet::display_aspect_ratio |
Display aspect ratio (DAR) to use when showing the video frame.
An aspect ratio of 0.0 indicates square pixels, i.e. a DAR of W/H.
| unsigned int game_stream_video_packet::height |
Video height, in pixels.
| GAME_VIDEO_ROTATION game_stream_video_packet::rotation |
Video rotation angle defined by GAME_VIDEO_ROTATION.
| size_t game_stream_video_packet::size |
Size of the data array.
| unsigned int game_stream_video_packet::width |
Video width, in pixels.