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

Hardware framebuffer packet More...

#include <game.h>

Public Attributes

uintptr_t framebuffer
 
unsigned int width
 Size of the image the client just drew.
 
unsigned int height
 
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.
 

Detailed Description

Hardware framebuffer packet

Member Data Documentation

◆ display_aspect_ratio

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

◆ framebuffer

uintptr_t game_stream_hw_framebuffer_packet::framebuffer

◆ height

unsigned int game_stream_hw_framebuffer_packet::height

◆ rotation

GAME_VIDEO_ROTATION game_stream_hw_framebuffer_packet::rotation

Video rotation angle defined by GAME_VIDEO_ROTATION.

◆ width

unsigned int game_stream_hw_framebuffer_packet::width

Size of the image the client just drew.

The framebuffer is allocated at the largest size the client said it would ever need, and a frame usually fills only part of it. Without these the rest of the framebuffer is shown along with the image.


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