Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

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.
 

Detailed Description

Game video stream properties

Used by Kodi to pass the currently required video stream settings to the add-on.

Member Data Documentation

◆ format

GAME_PIXEL_FORMAT game_stream_video_properties::format

The stream's pixel format.

◆ max_height

unsigned int game_stream_video_properties::max_height

The maximum height, in pixels.

◆ max_width

unsigned int game_stream_video_properties::max_width

The maximum width, in pixels.

◆ nominal_display_aspect_ratio

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.

◆ nominal_height

unsigned int game_stream_video_properties::nominal_height

The nominal height, in pixels.

◆ nominal_width

unsigned int game_stream_video_properties::nominal_width

The nominal width, in pixels.


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