|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
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. | |
Hardware framebuffer packet
| 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.
| uintptr_t game_stream_hw_framebuffer_packet::framebuffer |
| unsigned int game_stream_hw_framebuffer_packet::height |
| GAME_VIDEO_ROTATION game_stream_hw_framebuffer_packet::rotation |
Video rotation angle defined by GAME_VIDEO_ROTATION.
| 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.