changeset 34924:6b13e41172e2

Support more libopenjpeg pixel formats.
author cehoyos
date Thu, 12 Jul 2012 20:15:25 +0000
parents eb76937af57e
children ad4e106e9ffe
files codec-cfg.h etc/codecs.conf
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.h	Thu Jul 12 19:55:53 2012 +0000
+++ b/codec-cfg.h	Thu Jul 12 20:15:25 2012 +0000
@@ -20,7 +20,7 @@
 #define MPLAYER_CODEC_CFG_H
 
 #define CODECS_MAX_FOURCC       92
-#define CODECS_MAX_OUTFMT       16
+#define CODECS_MAX_OUTFMT       32
 #define CODECS_MAX_INFMT        16
 
 // Global flags:
--- a/etc/codecs.conf	Thu Jul 12 19:55:53 2012 +0000
+++ b/etc/codecs.conf	Thu Jul 12 20:15:25 2012 +0000
@@ -1850,10 +1850,12 @@
   driver ffmpeg
   dll "libopenjpeg"
   out RGB64LE,RGB64BE
+  out RGB48LE,RGB48BE
   out RGB24,RGB32,BGR32,Y8,Y800
-  out 420P16,420P10,420P9
-  out 422P16,422P10,422P9
-  out 444P16,444P10,444P9
+  out 420P16,420P14,420P12,420P10,420P9
+  out 422P16,422P14,422P12,422P10,422P9
+  out 444P16,444P14,444P12,444P10,444P9
+  out 420A,422A,444A
 
 videocodec ffj2k
   info "FFmpeg JPEG 2000"