Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages

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_tdata
 Pointer to the video stream data given to Kodi.
 
size_t size
 Size of the data array.
 

Detailed Description

Video stream packet

This packet contains video stream data passed to Kodi.

Member Data Documentation

◆ data

const uint8_t* game_stream_video_packet::data

Pointer to the video stream data given to Kodi.

◆ display_aspect_ratio

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.

◆ height

unsigned int game_stream_video_packet::height

Video height, in pixels.

◆ rotation

GAME_VIDEO_ROTATION game_stream_video_packet::rotation

Video rotation angle defined by GAME_VIDEO_ROTATION.

◆ size

size_t game_stream_video_packet::size

Size of the data array.

◆ width

unsigned int game_stream_video_packet::width

Video width, in pixels.


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