Add support for VDPAU video out, including hardware decoding.
[mplayer/glamo.git] / libmpcodecs / vfcap.h
blob9745a5c9bd92dfb02f2ba85dbece74f103e3004f
1 // VFCAP_* values: they are flags, returned by query_format():
3 #ifndef MPLAYER_VFCAP_H
4 #define MPLAYER_VFCAP_H
6 // set, if the given colorspace is supported (with or without conversion)
7 #define VFCAP_CSP_SUPPORTED 0x1
8 // set, if the given colorspace is supported _without_ conversion
9 #define VFCAP_CSP_SUPPORTED_BY_HW 0x2
10 // set if the driver/filter can draw OSD
11 #define VFCAP_OSD 0x4
12 // set if the driver/filter can handle compressed SPU stream
13 #define VFCAP_SPU 0x8
14 // scaling up/down by hardware, or software:
15 #define VFCAP_HWSCALE_UP 0x10
16 #define VFCAP_HWSCALE_DOWN 0x20
17 #define VFCAP_SWSCALE 0x40
18 // driver/filter can do vertical flip (upside-down)
19 #define VFCAP_FLIP 0x80
21 // driver/hardware handles timing (blocking)
22 #define VFCAP_TIMER 0x100
23 // driver _always_ flip image upside-down (for ve_vfw)
24 #define VFCAP_FLIPPED 0x200
25 // vf filter: accepts stride (put_image)
26 // vo driver: has draw_slice() support for the given csp
27 #define VFCAP_ACCEPT_STRIDE 0x400
28 // filter does postprocessing (so you shouldn't scale/filter image before it)
29 #define VFCAP_POSTPROC 0x800
30 // filter cannot be reconfigured to different size & format
31 #define VFCAP_CONSTANT 0x1000
32 // filter can draw EOSD
33 #define VFCAP_EOSD 0x2000
34 // filter will draw EOSD at screen resolution (without scaling)
35 #define VFCAP_EOSD_UNSCALED 0x4000
37 #endif /* MPLAYER_VFCAP_H */