libgpac  0.4.5
Public Attributes
GF_VideoSurface Struct Reference

Video framebuffer object. More...

#include <gpac/color.h>

List of all members.

Public Attributes

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

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.


Member Data 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


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