![]() |
libgpac
Documentation of the core library of GPAC
|
#include <directfb.h>#include <directfb_strings.h>#include <directfb_util.h>#include <direct/util.h>#include <gpac/constants.h>#include <gpac/events_constants.h>#include <gpac/events.h>#include "directfb_out.h"
Include dependency graph for directfb_wrapper.c:Data Structures | |
| struct | DirectFBVidCtx |
| struct | DeviceInfo |
Macros | |
| #define | DFBCHECK(x...) |
| #define | SET_DRAWING_FLAGS(flags) ctx->primary->SetDrawingFlags( ctx->primary, (flags) | (do_xor ? DSDRAW_XOR : 0) ) |
Functions | |
| size_t | DirectFBVid_GetCtxSizeOf (void) |
| 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) |
| static DFBEnumerationResult | enum_input_device (DFBInputDeviceID device_id, DFBInputDeviceDescription desc, void *data) |
| u32 | DirectFBVid_TranslatePixelFormatToGPAC (u32 dfbpf) |
| void | DirectFBVid_InitAndCreateSurface (DirectFBVidCtx *ctx, char *dfb_system) |
| 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) |
| Bool | DirectFBVid_CtxIsHwMemory (DirectFBVidCtx *ctx) |
| u32 | DirectFBVid_CtxPrimaryFlip (DirectFBVidCtx *ctx) |
| void | DirectFBVid_CtxSetIsInit (DirectFBVidCtx *ctx, Bool val) |
| void | DirectFBVid_CtxSetFlipMode (DirectFBVidCtx *ctx, u32 flip_mode) |
| void | DirectFBVid_CtxPrimaryProcessGetAccelerationMask (DirectFBVidCtx *ctx) |
| u32 | DirectFBVid_ShutdownWrapper (DirectFBVidCtx *ctx) |
| u32 | DirectFBVid_TranslatePixelFormatFromGPAC (u32 gpacpf) |
| 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) |
| void | directfb_translate_key (DFBInputDeviceKeyIdentifier DirectFBkey, u32 *flags, u32 *key_code) |
| u32 | DirectFBVid_ProcessMessageQueueWrapper (DirectFBVidCtx *ctx, u8 *type, u32 *flags, u32 *key_code, s32 *x, s32 *y, u32 *button) |
Variables | |
| static int | do_xor = 0 |
| struct __DirectFBVidCtx |
| Data Fields | ||
|---|---|---|
| IDirectFB * | dfb | |
| IDirectFBSurface * | primary | |
| u32 | width | |
| u32 | height | |
| u32 | pixel_format | |
| Bool | use_systems_memory | |
| Bool | disable_aa | |
| Bool | is_init | |
| int | accel_drawline | |
| int | accel_fillrect | |
| DFBSurfaceFlipFlags | flip_mode | |
| IDirectFBEventBuffer * | events | |
| IDirectFBInputDevice * | mouse | |
| IDirectFBWindow * | window | |
| IDirectFBDisplayLayer * | layer | |
| struct _DeviceInfo |
| #define DFBCHECK | ( | x... | ) |
| #define SET_DRAWING_FLAGS | ( | flags | ) | ctx->primary->SetDrawingFlags( ctx->primary, (flags) | (do_xor ? DSDRAW_XOR : 0) ) |
| size_t DirectFBVid_GetCtxSizeOf | ( | void | ) |
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
| void DirectFBVid_DrawHLineAlphaWrapper | ( | DirectFBVidCtx * | ctx, |
| u32 | x, | ||
| u32 | y, | ||
| u32 | length, | ||
| u8 | r, | ||
| u8 | g, | ||
| u8 | b, | ||
| u8 | alpha | ||
| ) |
function DirectFBVid_DrawHLineWrapper
| void DirectFBVid_DrawRectangleWrapper | ( | DirectFBVidCtx * | ctx, |
| u32 | x, | ||
| u32 | y, | ||
| u32 | width, | ||
| u32 | height, | ||
| u8 | r, | ||
| u8 | g, | ||
| u8 | b, | ||
| u8 | a | ||
| ) |
function DirectFBVid_DrawRectangleWrapper
function DirectFBVid_CtxPrimaryLock
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:function DirectFBVid_InitAndCreateSurface
function DirectFBVid_TranslatePixelFormatToGPAC
Here is the caller graph for this function:| void DirectFBVid_InitAndCreateSurface | ( | DirectFBVidCtx * | ctx, |
| char * | dfb_system | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void DirectFBVid_CtxPrimaryUnlock | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxPrimaryUnlock
Here is the caller graph for this function:| u32 DirectFBVid_CtxGetWidth | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxGetWidth
Here is the caller graph for this function:| u32 DirectFBVid_CtxGetHeight | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxGetHeight
Here is the caller graph for this function:| void * DirectFBVid_CtxGetPrimary | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxGetPrimary
Here is the caller graph for this function:| u32 DirectFBVid_CtxGetPixelFormat | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxGetPixelFormat
Here is the caller graph for this function:| Bool DirectFBVid_CtxIsHwMemory | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxIsHwMemory
Here is the caller graph for this function:| u32 DirectFBVid_CtxPrimaryFlip | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxPrimaryFlip
Here is the caller graph for this function:| void DirectFBVid_CtxSetIsInit | ( | DirectFBVidCtx * | ctx, |
| Bool | val | ||
| ) |
function DirectFBVid_CtxSetIsInit
Here is the caller graph for this function:| void DirectFBVid_CtxSetFlipMode | ( | DirectFBVidCtx * | ctx, |
| u32 | flip_mode | ||
| ) |
function DirectFBVid_CtxSetFlipMode
| void DirectFBVid_CtxPrimaryProcessGetAccelerationMask | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_CtxPrimaryProcessGetAccelerationMask
| u32 DirectFBVid_ShutdownWrapper | ( | DirectFBVidCtx * | ctx | ) |
function DirectFBVid_ShutdownWrapper
Here is the caller graph for this function:Blit a surface
function DirectFBVid_TranslatePixelFormatToGPAC
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:| void directfb_translate_key | ( | DFBInputDeviceKeyIdentifier | DirectFBkey, |
| u32 * | flags, | ||
| u32 * | key_code | ||
| ) |
function DirectFBVid_ProcessMessageQueueWrapper
function directfb_translate_key
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:
|
static |