libgpac
Documentation of the core library of GPAC
|
#include "dx_hw.h"
Macros | |
#define | DDCONTEXT DDContext *dd = (DDContext *)dr->opaque; |
#define | DDBACK DDSurface *pBack = (DDSurface *) gf_list_get(dd->surfaces, 0); |
#define | GF_COL_TO_565(c) |
#define | GF_COL_TO_555(c) |
#define | YUV_NUM_TEST 20 |
Enumerations | |
enum | { GF_PIXEL_IYUV = GF_4CC('I', 'Y', 'U', 'V') , GF_PIXEL_I420 = GF_4CC('I', '4', '2', '0') , GF_PIXEL_UYNV = GF_4CC('U', 'Y', 'N', 'V') , GF_PIXEL_YUNV = GF_4CC('Y', 'U', 'N', 'V') , GF_PIXEL_V422 = GF_4CC('V', '4', '2', '2') , GF_PIXEL_YV12 = GF_4CC('Y', 'V', '1', '2') , GF_PIXEL_Y422 = GF_4CC('Y', '4', '2', '2') , GF_PIXEL_YUY2 = GF_4CC('Y', 'U', 'Y', '2') } |
Variables | |
static GF_GPACArg | DirectDrawArgs [] |
#define DDBACK DDSurface *pBack = (DDSurface *) gf_list_get(dd->surfaces, 0); |
#define GF_COL_TO_565 | ( | c | ) |
transfoms a 32-bits color into a 16-bits one.
#define GF_COL_TO_555 | ( | c | ) |
transfoms a 32-bits color into a 15-bits one.
#define YUV_NUM_TEST 20 |
anonymous enum |
|
static |
GF_Err CreateBackBuffer | ( | GF_VideoOutput * | dr, |
u32 | Width, | ||
u32 | Height, | ||
Bool | use_system_memory | ||
) |
GF_Err InitDirectDraw | ( | GF_VideoOutput * | dr, |
u32 | Width, | ||
u32 | Height | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void DD_InitYUV | ( | GF_VideoOutput * | dr | ) |
GF_Err DD_SetBackBufferSize | ( | GF_VideoOutput * | dr, |
u32 | width, | ||
u32 | height, | ||
Bool | use_system_memory | ||
) |
void DD_SetupDDraw | ( | GF_VideoOutput * | driv | ) |
|
static |