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 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.
 

Detailed Description

Game video stream properties

Used by Kodi to pass the currently required video stream settings to the addon

Member Data Documentation

◆ aspect_ratio

float game_stream_video_properties::aspect_ratio

On video stream used aspect ration.

Note
If aspect_ratio is <= 0.0, an aspect ratio of nominal_width / nominal_height is assumed

◆ 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 maximal used height.

◆ max_width

unsigned int game_stream_video_properties::max_width

The maximal used width.

◆ nominal_height

unsigned int game_stream_video_properties::nominal_height

The nominal used height.

◆ nominal_width

unsigned int game_stream_video_properties::nominal_width

The nominal used width.


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