changeset 6712:5b3acf9fd50a libavcodec

Add long names to AVCodec declarations. patch by Stefano Sabatini, stefano.sabatini-lala poste it
author diego
date Sun, 27 Apr 2008 22:39:51 +0000
parents 78c7765d9618
children f282270c589f
files 8bps.c ac3dec.c ac3enc.c apedec.c avs.c dsicinav.c dvbsub.c dvbsubdec.c dvdsubdec.c dvdsubenc.c dxa.c gif.c gifdec.c idcinvideo.c jpeglsdec.c jpeglsenc.c kmvc.c lcldec.c lclenc.c liba52.c libamr.c libfaac.c libmp3lame.c libtheoraenc.c libvorbis.c mpegaudiodec.c mpegaudioenc.c qdm2.c qtrle.c qtrleenc.c ra144.c ra288.c rawdec.c rawenc.c rl2.c roqaudioenc.c roqvideodec.c roqvideoenc.c rpza.c rv10.c rv30.c rv40.c smacker.c smc.c snow.c svq1dec.c svq1enc.c svq3.c ulti.c vc1.c vmdav.c vp6.c xan.c
diffstat 53 files changed, 78 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/8bps.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/8bps.c	Sun Apr 27 22:39:51 2008 +0000
@@ -230,4 +230,5 @@
         decode_end,
         decode_frame,
         CODEC_CAP_DR1,
+        .long_name = "QuickTime 8BPS video",
 };
--- a/ac3dec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/ac3dec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -1220,4 +1220,5 @@
     .init = ac3_decode_init,
     .close = ac3_decode_end,
     .decode = ac3_decode_frame,
+    .long_name = "ATSC A/52 / AC-3",
 };
--- a/ac3enc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/ac3enc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -1363,4 +1363,5 @@
     AC3_encode_frame,
     AC3_encode_close,
     NULL,
+    .long_name = "ATSC A/52 / AC-3",
 };
--- a/apedec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/apedec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -917,4 +917,5 @@
     NULL,
     ape_decode_close,
     ape_decode_frame,
+    .long_name = "Monkey's Audio",
 };
--- a/avs.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/avs.c	Sun Apr 27 22:39:51 2008 +0000
@@ -158,4 +158,5 @@
     NULL,
     avs_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "AVS (Audio Video Standard) video",
 };
--- a/dsicinav.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/dsicinav.c	Sun Apr 27 22:39:51 2008 +0000
@@ -348,6 +348,7 @@
     cinvideo_decode_end,
     cinvideo_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "Delphine Software International CIN video",
 };
 
 AVCodec dsicinaudio_decoder = {
@@ -359,4 +360,5 @@
     NULL,
     NULL,
     cinaudio_decode_frame,
+    .long_name = "Delphine Software International CIN audio",
 };
--- a/dvbsub.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/dvbsub.c	Sun Apr 27 22:39:51 2008 +0000
@@ -408,4 +408,5 @@
     sizeof(DVBSubtitleContext),
     NULL,
     dvbsub_encode,
+    .long_name = "DVB subtitles",
 };
--- a/dvbsubdec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/dvbsubdec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -1429,4 +1429,5 @@
     NULL,
     dvbsub_close_decoder,
     dvbsub_decode,
+    .long_name = "DVB subtitles",
 };
--- a/dvdsubdec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/dvdsubdec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -506,4 +506,5 @@
     NULL,
     NULL,
     dvdsub_decode,
+    .long_name = "DVD subtitles",
 };
--- a/dvdsubenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/dvdsubenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -222,4 +222,5 @@
     0,
     NULL,
     dvdsub_encode,
+    .long_name = "DVD subtitles",
 };
--- a/dxa.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/dxa.c	Sun Apr 27 22:39:51 2008 +0000
@@ -326,6 +326,7 @@
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Feeble Files/ScummVM DXA",
 };
 
--- a/gif.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/gif.c	Sun Apr 27 22:39:51 2008 +0000
@@ -341,4 +341,5 @@
     gif_encode_frame,
     NULL, //encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, -1},
+    .long_name= "GIF (Graphics Interchange Format)",
 };
--- a/gifdec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/gifdec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -333,4 +333,5 @@
     NULL,
     gif_decode_close,
     gif_decode_frame,
+    .long_name = "GIF (Graphics Interchange Format)",
 };
--- a/idcinvideo.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/idcinvideo.c	Sun Apr 27 22:39:51 2008 +0000
@@ -262,5 +262,6 @@
     idcin_decode_end,
     idcin_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "Id Quake II CIN video",
 };
 
--- a/jpeglsdec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/jpeglsdec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -372,4 +372,5 @@
     ff_mjpeg_decode_end,
     ff_mjpeg_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "JPEG-LS",
 };
--- a/jpeglsenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/jpeglsenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -390,4 +390,5 @@
     encode_picture_ls,
     NULL,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16, -1},
+    .long_name= "JPEG-LS",
 };
--- a/kmvc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/kmvc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -410,5 +410,6 @@
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Karl Morton's video codec",
 };
--- a/lcldec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/lcldec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -697,6 +697,7 @@
     decode_end,
     decode_frame,
     CODEC_CAP_DR1,
+    .long_name ="LCL (LossLess Codec Library) MSZH",
 };
 #endif
 
@@ -711,5 +712,6 @@
     decode_end,
     decode_frame,
     CODEC_CAP_DR1,
+    .long_name ="LCL (LossLess Codec Library) ZLIB",
 };
 #endif
--- a/lclenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/lclenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -228,4 +228,5 @@
     encode_init,
     encode_frame,
     encode_end,
+    .long_name = "LCL (LossLess Codec Library) ZLIB",
 };
--- a/liba52.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/liba52.c	Sun Apr 27 22:39:51 2008 +0000
@@ -222,4 +222,5 @@
     NULL,
     a52_decode_end,
     a52_decode_frame,
+    .long_name = "liba52 ATSC A/52 / AC-3",
 };
--- a/libamr.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/libamr.c	Sun Apr 27 22:39:51 2008 +0000
@@ -503,6 +503,7 @@
     NULL,
     amr_nb_decode_close,
     amr_nb_decode_frame,
+    .long_name = "libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band",
 };
 
 AVCodec libamr_nb_encoder =
@@ -515,6 +516,7 @@
     amr_nb_encode_frame,
     amr_nb_encode_close,
     NULL,
+    .long_name = "libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band",
 };
 
 #endif
@@ -695,6 +697,7 @@
     NULL,
     amr_wb_decode_close,
     amr_wb_decode_frame,
+    .long_name = "libamr-wb Adaptive Multi-Rate (AMR) Wide-Band",
 };
 
 AVCodec libamr_wb_encoder =
@@ -707,6 +710,7 @@
     amr_wb_encode_frame,
     amr_wb_encode_close,
     NULL,
+    .long_name = "libamr-wb Adaptive Multi-Rate (AMR) Wide-Band",
 };
 
 #endif //CONFIG_LIBAMR_WB
--- a/libfaac.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/libfaac.c	Sun Apr 27 22:39:51 2008 +0000
@@ -150,5 +150,6 @@
     sizeof(FaacAudioContext),
     Faac_encode_init,
     Faac_encode_frame,
-    Faac_encode_close
+    Faac_encode_close,
+    .long_name = "libfaac AAC (Advanced Audio Codec)",
 };
--- a/libmp3lame.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/libmp3lame.c	Sun Apr 27 22:39:51 2008 +0000
@@ -218,4 +218,5 @@
     MP3lame_encode_frame,
     MP3lame_encode_close,
     .capabilities= CODEC_CAP_DELAY,
+    .long_name= "libmp3lame MP3 (MPEG audio layer 3)",
 };
--- a/libtheoraenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/libtheoraenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -277,4 +277,5 @@
     .close = encode_close,
     .encode = encode_frame,
     .pix_fmts = supported_pixel_formats,
+    .long_name = "libtheora Theora",
 };
--- a/libvorbis.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/libvorbis.c	Sun Apr 27 22:39:51 2008 +0000
@@ -217,4 +217,5 @@
     oggvorbis_encode_frame,
     oggvorbis_encode_close,
     .capabilities= CODEC_CAP_DELAY,
+    .long_name= "libvorbis Vorbis",
 } ;
--- a/mpegaudiodec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/mpegaudiodec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -2640,6 +2640,7 @@
     decode_frame,
     CODEC_CAP_PARSE_ONLY,
     .flush= flush,
+    .long_name= "MP2 (MPEG audio layer 2)",
 };
 #endif
 #ifdef CONFIG_MP3_DECODER
@@ -2655,6 +2656,7 @@
     decode_frame,
     CODEC_CAP_PARSE_ONLY,
     .flush= flush,
+    .long_name= "MP3 (MPEG audio layer 3)",
 };
 #endif
 #ifdef CONFIG_MP3ADU_DECODER
@@ -2670,6 +2672,7 @@
     decode_frame_adu,
     CODEC_CAP_PARSE_ONLY,
     .flush= flush,
+    .long_name= "ADU (Application Data Unit) MP3 (MPEG audio layer 3)",
 };
 #endif
 #ifdef CONFIG_MP3ON4_DECODER
@@ -2684,5 +2687,6 @@
     decode_close_mp3on4,
     decode_frame_mp3on4,
     .flush= flush,
+    .long_name= "MP3onMP4",
 };
 #endif
--- a/mpegaudioenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/mpegaudioenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -796,6 +796,7 @@
     MPA_encode_frame,
     MPA_encode_close,
     NULL,
+    .long_name = "MP2 (MPEG audio layer 2)",
 };
 
 #undef FIX
--- a/qdm2.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/qdm2.c	Sun Apr 27 22:39:51 2008 +0000
@@ -2038,4 +2038,5 @@
     .init = qdm2_decode_init,
     .close = qdm2_decode_close,
     .decode = qdm2_decode_frame,
+    .long_name = "QDesign Music Codec 2",
 };
--- a/qtrle.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/qtrle.c	Sun Apr 27 22:39:51 2008 +0000
@@ -620,5 +620,6 @@
     qtrle_decode_end,
     qtrle_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "QuickTime Animation (RLE) video",
 };
 
--- a/qtrleenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/qtrleenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -323,4 +323,5 @@
     qtrle_encode_frame,
     qtrle_encode_end,
     .pix_fmts = (enum PixelFormat[]){PIX_FMT_RGB24, -1},
+    .long_name = "QuickTime Animation (RLE) video",
 };
--- a/ra144.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/ra144.c	Sun Apr 27 22:39:51 2008 +0000
@@ -510,4 +510,5 @@
     NULL,
     NULL,
     ra144_decode_frame,
+    .long_name = "RealAudio 1.0 (14.4K)",
 };
--- a/ra288.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/ra288.c	Sun Apr 27 22:39:51 2008 +0000
@@ -255,4 +255,5 @@
     NULL,
     NULL,
     ra288_decode_frame,
+    .long_name = "RealAudio 2.0 (28.8K)",
 };
--- a/rawdec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rawdec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -162,4 +162,5 @@
     NULL,
     raw_close_decoder,
     raw_decode,
+    .long_name = "raw video",
 };
--- a/rawenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rawenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -51,4 +51,5 @@
     sizeof(AVFrame),
     raw_init_encoder,
     raw_encode,
+    .long_name = "raw video",
 };
--- a/rl2.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rl2.c	Sun Apr 27 22:39:51 2008 +0000
@@ -236,5 +236,6 @@
     rl2_decode_end,
     rl2_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "RL2 video",
 };
 
--- a/roqaudioenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/roqaudioenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -174,4 +174,5 @@
     roq_dpcm_encode_frame,
     roq_dpcm_encode_close,
     NULL,
+    .long_name = "Id RoQ audio",
 };
--- a/roqvideodec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/roqvideodec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -219,4 +219,5 @@
     roq_decode_end,
     roq_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "Id RoQ video",
 };
--- a/roqvideoenc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/roqvideoenc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -1066,4 +1066,5 @@
     roq_encode_end,
     .supported_framerates = (AVRational[]){{30,1}, {0,0}},
     .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV444P, -1},
+    .long_name = "Id RoQ video",
 };
--- a/rpza.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rpza.c	Sun Apr 27 22:39:51 2008 +0000
@@ -283,4 +283,5 @@
     rpza_decode_end,
     rpza_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "QuickTime video (RPZA)",
 };
--- a/rv10.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rv10.c	Sun Apr 27 22:39:51 2008 +0000
@@ -784,7 +784,8 @@
     NULL,
     rv10_decode_end,
     rv10_decode_frame,
-    CODEC_CAP_DR1
+    CODEC_CAP_DR1,
+    .long_name = "RealVideo 1.0",
 };
 
 AVCodec rv20_decoder = {
@@ -798,5 +799,6 @@
     rv10_decode_frame,
     CODEC_CAP_DR1 | CODEC_CAP_DELAY,
     .flush= ff_mpeg_flush,
+    .long_name = "RealVideo 2.0",
 };
 
--- a/rv30.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rv30.c	Sun Apr 27 22:39:51 2008 +0000
@@ -144,4 +144,5 @@
     ff_rv34_decode_end,
     ff_rv34_decode_frame,
     CODEC_CAP_DR1 | CODEC_CAP_DELAY,
+    .long_name = "RealVideo 3.0",
 };
--- a/rv40.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/rv40.c	Sun Apr 27 22:39:51 2008 +0000
@@ -276,4 +276,5 @@
     ff_rv34_decode_end,
     ff_rv34_decode_frame,
     CODEC_CAP_DR1 | CODEC_CAP_DELAY,
+    .long_name = "RealVideo 4.0",
 };
--- a/smacker.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/smacker.c	Sun Apr 27 22:39:51 2008 +0000
@@ -697,7 +697,8 @@
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Smacker video",
 };
 
 AVCodec smackaud_decoder = {
@@ -708,6 +709,7 @@
     smka_decode_init,
     NULL,
     NULL,
-    smka_decode_frame
+    smka_decode_frame,
+    .long_name = "Smacker audio",
 };
 
--- a/smc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/smc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -484,4 +484,5 @@
     smc_decode_end,
     smc_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "QuickTime Graphics (SMC)",
 };
--- a/snow.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/snow.c	Sun Apr 27 22:39:51 2008 +0000
@@ -4660,7 +4660,8 @@
     decode_end,
     decode_frame,
     0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
-    NULL
+    NULL,
+    .long_name = "Snow",
 };
 
 #ifdef CONFIG_SNOW_ENCODER
@@ -4672,6 +4673,7 @@
     encode_init,
     encode_frame,
     encode_end,
+    .long_name = "Snow",
 };
 #endif
 
--- a/svq1dec.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/svq1dec.c	Sun Apr 27 22:39:51 2008 +0000
@@ -826,4 +826,5 @@
     CODEC_CAP_DR1,
     .flush= ff_mpeg_flush,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
+    .long_name= "Sorenson Vector Quantizer 1",
 };
--- a/svq1enc.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/svq1enc.c	Sun Apr 27 22:39:51 2008 +0000
@@ -585,4 +585,5 @@
     svq1_encode_frame,
     svq1_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
+    .long_name= "Sorenson Vector Quantizer 1",
 };
--- a/svq3.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/svq3.c	Sun Apr 27 22:39:51 2008 +0000
@@ -982,4 +982,5 @@
     decode_end,
     svq3_decode_frame,
     CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_DELAY,
+    .long_name = "Sorenson Vector Quantizer 3",
 };
--- a/ulti.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/ulti.c	Sun Apr 27 22:39:51 2008 +0000
@@ -410,6 +410,7 @@
     ulti_decode_end,
     ulti_decode_frame,
     CODEC_CAP_DR1,
-    NULL
+    NULL,
+    .long_name = "IBM UltiMotion",
 };
 
--- a/vc1.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/vc1.c	Sun Apr 27 22:39:51 2008 +0000
@@ -4136,7 +4136,8 @@
     vc1_decode_end,
     vc1_decode_frame,
     CODEC_CAP_DELAY,
-    NULL
+    NULL,
+    .long_name = "SMPTE VC-1",
 };
 
 AVCodec wmv3_decoder = {
@@ -4149,5 +4150,6 @@
     vc1_decode_end,
     vc1_decode_frame,
     CODEC_CAP_DELAY,
-    NULL
+    NULL,
+    .long_name = "Windows Media Video 9",
 };
--- a/vmdav.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/vmdav.c	Sun Apr 27 22:39:51 2008 +0000
@@ -561,6 +561,7 @@
     vmdvideo_decode_end,
     vmdvideo_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "Sierra VMD video",
 };
 
 AVCodec vmdaudio_decoder = {
@@ -572,4 +573,5 @@
     NULL,
     NULL,
     vmdaudio_decode_frame,
+    .long_name = "Sierra VMD audio",
 };
--- a/vp6.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/vp6.c	Sun Apr 27 22:39:51 2008 +0000
@@ -638,6 +638,7 @@
     vp56_free,
     vp56_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "On2 VP6",
 };
 
 /* flash version, not flipped upside-down */
@@ -651,6 +652,7 @@
     vp56_free,
     vp56_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "On2 VP6 (Flash version)"
 };
 
 /* flash version, not flipped upside-down, with alpha channel */
@@ -664,4 +666,5 @@
     vp56_free,
     vp56_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "On2 VP6 (Flash version, with alpha channel)",
 };
--- a/xan.c	Sun Apr 27 22:19:02 2008 +0000
+++ b/xan.c	Sun Apr 27 22:39:51 2008 +0000
@@ -471,6 +471,7 @@
     xan_decode_end,
     xan_decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "Wing Commander III / Xan",
 };
 
 /*