[MPlayer-dev-eng] [PATCH] Add support for 10bit H.264

Arne Bochem arneb.mp at ccan.de
Sat May 7 20:32:46 CEST 2011


> I think the order should be the other way round.
Ah, yes, bit-depth seems to be in descending order.

Regards,
Arne Bochem
-------------- next part --------------
Index: etc/codecs.conf
===================================================================
--- etc/codecs.conf	(revision 33398)
+++ etc/codecs.conf	(working copy)
@@ -1064,7 +1064,7 @@
   format 0x10000005
   driver ffmpeg
   dll h264
-  out YV12,I420,IYUV
+  out YV12,I420,IYUV,420P16
 
 videocodec ffh264vdpau
   info "FFmpeg H.264 (VDPAU)"
Index: fmt-conversion.c
===================================================================
--- fmt-conversion.c	(revision 33398)
+++ fmt-conversion.c	(working copy)
@@ -76,6 +76,8 @@
 
     {IMGFMT_420P16_LE,  PIX_FMT_YUV420P16LE},
     {IMGFMT_420P16_BE,  PIX_FMT_YUV420P16BE},
+    {IMGFMT_420P16_LE,  PIX_FMT_YUV420P10LE},
+    {IMGFMT_420P16_BE,  PIX_FMT_YUV420P10BE},
     {IMGFMT_422P16_LE,  PIX_FMT_YUV422P16LE},
     {IMGFMT_422P16_BE,  PIX_FMT_YUV422P16BE},
     {IMGFMT_444P16_LE,  PIX_FMT_YUV444P16LE},


More information about the MPlayer-dev-eng mailing list