![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Game video stream properties More...
#include <game.h>
Public Attributes | |
GAME_PIXEL_FORMAT | format |
The stream's pixel format. | |
unsigned int | nominal_width |
The nominal width, in pixels. | |
unsigned int | nominal_height |
The nominal height, in pixels. | |
float | nominal_display_aspect_ratio |
The nominal display aspect ratio (DAR) used to show the video frame. | |
unsigned int | max_width |
The maximum width, in pixels. | |
unsigned int | max_height |
The maximum height, in pixels. | |
Game video stream properties
Used by Kodi to pass the currently required video stream settings to the add-on.
GAME_PIXEL_FORMAT game_stream_video_properties::format |
The stream's pixel format.
unsigned int game_stream_video_properties::max_height |
The maximum height, in pixels.
unsigned int game_stream_video_properties::max_width |
The maximum width, in pixels.
float game_stream_video_properties::nominal_display_aspect_ratio |
The nominal display aspect ratio (DAR) used to show the video frame.
An aspect ratio of 0.0 indicates square pixels, i.e. a DAR of W/H.
unsigned int game_stream_video_properties::nominal_height |
The nominal height, in pixels.
unsigned int game_stream_video_properties::nominal_width |
The nominal width, in pixels.