summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-06-26 01:22:53 +0300
committerUoti Urpala <uau@mplayer2.org>2011-06-26 06:27:50 +0300
commitaba8a1838aa882dace748a7402caf3087dc1f25f (patch)
treeacec9c61029e0aec6fdfb76763cc83db9968daee /codec-cfg.c
parent949626ee4608792ae7a4b2fe0a97cb593a9c3132 (diff)
downloadmpv-aba8a1838aa882dace748a7402caf3087dc1f25f.tar.bz2
mpv-aba8a1838aa882dace748a7402caf3087dc1f25f.tar.xz
video/colorspaces: add new 9/10-bit formats from libavcodec
Add new internal 9/10-bit IMGFMT values and mappings to the corresponding libav* PIX_FMT_* values. Partially based on a patch from Arne Bochem <arneb.mp@ccan.de>.
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index 792972fa3e..98b3088516 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -180,8 +180,13 @@ static const struct {
{"420P16LE", IMGFMT_420P16_LE},
{"420P16BE", IMGFMT_420P16_BE},
{"444P16", IMGFMT_444P16},
+ {"444P10", IMGFMT_444P10},
+ {"444P9", IMGFMT_444P9},
{"422P16", IMGFMT_422P16},
+ {"422P10", IMGFMT_422P10},
{"420P16", IMGFMT_420P16},
+ {"420P10", IMGFMT_420P10},
+ {"420P9", IMGFMT_420P9},
{"420A", IMGFMT_420A},
{"444P", IMGFMT_444P},
{"422P", IMGFMT_422P},