GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
directfb_out.h File Reference
+ This graph shows which files directly or indirectly include this file:

Macros

#define Bool   u32
 

Enumerations

enum  WINDOW_MODE { WINDOW_X11 = 1, WINDOW_SDL = 1 << 1 }
 
enum  FLIP_MODE { FLIP_SWAP = 1, FLIP_WAITFORSYNC = 1 << 1, FLIP_WAIT = 1 << 2, FLIP_ONSYNC = 1 << 3 }
 

Functions

u32 DirectFBVid_TranslatePixelFormatToGPAC (u32 dfbpf)
 
u32 DirectFBVid_TranslatePixelFormatFromGPAC (u32 gpacpf)
 
size_t DirectFBVid_GetCtxSizeOf (void)
 
void DirectFBVid_InitAndCreateSurface (DirectFBVidCtx *ctx, WINDOW_MODE window_mode)
 
void DirectFBVid_CtxSetFlipMode (DirectFBVidCtx *ctx, FLIP_MODE flip_mode)
 
void DirectFBVid_CtxPrimaryProcessGetAccelerationMask (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_ProcessMessageQueueWrapper (DirectFBVidCtx *ctx, u8 *type, u32 *flags, u32 *key_code, s32 *x, s32 *y, u32 *button)
 
void DirectFBVid_DrawHLineWrapper (DirectFBVidCtx *ctx, u32 x, u32 y, u32 length, u8 r, u8 g, u8 b)
 
void DirectFBVid_DrawHLineAlphaWrapper (DirectFBVidCtx *ctx, u32 x, u32 y, u32 length, u8 r, u8 g, u8 b, u8 alpha)
 
void DirectFBVid_DrawRectangleWrapper (DirectFBVidCtx *ctx, u32 x, u32 y, u32 width, u32 height, u8 r, u8 g, u8 b, u8 a)
 
u32 DirectFBVid_CtxPrimaryLock (DirectFBVidCtx *ctx, void **buf, u32 *pitch)
 
void DirectFBVid_CtxPrimaryUnlock (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_CtxGetWidth (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_CtxGetHeight (DirectFBVidCtx *ctx)
 
void * DirectFBVid_CtxGetPrimary (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_CtxGetPixelFormat (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_CtxIsHwMemory (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_CtxPrimaryFlip (DirectFBVidCtx *ctx)
 
void DirectFBVid_CtxSetDisableDisplay (DirectFBVidCtx *ctx, u32 val)
 
u32 DirectFBVid_CtxGetDisableDisplay (DirectFBVidCtx *ctx)
 
void DirectFBVid_CtxSetDisableAcceleration (DirectFBVidCtx *ctx, u32 val)
 
u32 DirectFBVid_CtxGetDisableAcceleration (DirectFBVidCtx *ctx)
 
void DirectFBVid_CtxSetIsInit (DirectFBVidCtx *ctx, u32 val)
 
u32 DirectFBVid_ShutdownWrapper (DirectFBVidCtx *ctx)
 
u32 DirectFBVid_BlitWrapper (DirectFBVidCtx *ctx, u32 video_src_width, u32 video_src_height, u32 video_src_pixel_format, char *video_src_buffer, s32 video_src_pitch_y, u32 src_wnd_x, u32 src_wnd_y, u32 src_wnd_w, u32 src_wnd_h, u32 dst_wnd_x, u32 dst_wnd_y, u32 dst_wnd_w, u32 dst_wnd_h, u32 overlay_type)
 

Macro Definition Documentation

#define Bool   u32

Enumeration Type Documentation

Enumerator
WINDOW_X11 
WINDOW_SDL 
enum FLIP_MODE
Enumerator
FLIP_SWAP 
FLIP_WAITFORSYNC 
FLIP_WAIT 
FLIP_ONSYNC 

Function Documentation

u32 DirectFBVid_TranslatePixelFormatToGPAC ( u32  dfbpf)

function DirectFBVid_TranslatePixelFormatToGPAC

  • translate pixel from DirectFb to GPAC

function DirectFBVid_InitAndCreateSurface

  • initialize and create DirectFB surface

function DirectFBVid_TranslatePixelFormatToGPAC

  • translate pixel from DirectFb to GPAC

+ Here is the caller graph for this function:

u32 DirectFBVid_TranslatePixelFormatFromGPAC ( u32  gpacpf)

function DirectFBVid_TranslatePixelFormatToGPAC

  • translate pixel from GPAC to DirectFB

Blit a surface

function DirectFBVid_TranslatePixelFormatToGPAC

  • translate pixel from GPAC to DirectFB

+ Here is the caller graph for this function:

size_t DirectFBVid_GetCtxSizeOf ( void  )

+ Here is the caller graph for this function:

void DirectFBVid_InitAndCreateSurface ( DirectFBVidCtx *  ctx,
WINDOW_MODE  window_mode 
)

+ Here is the caller graph for this function:

void DirectFBVid_CtxSetFlipMode ( DirectFBVidCtx *  ctx,
FLIP_MODE  flip_mode 
)

+ Here is the caller graph for this function:

void DirectFBVid_CtxPrimaryProcessGetAccelerationMask ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxPrimaryProcessGetAccelerationMask

  • Get a mask of drawing functions that are hardware accelerated with the current settings.

+ Here is the caller graph for this function:

u32 DirectFBVid_ProcessMessageQueueWrapper ( DirectFBVidCtx *  ctx,
u8 type,
u32 flags,
u32 key_code,
s32 x,
s32 y,
u32 button 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DirectFBVid_DrawHLineWrapper ( DirectFBVidCtx *  ctx,
u32  x,
u32  y,
u32  length,
u8  r,
u8  g,
u8  b 
)

function DirectFBVid_DrawHLineWrapper

  • using hardware accelerator to draw horizontal line

+ Here is the caller graph for this function:

void DirectFBVid_DrawHLineAlphaWrapper ( DirectFBVidCtx *  ctx,
u32  x,
u32  y,
u32  length,
u8  r,
u8  g,
u8  b,
u8  alpha 
)

function DirectFBVid_DrawHLineWrapper

  • using hardware accelerator to draw horizontal line with alpha

+ Here is the caller graph for this function:

void DirectFBVid_DrawRectangleWrapper ( DirectFBVidCtx *  ctx,
u32  x,
u32  y,
u32  width,
u32  height,
u8  r,
u8  g,
u8  b,
u8  a 
)

function DirectFBVid_DrawRectangleWrapper

  • using hardware accelerator to fill a rectangle with the given color

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxPrimaryLock ( DirectFBVidCtx *  ctx,
void **  buf,
u32 pitch 
)

function DirectFBVid_CtxPrimaryLock

  • lock the surface (in order to access certain data)

+ Here is the caller graph for this function:

void DirectFBVid_CtxPrimaryUnlock ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxPrimaryUnlock

  • unlock a surface after direct access (in order to fetch data)

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxGetWidth ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxGetWidth

  • returns screen width

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxGetHeight ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxGetHeight

  • returns screen height

+ Here is the caller graph for this function:

void* DirectFBVid_CtxGetPrimary ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxGetPrimary

  • return the primary surface

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxGetPixelFormat ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxGetPixelFormat

  • get pixel format

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxIsHwMemory ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxIsHwMemory

  • return value whether system memory is used or not

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxPrimaryFlip ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxPrimaryFlip

  • flipping buffers

+ Here is the caller graph for this function:

void DirectFBVid_CtxSetDisableDisplay ( DirectFBVidCtx *  ctx,
u32  val 
)

function DirectFBVid_CtxSetDisableDisplay

  • set disable display value

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxGetDisableDisplay ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxGetDisableDisplay

  • boolean showing whether display is enabled/disabled

+ Here is the caller graph for this function:

void DirectFBVid_CtxSetDisableAcceleration ( DirectFBVidCtx *  ctx,
u32  val 
)

function DirectFBVid_CtxSetDisableAcceleration

  • boolean showing whether hardware accelerator is enabled/disabled

+ Here is the caller graph for this function:

u32 DirectFBVid_CtxGetDisableAcceleration ( DirectFBVidCtx *  ctx)

function DirectFBVid_CtxGetDisableAcceleration

  • return disable_acceleration value

+ Here is the caller graph for this function:

void DirectFBVid_CtxSetIsInit ( DirectFBVidCtx *  ctx,
u32  val 
)

function DirectFBVid_CtxSetIsInit

  • boolean showing whether DirectFB is initialized

+ Here is the caller graph for this function:

u32 DirectFBVid_ShutdownWrapper ( DirectFBVidCtx *  ctx)

function DirectFBVid_ShutdownWrapper

  • shutdown DirectFB module

+ Here is the caller graph for this function:

u32 DirectFBVid_BlitWrapper ( DirectFBVidCtx *  ctx,
u32  video_src_width,
u32  video_src_height,
u32  video_src_pixel_format,
char *  video_src_buffer,
s32  video_src_pitch_y,
u32  src_wnd_x,
u32  src_wnd_y,
u32  src_wnd_w,
u32  src_wnd_h,
u32  dst_wnd_x,
u32  dst_wnd_y,
u32  dst_wnd_w,
u32  dst_wnd_h,
u32  overlay_type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: