libgpac 0.4.5
|
Video framebuffer object. More...
#include <gpac/color.h>
Public Attributes | |
u32 | width |
u32 | height |
s32 | pitch_x |
s32 | pitch_y |
u32 | pixel_format |
char * | video_buffer |
Bool | is_hardware_memory |
The video framebuffer object represents uncompressed color data like images in a variety of formats. Data in the video framebuffer MUST be continuous.
Width of the video framebuffer
Height of the video framebuffer
Horizontal pitch of the video framebuffer (number of bytes to skip to go to next (right) pixel in the buffer). May be negative for some framebuffers (embedded devices). 0 means linear frame buffer (pitch_x==bytes per pixel)
Vertical pitch of the video framebuffer (number of bytes to skip to go down one line in the buffer). May be negative for some framebuffers (embedded devices)
Pixel format of the video framebuffer
pointer to the begining of the video memory (top-left corner)
indicates that the video data reside on systems memory or video card one