directx.c File Reference

Include dependency graph for directx.c:


Data Structures

struct  picture_sys_t

Defines

#define MONITOR_DEFAULTTONEAREST   2
#define GUID_EXT
#define HW_YUV_TEXT   N_("Use hardware YUV->RGB conversions")
#define HW_YUV_LONGTEXT
#define SYSMEM_TEXT   N_("Use video buffers in system memory")
#define SYSMEM_LONGTEXT
#define TRIPLEBUF_TEXT   N_("Use triple buffering for overlays")
#define TRIPLEBUF_LONGTEXT
#define DEVICE_TEXT   N_("Name of desired display device")
#define DEVICE_LONGTEXT
#define WALLPAPER_TEXT   N_("Enable wallpaper mode ")
#define WALLPAPER_LONGTEXT
#define MAX_DIRECTBUFFERS   1

Functions

 DEFINE_GUID (IID_IDirectDraw2, 0xB3A6F3E0, 0x2B43, 0x11CF, 0xA2, 0xDE, 0x00, 0xAA, 0x00, 0xB9, 0x33, 0x56)
 DEFINE_GUID (IID_IDirectDrawSurface2, 0x57805885, 0x6eec, 0x11cf, 0x94, 0x41, 0xa8, 0x23, 0x03, 0xc1, 0x0e, 0x27)
static int OpenVideo (vlc_object_t *)
static void CloseVideo (vlc_object_t *)
static int Init (vout_thread_t *)
static void End (vout_thread_t *)
static int Manage (vout_thread_t *)
static void Display (vout_thread_t *, picture_t *)
static void FirstDisplay (vout_thread_t *, picture_t *)
static void SetPalette (vout_thread_t *, uint16_t *, uint16_t *, uint16_t *)
static int NewPictureVec (vout_thread_t *, picture_t *, int)
static void FreePictureVec (vout_thread_t *, picture_t *, int)
static int UpdatePictureStruct (vout_thread_t *, picture_t *, int)
static int DirectXInitDDraw (vout_thread_t *p_vout)
static void DirectXCloseDDraw (vout_thread_t *p_vout)
static int DirectXCreateDisplay (vout_thread_t *p_vout)
static void DirectXCloseDisplay (vout_thread_t *p_vout)
static int DirectXCreateSurface (vout_thread_t *p_vout, LPDIRECTDRAWSURFACE2 *, int, int, int)
static void DirectXCloseSurface (vout_thread_t *p_vout, LPDIRECTDRAWSURFACE2)
static int DirectXCreateClipper (vout_thread_t *p_vout)
static void DirectXGetDDrawCaps (vout_thread_t *p_vout)
static int DirectXLockSurface (vout_thread_t *p_vout, picture_t *p_pic)
static int DirectXUnlockSurface (vout_thread_t *p_vout, picture_t *p_pic)
static DWORD DirectXFindColorkey (vout_thread_t *p_vout, uint32_t *i_color)
void SwitchWallpaperMode (vout_thread_t *, bool)
static int FindDevicesCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int WallpaperCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
BOOL WINAPI DirectXEnumCallback (GUID *p_guid, LPTSTR psz_desc, LPTSTR psz_drivername, VOID *p_context, HMONITOR hmon)
int DirectDrawUpdateOverlay (vout_thread_t *p_vout)
BOOL WINAPI DirectXEnumCallback2 (GUID *p_guid, LPTSTR psz_desc, LPTSTR psz_drivername, VOID *p_context, HMONITOR hmon)

Variables

static const char *const ppsz_dev [] = { "" }
static const char *const ppsz_dev_text [] = { N_("Default") }

Define Documentation

#define DEVICE_LONGTEXT

Value:

N_("In a multiple monitor configuration, you can " \
    "specify the Windows device name of the display that you want the video " \
    "window to open on. For example, \"\\\\.\\DISPLAY1\" or " \
    "\"\\\\.\\DISPLAY2\"." )

#define DEVICE_TEXT   N_("Name of desired display device")

#define GUID_EXT

#define HW_YUV_LONGTEXT

Value:

N_( \
    "Try to use hardware acceleration for YUV->RGB conversions. " \
    "This option doesn't have any effect when using overlays." )

#define HW_YUV_TEXT   N_("Use hardware YUV->RGB conversions")

#define MAX_DIRECTBUFFERS   1

#define MONITOR_DEFAULTTONEAREST   2

#define SYSMEM_LONGTEXT

Value:

N_( \
    "Create video buffers in system memory instead of video memory. This " \
    "isn't recommended as usually using video memory allows to benefit from " \
    "more hardware acceleration (like rescaling or YUV->RGB conversions). " \
    "This option doesn't have any effect when using overlays." )

#define SYSMEM_TEXT   N_("Use video buffers in system memory")

#define TRIPLEBUF_LONGTEXT

Value:

N_( \
    "Try to use triple buffering when using YUV overlays. That results in " \
    "much better video quality (no flickering)." )

#define TRIPLEBUF_TEXT   N_("Use triple buffering for overlays")

#define WALLPAPER_LONGTEXT

Value:

N_( \
    "The wallpaper mode allows you to display the video as the desktop " \
    "background. Note that this feature only works in overlay mode and " \
    "the desktop must not already have a wallpaper." )

#define WALLPAPER_TEXT   N_("Enable wallpaper mode ")


Function Documentation

static void CloseVideo ( vlc_object_t  )  [static]

DEFINE_GUID ( IID_IDirectDrawSurface2  ,
0x57805885  ,
0x6eec  ,
0x11cf  ,
0x94  ,
0x41  ,
0xa8  ,
0x23  ,
0x03  ,
0xc1  ,
0x0e  ,
0x27   
)

DEFINE_GUID ( IID_IDirectDraw2  ,
0xB3A6F3E0  ,
0x2B43  ,
0x11CF  ,
0xA2  ,
0xDE  ,
0x00  ,
0xAA  ,
0x00  ,
0xB9  ,
0x33  ,
0x56   
)

int DirectDrawUpdateOverlay ( vout_thread_t p_vout  ) 

static void DirectXCloseDDraw ( vout_thread_t p_vout  )  [static]

static void DirectXCloseDisplay ( vout_thread_t p_vout  )  [static]

static void DirectXCloseSurface ( vout_thread_t p_vout,
LPDIRECTDRAWSURFACE2   
) [static]

static int DirectXCreateClipper ( vout_thread_t p_vout  )  [static]

static int DirectXCreateDisplay ( vout_thread_t p_vout  )  [static]

static int DirectXCreateSurface ( vout_thread_t p_vout,
LPDIRECTDRAWSURFACE2 *  ,
int  ,
int  ,
int   
) [static]

BOOL WINAPI DirectXEnumCallback ( GUID p_guid,
LPTSTR  psz_desc,
LPTSTR  psz_drivername,
VOID *  p_context,
HMONITOR  hmon 
)

BOOL WINAPI DirectXEnumCallback2 ( GUID p_guid,
LPTSTR  psz_desc,
LPTSTR  psz_drivername,
VOID *  p_context,
HMONITOR  hmon 
)

static DWORD DirectXFindColorkey ( vout_thread_t p_vout,
uint32_t *  i_color 
) [static]

static void DirectXGetDDrawCaps ( vout_thread_t p_vout  )  [static]

static int DirectXInitDDraw ( vout_thread_t p_vout  )  [static]

static int DirectXLockSurface ( vout_thread_t p_vout,
picture_t p_pic 
) [static]

static int DirectXUnlockSurface ( vout_thread_t p_vout,
picture_t p_pic 
) [static]

static void Display ( vout_thread_t ,
picture_t  
) [static]

static void End ( vout_thread_t  )  [static]

static int FindDevicesCallback ( vlc_object_t ,
char const *  ,
vlc_value_t  ,
vlc_value_t  ,
void *   
) [static]

static void FirstDisplay ( vout_thread_t ,
picture_t  
) [static]

static void FreePictureVec ( vout_thread_t ,
picture_t ,
int   
) [static]

static int Init ( vout_thread_t  )  [static]

static int Manage ( vout_thread_t  )  [static]

static int NewPictureVec ( vout_thread_t ,
picture_t ,
int   
) [static]

static int OpenVideo ( vlc_object_t  )  [static]

static void SetPalette ( vout_thread_t ,
uint16_t *  ,
uint16_t *  ,
uint16_t *   
) [static]

void SwitchWallpaperMode ( vout_thread_t ,
bool   
)

static int UpdatePictureStruct ( vout_thread_t ,
picture_t ,
int   
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static int WallpaperCallback ( vlc_object_t ,
char const *  ,
vlc_value_t  ,
vlc_value_t  ,
void *   
) [static]


Variable Documentation

const char* const ppsz_dev[] = { "" } [static]

const char* const ppsz_dev_text[] = { N_("Default") } [static]


Generated on Wed Aug 13 08:03:09 2008 for VLC by  doxygen 1.5.1