summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-14 11:19:04 +0100
committerwm4 <wm4@nowhere>2012-11-14 11:50:02 +0100
commite5f7976000af0fb8da5fd0c3a01cfd44e6e64516 (patch)
treed0745e2f279e2f7e9702d89cbf6e0e6bf58de3f5 /video/out
parenta86ec729868e9bd5777f5800527e5cd9bf79fe85 (diff)
downloadmpv-e5f7976000af0fb8da5fd0c3a01cfd44e6e64516.tar.bz2
mpv-e5f7976000af0fb8da5fd0c3a01cfd44e6e64516.tar.xz
video: add IMGFMT_Y16/PIX_FMT_GRAY16
This pixel format is sometimes used with yuv4mpeg. vo_direct3d used its own IMGFMT_Y16 internally for some reason. vo_opengl, vo_opengl_old, and vo_direct3d should be able to display this pixel format natively.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/vo_direct3d.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c
index f1c92d2a6e..3a70a081bf 100644
--- a/video/out/vo_direct3d.c
+++ b/video/out/vo_direct3d.c
@@ -49,8 +49,6 @@
// TODO: beg someone to add this (there is already IMGFMT_Y8)
-// equals MAKEFOURCC('Y', '1', '6', ' ')
-#define IMGFMT_Y16 0x20363159
#define IMGFMT_A8Y8 MAKEFOURCC('A', '8', 'Y', '8')
#define IMGFMT_IS_Y(x) ((x) == IMGFMT_Y8 || (x) == IMGFMT_Y16 || (x) == IMGFMT_A8Y8)