summaryrefslogtreecommitdiffstats
path: root/video/vfcap.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-21 22:08:24 +0100
committerwm4 <wm4@nowhere>2015-01-21 22:08:24 +0100
commita1ed13869c1586897c323ebf65cfd3975092ffad (patch)
treeda92c9384cc192111ca54784713c4e9307dc9cef /video/vfcap.h
parent2a691d1ede42e8466f1f880c390659d1f0145e94 (diff)
downloadmpv-a1ed13869c1586897c323ebf65cfd3975092ffad.tar.bz2
mpv-a1ed13869c1586897c323ebf65cfd3975092ffad.tar.xz
video: remove vfcap.h
And remove all uses of the VFCAP_CSP_SUPPORTED* constants. This is supposed to reduce conversions if many filters are used (with many incompatible pixel formats), and also for preferring the VO's natively supported pixel formats (as opposed to conversion). This is worthless by now. Not only do the main VOs not use software conversion, but also the way vf_lavfi and libavfilter work mostly break the way the old MPlayer mechanism worked. Other important filters like vf_vapoursynth do not support "proper" format negotation either. Part of this was already removed with the vf_scale cleanup from today. While I'm touching every single VO, also fix the query_format argument (it's not a FourCC anymore).
Diffstat (limited to 'video/vfcap.h')
-rw-r--r--video/vfcap.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/video/vfcap.h b/video/vfcap.h
deleted file mode 100644
index 281a2f3c9d..0000000000
--- a/video/vfcap.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* 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.
- */
-
-#ifndef MPLAYER_VFCAP_H
-#define MPLAYER_VFCAP_H
-
-// 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
-
-#endif /* MPLAYER_VFCAP_H */