From e5f7976000af0fb8da5fd0c3a01cfd44e6e64516 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 14 Nov 2012 11:19:04 +0100 Subject: 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. --- video/out/vo_direct3d.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/vo_direct3d.c') 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) -- cgit v1.2.3