2010-01-30 16:57:40 +00:00
|
|
|
/* VFCAP_* values: they are flags, returned by query_format():
|
|
|
|
*
|
|
|
|
* This file is part of MPlayer.
|
|
|
|
*
|
|
|
|
* MPlayer is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* MPlayer is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
2002-04-11 20:55:10 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_VFCAP_H
|
|
|
|
#define MPLAYER_VFCAP_H
|
2008-01-01 21:35:58 +00:00
|
|
|
|
2002-04-11 20:55:10 +00:00
|
|
|
// set, if the given colorspace is supported (with or without conversion)
|
|
|
|
#define VFCAP_CSP_SUPPORTED 0x1
|
|
|
|
// set, if the given colorspace is supported _without_ conversion
|
|
|
|
#define VFCAP_CSP_SUPPORTED_BY_HW 0x2
|
|
|
|
// set if the driver/filter can draw OSD
|
|
|
|
#define VFCAP_OSD 0x4
|
|
|
|
// scaling up/down by hardware, or software:
|
|
|
|
#define VFCAP_HWSCALE_UP 0x10
|
|
|
|
#define VFCAP_HWSCALE_DOWN 0x20
|
|
|
|
#define VFCAP_SWSCALE 0x40
|
|
|
|
// driver/filter can do vertical flip (upside-down)
|
|
|
|
#define VFCAP_FLIP 0x80
|
|
|
|
|
|
|
|
// driver/hardware handles timing (blocking)
|
|
|
|
#define VFCAP_TIMER 0x100
|
2002-10-09 22:32:04 +00:00
|
|
|
// vf filter: accepts stride (put_image)
|
|
|
|
// vo driver: has draw_slice() support for the given csp
|
2002-04-11 20:55:10 +00:00
|
|
|
#define VFCAP_ACCEPT_STRIDE 0x400
|
2002-10-09 22:07:48 +00:00
|
|
|
// filter does postprocessing (so you shouldn't scale/filter image before it)
|
2002-04-11 20:55:10 +00:00
|
|
|
#define VFCAP_POSTPROC 0x800
|
2006-07-07 18:26:51 +00:00
|
|
|
// filter can draw EOSD
|
|
|
|
#define VFCAP_EOSD 0x2000
|
2007-04-27 14:25:36 +00:00
|
|
|
// filter will draw EOSD at screen resolution (without scaling)
|
|
|
|
#define VFCAP_EOSD_UNSCALED 0x4000
|
2009-02-18 12:30:15 +00:00
|
|
|
// used by libvo and vf_vo, indicates the VO does not support draw_slice for this format
|
|
|
|
#define VOCAP_NOSLICES 0x8000
|
2011-12-05 03:24:18 +00:00
|
|
|
#define VFCAP_OSD_FILTER 0x10000 // OSD is drawn in filter chain
|
|
|
|
#define VFCAP_EOSD_FILTER 0x20000 // EOSD is drawn in filter chain
|
2008-01-01 21:35:58 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_VFCAP_H */
|