Commit | Line | Data |
---|---|---|
2ba45a60 DM |
1 | /* VFCAP_* values: they are flags, returned by query_format(): |
2 | * | |
3 | * This file is part of MPlayer. | |
4 | * | |
5 | * MPlayer is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 2 of the License, or | |
8 | * (at your option) any later version. | |
9 | * | |
10 | * MPlayer is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License along | |
16 | * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 | */ | |
19 | ||
20 | #ifndef MPLAYER_VFCAP_H | |
21 | #define MPLAYER_VFCAP_H | |
22 | ||
23 | // set, if the given colorspace is supported (with or without conversion) | |
24 | #define VFCAP_CSP_SUPPORTED 0x1 | |
25 | // set, if the given colorspace is supported _without_ conversion | |
26 | #define VFCAP_CSP_SUPPORTED_BY_HW 0x2 | |
27 | // set if the driver/filter can draw OSD | |
28 | #define VFCAP_OSD 0x4 | |
29 | // set if the driver/filter can handle compressed SPU stream | |
30 | #define VFCAP_SPU 0x8 | |
31 | // scaling up/down by hardware, or software: | |
32 | #define VFCAP_HWSCALE_UP 0x10 | |
33 | #define VFCAP_HWSCALE_DOWN 0x20 | |
34 | #define VFCAP_SWSCALE 0x40 | |
35 | // driver/filter can do vertical flip (upside-down) | |
36 | #define VFCAP_FLIP 0x80 | |
37 | ||
38 | // driver/hardware handles timing (blocking) | |
39 | #define VFCAP_TIMER 0x100 | |
40 | // driver _always_ flip image upside-down (for ve_vfw) | |
41 | #define VFCAP_FLIPPED 0x200 | |
42 | // vf filter: accepts stride (put_image) | |
43 | // vo driver: has draw_slice() support for the given csp | |
44 | #define VFCAP_ACCEPT_STRIDE 0x400 | |
45 | // filter does postprocessing (so you shouldn't scale/filter image before it) | |
46 | #define VFCAP_POSTPROC 0x800 | |
47 | // filter cannot be reconfigured to different size & format | |
48 | #define VFCAP_CONSTANT 0x1000 | |
49 | // filter can draw EOSD | |
50 | #define VFCAP_EOSD 0x2000 | |
51 | // filter will draw EOSD at screen resolution (without scaling) | |
52 | #define VFCAP_EOSD_UNSCALED 0x4000 | |
53 | // used by libvo and vf_vo, indicates the VO does not support draw_slice for this format | |
54 | #define VOCAP_NOSLICES 0x8000 | |
55 | ||
56 | #endif /* MPLAYER_VFCAP_H */ |