annotate ffmpeg/libavfilter/libmpcodecs/vfcap.h @ 13:844d341cf643 tip

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