summaryrefslogtreecommitdiffstats
path: root/fmt-conversion.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-19 12:19:55 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-19 12:19:55 +0000
commita212be5e60194ed6124c527c488a7f317007d745 (patch)
tree7bbe2f1305b61e655e771bdccf5dab752cbeaa35 /fmt-conversion.c
parent757e575aebb0036c21cf9182e2155712ee9815af (diff)
downloadmpv-a212be5e60194ed6124c527c488a7f317007d745.tar.bz2
mpv-a212be5e60194ed6124c527c488a7f317007d745.tar.xz
Re-add accidentally discarded comment about YUVJ format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28666 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'fmt-conversion.c')
-rw-r--r--fmt-conversion.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/fmt-conversion.c b/fmt-conversion.c
index 5054f2635a..ddedbb11c7 100644
--- a/fmt-conversion.c
+++ b/fmt-conversion.c
@@ -50,14 +50,19 @@ static const struct {
{IMGFMT_YVU9, PIX_FMT_YUV410P},
{IMGFMT_IF09, PIX_FMT_YUV410P},
{IMGFMT_YV12, PIX_FMT_YUV420P},
- {IMGFMT_YV12, PIX_FMT_YUVJ420P},
{IMGFMT_I420, PIX_FMT_YUV420P},
{IMGFMT_IYUV, PIX_FMT_YUV420P},
{IMGFMT_411P, PIX_FMT_YUV411P},
{IMGFMT_422P, PIX_FMT_YUV422P},
- {IMGFMT_422P, PIX_FMT_YUVJ422P},
{IMGFMT_444P, PIX_FMT_YUV444P},
+
+ // YUVJ are YUV formats that use the full Y range and not just
+ // 16 - 235 (see colorspaces.txt).
+ // Currently they are all treated the same way.
+ {IMGFMT_YV12, PIX_FMT_YUVJ420P},
+ {IMGFMT_422P, PIX_FMT_YUVJ422P},
{IMGFMT_444P, PIX_FMT_YUVJ444P},
+
{IMGFMT_XVMC_MOCO_MPEG2, PIX_FMT_XVMC_MPEG2_MC},
{IMGFMT_XVMC_IDCT_MPEG2, PIX_FMT_XVMC_MPEG2_IDCT},
{IMGFMT_VDPAU_MPEG1, PIX_FMT_VDPAU_MPEG1},