GF_VideoSurface Struct Reference
[color]

Video framebuffer object. More...

#include <color.h>

Data Fields

u32 width
u32 height
s32 pitch_x
s32 pitch_y
u32 pixel_format
char * video_buffer
Bool is_hardware_memory
char * u_ptr
char * v_ptr
char * a_ptr

Detailed Description

The video framebuffer object represents uncompressed color data like images in a variety of formats. Data in the video framebuffer MUST be continuous.


Field Documentation

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

indicates U and V (and optional alpha) buffers in case of planar video with separated component. If not set, all components are in the video_buffer pointer


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

Generated on 4 May 2016 for libgpac by  doxygen 1.6.1