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 data system More...

Classes

struct  game_stream_video_properties
 Game video stream properties More...
 
struct  game_stream_video_packet
 Video stream packet More...
 

Typedefs

typedef enum GAME_PIXEL_FORMAT GAME_PIXEL_FORMAT
 Pixel format
 
typedef enum GAME_VIDEO_ROTATION GAME_VIDEO_ROTATION
 Video rotation orientation
 
typedef struct game_stream_video_properties game_stream_video_properties
 Game video stream properties
 
typedef struct game_stream_video_packet game_stream_video_packet
 Video stream packet
 

Enumerations

enum  GAME_PIXEL_FORMAT { GAME_PIXEL_FORMAT_UNKNOWN , GAME_PIXEL_FORMAT_0RGB8888 , GAME_PIXEL_FORMAT_RGB565 , GAME_PIXEL_FORMAT_0RGB1555 }
 Pixel format More...
 
enum  GAME_VIDEO_ROTATION { GAME_VIDEO_ROTATION_0 , GAME_VIDEO_ROTATION_90_CCW , GAME_VIDEO_ROTATION_180_CCW , GAME_VIDEO_ROTATION_270_CCW }
 Video rotation orientation More...
 

Detailed Description

Video stream data system

Used to provide the add-on with the current video stream configuration from Kodi and arrays to pass related data back to Kodi during callbacks.

Typedef Documentation

◆ GAME_PIXEL_FORMAT

Pixel format

Video RGB color model format requested by Kodi.

◆ game_stream_video_packet

typedef struct game_stream_video_packet game_stream_video_packet

Video stream packet

This packet contains video stream data passed to Kodi.

◆ game_stream_video_properties

typedef struct game_stream_video_properties game_stream_video_properties

Game video stream properties

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

◆ GAME_VIDEO_ROTATION

Video rotation orientation

Defines how the video is rotated.

Enumeration Type Documentation

◆ GAME_PIXEL_FORMAT

Pixel format

Video RGB color model format requested by Kodi.

Enumerator
GAME_PIXEL_FORMAT_UNKNOWN 
GAME_PIXEL_FORMAT_0RGB8888 

0RGB8888 Format

GAME_PIXEL_FORMAT_RGB565 

RGB565 Format.

GAME_PIXEL_FORMAT_0RGB1555 

0RGB1555 Format

◆ GAME_VIDEO_ROTATION

Video rotation orientation

Defines how the video is rotated.

Enumerator
GAME_VIDEO_ROTATION_0 

0° without rotation

GAME_VIDEO_ROTATION_90_CCW 

Rotate 90° counterclockwise.

GAME_VIDEO_ROTATION_180_CCW 

Rotate 180° counterclockwise.

GAME_VIDEO_ROTATION_270_CCW 

Rotate 270° counterclockwise.