]> git.sesse.net Git - vlc/commitdiff
Add support for ProRes through Libavc
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 16 Sep 2011 09:39:23 +0000 (11:39 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 16 Sep 2011 09:39:23 +0000 (11:39 +0200)
Thanks Elvis

NEWS
include/vlc_fourcc.h
modules/codec/avcodec/fourcc.c
src/misc/fourcc.c

diff --git a/NEWS b/NEWS
index dc7a729af26a2394da25263f4e174643fb2d6715..fa78f58e2cb8b082c94faca893df9be56c37c514 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -60,11 +60,12 @@ Codecs:
  * Experimental Hardware decoding using Broadcom CrystalHD cards
  * New module for decoding EBU subtitles (.stl)
  * Support for 9bits and 10bits H.264/AVC decoding
- * Support for Lagarith Lossless video codec
  * Support for 20-bits PCM and DAT-12 (digital magnetic tapes) from RTP
  * New module for Dirac encoding, using the faster libschroedinger
    The Schroedinger module should be prefered to the Dirac one
  * Support for WMV Images, aka WMVP and WVP2, as used by Photo Story
+ * Support for Lagarith Lossless video codec
+ * Support for ProRes 422 video codec in 10bits
  * EIA-608 closed captions improvements
  * Support for JPEG 2000 and Motion JPEG 2000 in the Windows and Mac binaries
 
index b45f769106aad92369579851df1e3e726dfb4e02..83ad3d3b5840df1eb70e7d1cb1b6deabff425228 100644 (file)
 #define VLC_CODEC_JPEG2000  VLC_FOURCC('J','P','2','K')
 #define VLC_CODEC_LAGARITH  VLC_FOURCC('L','A','G','S')
 #define VLC_CODEC_FLASHSV2  VLC_FOURCC('F','S','V','2')
-
+#define VLC_CODEC_PRORES    VLC_FOURCC('a','p','c','n')
 
 /* Planar YUV 4:1:0 Y:V:U */
 #define VLC_CODEC_YV9       VLC_FOURCC('Y','V','U','9')
index 7cdd8392714040076962071df464955bc31de43d..ccccb2f5cdcf8cc0de3ef701b6496846e23ddd9e 100644 (file)
@@ -231,6 +231,11 @@ static const struct
     { VLC_CODEC_WMVP2, CODEC_ID_VC1IMAGE, VIDEO_ES },
 #endif
 
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 53, 15, 0 )
+    { VLC_CODEC_PRORES, CODEC_ID_PRORES, VIDEO_ES },
+#endif
+
+
 #if 0
 /*    UNTESTED VideoGames*/
     { VLC_FOURCC('W','C','3','V'), CODEC_ID_XAN_WC3,
index 6e8d85df5e97531e403a1a6150d2b465b120c138..c6933e47baed39c4fcbf5b88c43984ee5796e559 100644 (file)
@@ -651,6 +651,11 @@ static const entry_t p_list_video[] = {
         A("IV50"),
         A("iv50"),
 
+    B(VLC_CODEC_PRORES, "Apple ProRes 422"),
+        E("apch", "Apple ProRes 422 HQ"),
+        E("apcs", "Apple ProRes 422 LT"),
+        E("apco", "Apple ProRes 422 Proxy"),
+        E("ap4c", "Apple ProRes 4444"),
 
     /* */
     B(VLC_CODEC_YV12, "Planar 4:2:0 YVU"),