From 3a015b9ec7186a41c91f6d0a565aea237806c8f4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Jan 2016 10:43:35 +0100 Subject: video: remove some useless old RGB formats Some VOs had support for these - remove them. Typically, these formats will have only some use in cases where using RGB software conversion with libswscale is faster than letting the VO/GPU do it (i.e. almost never). For the sake of testing this case, keep IMGFMT_RGB565. This is the least messy format, because it has no padding/alpha bits with unknown semantics. Note that decoding to these formats still works. We'll let libswscale repack the data to whatever the VO in use can take. --- 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 811a3e43a9..e074572c27 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -222,8 +222,6 @@ static const struct fmt_entry fmt_table[] = { {IMGFMT_RGB32, D3DFMT_X8B8G8R8}, {IMGFMT_BGR24, D3DFMT_R8G8B8}, //untested {IMGFMT_RGB565, D3DFMT_R5G6B5}, - {IMGFMT_RGB555, D3DFMT_X1R5G5B5}, - {IMGFMT_RGB8, D3DFMT_R3G3B2}, //untested // grayscale (can be considered both packed and planar) {IMGFMT_Y8, D3DFMT_L8}, {IMGFMT_Y16, D3DFMT_L16}, -- cgit v1.2.3