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.
u32 GF_VideoSurface::width |
Width of the video framebuffer
u32 GF_VideoSurface::height |
Height of the video framebuffer
s32 GF_VideoSurface::pitch_x |
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)
s32 GF_VideoSurface::pitch_y |
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)
u32 GF_VideoSurface::pixel_format |
Pixel format of the video framebuffer
char* GF_VideoSurface::video_buffer |
pointer to the begining of the video memory (top-left corner)
Bool GF_VideoSurface::is_hardware_memory |
indicates that the video data reside on systems memory or video card one