libgpac
Documentation of the core library of GPAC
directfb_out.c File Reference
+ Include dependency graph for directfb_out.c:

Macros

#define DirectFBVID()   DirectFBVidCtx *ctx = (DirectFBVidCtx *)driv->opaque
 

Functions

GF_Err DirectFBVid_Setup (GF_VideoOutput *driv, void *os_handle, void *os_display, u32 init_flags)
 
static void DirectFBVid_Shutdown (GF_VideoOutput *driv)
 
static GF_Err DirectFBVid_Flush (GF_VideoOutput *driv, GF_Window *dest)
 
GF_Err DirectFBVid_SetFullScreen (GF_VideoOutput *driv, u32 bFullScreenOn, u32 *screen_width, u32 *screen_height)
 
Bool DirectFBVid_ProcessMessageQueue (DirectFBVidCtx *ctx, GF_VideoOutput *driv)
 
static GF_Err DirectFBVid_ProcessEvent (GF_VideoOutput *driv, GF_Event *evt)
 
static GF_Err DirectFBVid_LockBackBuffer (GF_VideoOutput *driv, GF_VideoSurface *video_info, u32 do_lock)
 
static GF_Err DirectFBVid_Blit (GF_VideoOutput *driv, GF_VideoSurface *video_src, GF_Window *src_wnd, GF_Window *dst_wnd, u32 overlay_type)
 
void * DirectFBNewVideo ()
 
void DirectFBDeleteVideo (void *ifce)
 
GPAC_MODULE_EXPORT const u32QueryInterfaces ()
 
GPAC_MODULE_EXPORT GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
GPAC_MODULE_EXPORT void ShutdownInterface (GF_BaseInterface *ifce)
 

Variables

static GF_GPACArg DirectFBArgs []
 

Macro Definition Documentation

◆ DirectFBVID

#define DirectFBVID ( )    DirectFBVidCtx *ctx = (DirectFBVidCtx *)driv->opaque

Function Documentation

◆ DirectFBVid_Setup()

GF_Err DirectFBVid_Setup ( GF_VideoOutput driv,
void *  os_handle,
void *  os_display,
u32  init_flags 
)

function DirectFBVid_Setup

  • DirectFB setup
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_Shutdown()

static void DirectFBVid_Shutdown ( GF_VideoOutput driv)
static

function DirectFBVid_Shutdown

  • shutdown DirectFB module
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_Flush()

static GF_Err DirectFBVid_Flush ( GF_VideoOutput driv,
GF_Window dest 
)
static

function DirectFBVid_Flush

  • flushing buffer
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_SetFullScreen()

GF_Err DirectFBVid_SetFullScreen ( GF_VideoOutput driv,
u32  bFullScreenOn,
u32 screen_width,
u32 screen_height 
)

function DirectFBVid_SetFullScreen

  • set fullscreen mode
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_ProcessMessageQueue()

Bool DirectFBVid_ProcessMessageQueue ( DirectFBVidCtx *  ctx,
GF_VideoOutput driv 
)

function DirectFBVid_ProcessMessageQueue

  • handle DirectFB events
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_ProcessEvent()

static GF_Err DirectFBVid_ProcessEvent ( GF_VideoOutput driv,
GF_Event evt 
)
static

function DirectFBVid_ProcessEvent

  • process events
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_LockBackBuffer()

static GF_Err DirectFBVid_LockBackBuffer ( GF_VideoOutput driv,
GF_VideoSurface video_info,
u32  do_lock 
)
static

function DirectFBVid_LockBackBuffer

  • lock the surface to access certain data
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBVid_Blit()

static GF_Err DirectFBVid_Blit ( GF_VideoOutput driv,
GF_VideoSurface video_src,
GF_Window src_wnd,
GF_Window dst_wnd,
u32  overlay_type 
)
static

function DirectFBVid_Blit

  • blit a surface
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBNewVideo()

void* DirectFBNewVideo ( )

function DirectFBNewVideo

  • creates a DirectFb module
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DirectFBDeleteVideo()

void DirectFBDeleteVideo ( void *  ifce)

function DirectFBDeleteVideo

  • delete video
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QueryInterfaces()

GPAC_MODULE_EXPORT const u32* QueryInterfaces ( )

◆ LoadInterface()

GPAC_MODULE_EXPORT GF_BaseInterface* LoadInterface ( u32  InterfaceType)
+ Here is the call graph for this function:

◆ ShutdownInterface()

GPAC_MODULE_EXPORT void ShutdownInterface ( GF_BaseInterface ifce)
+ Here is the call graph for this function:

Variable Documentation

◆ DirectFBArgs

GF_GPACArg DirectFBArgs[]
static
Initial value:
= {
GF_DEF_ARG("devsys", NULL, "device for DFB", "false", NULL, GF_ARG_BOOL, 0),
GF_DEF_ARG("flipmode", NULL, "fliping mode for directFB\n" flip
"- waitsync: wait for vsync\n"
"- wait: wait only\n"
"- sync: sync only\n"
"- swap: swap only", "waitsync", NULL, GF_ARG_BOOL, 0),
{0},
}
#define GF_DEF_ARG(_a, _b, _c, _d, _e, _f, _g)
Definition: main.h:166
#define GF_ARG_BOOL
Definition: main.h:149