diff options
author | wm4 <wm4@nowhere> | 2016-01-25 10:43:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-25 10:43:35 +0100 |
commit | 3a015b9ec7186a41c91f6d0a565aea237806c8f4 (patch) | |
tree | 2b72d13262e0377c1a4cdc01aeaea717e21b735d /video/out/vo_direct3d.c | |
parent | 3c4f13c23a0363bcfd9e78650795f8352056f7f2 (diff) | |
download | mpv-3a015b9ec7186a41c91f6d0a565aea237806c8f4.tar.bz2 mpv-3a015b9ec7186a41c91f6d0a565aea237806c8f4.tar.xz |
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.
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r-- | video/out/vo_direct3d.c | 2 |
1 files changed, 0 insertions, 2 deletions
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}, |