25#define VIDEO_DEVICE_XV_COLORKEY_HELP \
26 _("video overlay colour key"), \
27 _("The colour key is used to tell the graphics card where to " \
28 "overlay the video image. Try different values, if you "\
29 "experience windows becoming transparent.")
31#define VIDEO_DEVICE_XV_AUTOPAINT_COLORKEY_HELP \
32 _("autopaint colour key"), \
33 _("Make Xv autopaint its colour key.")
35#define VIDEO_DEVICE_XV_FILTER_HELP \
36 _("bilinear scaling mode"), \
37 _("Selects the bilinear scaling mode for Permedia cards. " \
38 "The individual values are:\n\n" \
40 "0 - disable bilinear filtering\n" \
41 "1 - enable bilinear filtering\n\n" \
43 "0 - disable bilinear filtering\n" \
44 "1 - horizontal linear filtering\n" \
45 "2 - enable full bilinear filtering")
47#define VIDEO_DEVICE_XV_DOUBLE_BUFFER_HELP \
48 _("enable double buffering"), \
49 _("Double buffering will synchronize the update of the video " \
50 "image to the repainting of the entire screen (\"vertical " \
51 "retrace\"). This eliminates flickering and tearing artifacts, " \
52 "but will use more graphics memory.")
54#define VIDEO_DEVICE_XV_PORT_HELP \
55 _("Xv port number"), \
56 _("Selects the Xv port number to use (0 to autodetect).")
58#define VIDEO_DEVICE_XV_PITCH_ALIGNMENT_HELP \
59 _("pitch alignment workaround"), \
60 _("Some buggy video drivers need a workaround to function properly.")
62#define VIDEO_DEVICE_XV_DECL_SYNC_ATOMS \
63 static const char *const sync_atoms[] = \
64 { "XV_SYNC_TO_VBLANK", "XV_VSYNC" };
66#define VIDEO_DEVICE_XV_DECL_PREFER_TYPES \
68 xv_prefer_none, xv_prefer_overlay, xv_prefer_textured, xv_prefer_blitter, \
70 static const char *const prefer_labels[] = \
71 { "Any", "Overlay", "Textured Video", "Blitter", NULL }; \
72 static const char prefer_substrings[][8] = \
73 { "", "Overlay", "Texture", "Blitter" };
74#define VIDEO_DEVICE_XV_PREFER_TYPE_HELP \
75 _("video display method preference"), \
76 _("Selects which video output method is preferred. " \
77 "Detection is done using the reported Xv adaptor names.\n" \
78 "(Only applies when auto-detecting which Xv port to use.)")
80#define VIDEO_DEVICE_XV_DECL_BICUBIC_TYPES \
81 static const char *const bicubic_types[] = { "Off", "On", "Auto", NULL };
82#define VIDEO_DEVICE_XV_BICUBIC_HELP \
83 _("bicubic filtering"), \
84 _("This option controls bicubic filtering of the video image. " \
85 "It may be used instead of, or as well as, xine's deinterlacers.")
94 XV_PROP_AUTOPAINT_COLORKEY,
96 XV_PROP_DOUBLE_BUFFER,
97 XV_PROP_SYNC_TO_VBLANK,
108static const xv_prop_list_t xv_props_list[] = {
110 {
"XV_BICUBIC", XV_PROP_BICUBIC, 0 },
115 {
"XV_DOUBLE_BUFFER", XV_PROP_DOUBLE_BUFFER, 0 },
116 {
"XV_FILTER", XV_PROP_FILTER, 0 },
121 {
"XV_SYNC_TO_VBLANK", XV_PROP_SYNC_TO_VBLANK, 0 },
122 {
"XV_VSYNC", XV_PROP_SYNC_TO_VBLANK, 0 }
125static const xv_prop_list_t *xv_find_prop (
const char *
name) {
126 unsigned int b = 0, e =
sizeof (xv_props_list) /
sizeof (xv_prop_list_t), m = e >> 1;
128 int d = strcmp (
name, xv_props_list[m].
name);
130 return &xv_props_list[m];
#define VO_PROP_BRIGHTNESS
Definition: video_out.h:246
#define VO_PROP_CONTRAST
Definition: video_out.h:245
#define VO_CAP_CONTRAST
Definition: video_out.h:323
#define VO_PROP_SATURATION
Definition: video_out.h:244
#define VO_CAP_HUE
Definition: video_out.h:321
#define VO_CAP_BRIGHTNESS
Definition: video_out.h:324
#define VO_PROP_HUE
Definition: video_out.h:243
#define VO_CAP_SATURATION
Definition: video_out.h:322
#define VO_CAP_AUTOPAINT_COLORKEY
Definition: video_out.h:326
#define VO_CAP_COLORKEY
Definition: video_out.h:325
#define VO_CAP_COLOR_MATRIX
Definition: video_out.h:319
#define VO_CAP_GAMMA
Definition: video_out.h:332
#define VO_NUM_PROPERTIES
Definition: video_out.h:275
#define VO_PROP_GAMMA
Definition: video_out.h:253
const char name[16]
Definition: memcpy.c:570
NULL
Definition: xine_plugin.c:78