changeset 30859:ee4e8dbc4d8a

Add support for Apple's ProRes and AIC codecs, now that all prerequisites are in place. Add codecs.conf entry for both codecs, and qt_comp.h entry for ProRes (not used except for debugging, so mainly for completeness). Both work with -demuxer mov only, as all other QuickTime binary codecs. AIC support is for OS X only, and untested. Split out from a patch Andrew Wason (r e c t a l o g i c <at> rectalogic <dot> com) posted in June.
author sesse
date Mon, 15 Mar 2010 12:58:17 +0000
parents 62c00b7dd846
children 824ea0613f52
files etc/codecs.conf loader/qt_comp.h
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Mon Mar 15 12:54:54 2010 +0000
+++ b/etc/codecs.conf	Mon Mar 15 12:58:17 2010 +0000
@@ -2754,6 +2754,25 @@
   out BGR32,BGR24,BGR8,Y800,RGB32,RGB24,RGB8
   out YV12,YUY2
 
+videocodec qtaic
+  info "QuickTime AIC video decoder"
+  comment "Mac OS X only"
+  status untested
+  fourcc icod
+  driver qtvideo
+  dll "QuickTime.qts"
+  out UYVY
+
+videocodec qtprores
+  info "Apple ProRes 422 (HQ) decoder"
+  status working
+  fourcc apch
+  fourcc apcn
+  fourcc apcs
+  driver qtvideo
+  dll "AppleProResDecoder.qtx"
+  out YUY2
+
 ; VSS codecs (http://vsofts.com/solutions.html):
 
 videocodec vsslight
--- a/loader/qt_comp.h	Mon Mar 15 12:54:54 2010 +0000
+++ b/loader/qt_comp.h	Mon Mar 15 12:58:17 2010 +0000
@@ -25,6 +25,8 @@
 DECL_COMPONENT(qdm2d,"QDM2Decompressor",0)
 DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0)
 
+DECL_COMPONENT(prores,"IcpDecompressorComponentDispatch",0)
+
 //DECL_COMPONENT(,"",0)
 
 #endif /* MPLAYER_QT_COMP_H */