Commit 162d4fc9 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Diego Biurrun
Browse files

Add long names to AVCodec declarations.

patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 99e3913d
......@@ -230,4 +230,5 @@ AVCodec eightbps_decoder = {
decode_end,
decode_frame,
CODEC_CAP_DR1,
.long_name = "QuickTime 8BPS video",
};
......@@ -1220,4 +1220,5 @@ AVCodec ac3_decoder = {
.init = ac3_decode_init,
.close = ac3_decode_end,
.decode = ac3_decode_frame,
.long_name = "ATSC A/52 / AC-3",
};
......@@ -1363,4 +1363,5 @@ AVCodec ac3_encoder = {
AC3_encode_frame,
AC3_encode_close,
NULL,
.long_name = "ATSC A/52 / AC-3",
};
......@@ -917,4 +917,5 @@ AVCodec ape_decoder = {
NULL,
ape_decode_close,
ape_decode_frame,
.long_name = "Monkey's Audio",
};
......@@ -158,4 +158,5 @@ AVCodec avs_decoder = {
NULL,
avs_decode_frame,
CODEC_CAP_DR1,
.long_name = "AVS (Audio Video Standard) video",
};
......@@ -348,6 +348,7 @@ AVCodec dsicinvideo_decoder = {
cinvideo_decode_end,
cinvideo_decode_frame,
CODEC_CAP_DR1,
.long_name = "Delphine Software International CIN video",
};
AVCodec dsicinaudio_decoder = {
......@@ -359,4 +360,5 @@ AVCodec dsicinaudio_decoder = {
NULL,
NULL,
cinaudio_decode_frame,
.long_name = "Delphine Software International CIN audio",
};
......@@ -408,4 +408,5 @@ AVCodec dvbsub_encoder = {
sizeof(DVBSubtitleContext),
NULL,
dvbsub_encode,
.long_name = "DVB subtitles",
};
......@@ -1429,4 +1429,5 @@ AVCodec dvbsub_decoder = {
NULL,
dvbsub_close_decoder,
dvbsub_decode,
.long_name = "DVB subtitles",
};
......@@ -506,4 +506,5 @@ AVCodec dvdsub_decoder = {
NULL,
NULL,
dvdsub_decode,
.long_name = "DVD subtitles",
};
......@@ -222,4 +222,5 @@ AVCodec dvdsub_encoder = {
0,
NULL,
dvdsub_encode,
.long_name = "DVD subtitles",
};
......@@ -326,6 +326,7 @@ AVCodec dxa_decoder = {
decode_init,
NULL,
decode_end,
decode_frame
decode_frame,
.long_name = "Feeble Files/ScummVM DXA",
};
......@@ -341,4 +341,5 @@ AVCodec gif_encoder = {
gif_encode_frame,
NULL, //encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, -1},
.long_name= "GIF (Graphics Interchange Format)",
};
......@@ -333,4 +333,5 @@ AVCodec gif_decoder = {
NULL,
gif_decode_close,
gif_decode_frame,
.long_name = "GIF (Graphics Interchange Format)",
};
......@@ -262,5 +262,6 @@ AVCodec idcin_decoder = {
idcin_decode_end,
idcin_decode_frame,
CODEC_CAP_DR1,
.long_name = "Id Quake II CIN video",
};
......@@ -372,4 +372,5 @@ AVCodec jpegls_decoder = {
ff_mjpeg_decode_end,
ff_mjpeg_decode_frame,
CODEC_CAP_DR1,
.long_name = "JPEG-LS",
};
......@@ -390,4 +390,5 @@ AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need the
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",
};
......@@ -410,5 +410,6 @@ AVCodec kmvc_decoder = {
decode_init,
NULL,
decode_end,
decode_frame
decode_frame,
.long_name = "Karl Morton's video codec",
};
......@@ -697,6 +697,7 @@ AVCodec mszh_decoder = {
decode_end,
decode_frame,
CODEC_CAP_DR1,
.long_name ="LCL (LossLess Codec Library) MSZH",
};
#endif
......@@ -711,5 +712,6 @@ AVCodec zlib_decoder = {
decode_end,
decode_frame,
CODEC_CAP_DR1,
.long_name ="LCL (LossLess Codec Library) ZLIB",
};
#endif
......@@ -228,4 +228,5 @@ AVCodec zlib_encoder = {
encode_init,
encode_frame,
encode_end,
.long_name = "LCL (LossLess Codec Library) ZLIB",
};
......@@ -222,4 +222,5 @@ AVCodec liba52_decoder = {
NULL,
a52_decode_end,
a52_decode_frame,
.long_name = "liba52 ATSC A/52 / AC-3",
};
......@@ -503,6 +503,7 @@ AVCodec libamr_nb_decoder =
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 @@ AVCodec libamr_nb_encoder =
amr_nb_encode_frame,
amr_nb_encode_close,
NULL,
.long_name = "libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band",
};
#endif
......@@ -695,6 +697,7 @@ AVCodec libamr_wb_decoder =
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 @@ AVCodec libamr_wb_encoder =
amr_wb_encode_frame,
amr_wb_encode_close,
NULL,
.long_name = "libamr-wb Adaptive Multi-Rate (AMR) Wide-Band",
};
#endif //CONFIG_LIBAMR_WB
......@@ -150,5 +150,6 @@ AVCodec libfaac_encoder = {
sizeof(FaacAudioContext),
Faac_encode_init,
Faac_encode_frame,
Faac_encode_close
Faac_encode_close,
.long_name = "libfaac AAC (Advanced Audio Codec)",
};
......@@ -218,4 +218,5 @@ AVCodec libmp3lame_encoder = {
MP3lame_encode_frame,
MP3lame_encode_close,
.capabilities= CODEC_CAP_DELAY,
.long_name= "libmp3lame MP3 (MPEG audio layer 3)",
};
......@@ -277,4 +277,5 @@ AVCodec libtheora_encoder =
.close = encode_close,
.encode = encode_frame,
.pix_fmts = supported_pixel_formats,
.long_name = "libtheora Theora",
};
......@@ -217,4 +217,5 @@ AVCodec libvorbis_encoder = {
oggvorbis_encode_frame,
oggvorbis_encode_close,
.capabilities= CODEC_CAP_DELAY,
.long_name= "libvorbis Vorbis",
} ;
......@@ -2640,6 +2640,7 @@ AVCodec mp2_decoder =
decode_frame,
CODEC_CAP_PARSE_ONLY,
.flush= flush,
.long_name= "MP2 (MPEG audio layer 2)",
};
#endif
#ifdef CONFIG_MP3_DECODER
......@@ -2655,6 +2656,7 @@ AVCodec mp3_decoder =
decode_frame,
CODEC_CAP_PARSE_ONLY,
.flush= flush,
.long_name= "MP3 (MPEG audio layer 3)",
};
#endif
#ifdef CONFIG_MP3ADU_DECODER
......@@ -2670,6 +2672,7 @@ AVCodec mp3adu_decoder =
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 @@ AVCodec mp3on4_decoder =
decode_close_mp3on4,
decode_frame_mp3on4,
.flush= flush,
.long_name= "MP3onMP4",
};
#endif
......@@ -796,6 +796,7 @@ AVCodec mp2_encoder = {
MPA_encode_frame,
MPA_encode_close,
NULL,
.long_name = "MP2 (MPEG audio layer 2)",
};
#undef FIX
......@@ -2038,4 +2038,5 @@ AVCodec qdm2_decoder =
.init = qdm2_decode_init,
.close = qdm2_decode_close,
.decode = qdm2_decode_frame,
.long_name = "QDesign Music Codec 2",
};
......@@ -620,5 +620,6 @@ AVCodec qtrle_decoder = {
qtrle_decode_end,
qtrle_decode_frame,
CODEC_CAP_DR1,
.long_name = "QuickTime Animation (RLE) video",
};
......@@ -323,4 +323,5 @@ AVCodec qtrle_encoder = {
qtrle_encode_frame,
qtrle_encode_end,
.pix_fmts = (enum PixelFormat[]){PIX_FMT_RGB24, -1},
.long_name = "QuickTime Animation (RLE) video",
};
......@@ -510,4 +510,5 @@ AVCodec ra_144_decoder =
NULL,
NULL,
ra144_decode_frame,
.long_name = "RealAudio 1.0 (14.4K)",
};
......@@ -255,4 +255,5 @@ AVCodec ra_288_decoder =
NULL,
NULL,
ra288_decode_frame,
.long_name = "RealAudio 2.0 (28.8K)",
};
......@@ -162,4 +162,5 @@ AVCodec rawvideo_decoder = {
NULL,
raw_close_decoder,
raw_decode,
.long_name = "raw video",
};
......@@ -51,4 +51,5 @@ AVCodec rawvideo_encoder = {
sizeof(AVFrame),
raw_init_encoder,
raw_encode,
.long_name = "raw video",
};
......@@ -236,5 +236,6 @@ AVCodec rl2_decoder = {
rl2_decode_end,
rl2_decode_frame,
CODEC_CAP_DR1,
.long_name = "RL2 video",
};
......@@ -174,4 +174,5 @@ AVCodec roq_dpcm_encoder = {
roq_dpcm_encode_frame,
roq_dpcm_encode_close,
NULL,
.long_name = "Id RoQ audio",
};
......@@ -219,4 +219,5 @@ AVCodec roq_decoder = {
roq_decode_end,
roq_decode_frame,
CODEC_CAP_DR1,
.long_name = "Id RoQ video",
};
......@@ -1066,4 +1066,5 @@ AVCodec roq_encoder =
roq_encode_end,
.supported_framerates = (AVRational[]){{30,1}, {0,0}},
.pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV444P, -1},
.long_name = "Id RoQ video",
};
......@@ -283,4 +283,5 @@ AVCodec rpza_decoder = {
rpza_decode_end,
rpza_decode_frame,
CODEC_CAP_DR1,
.long_name = "QuickTime video (RPZA)",
};
......@@ -784,7 +784,8 @@ AVCodec rv10_decoder = {
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 @@ AVCodec rv20_decoder = {
rv10_decode_frame,
CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush,
.long_name = "RealVideo 2.0",
};
......@@ -144,4 +144,5 @@ AVCodec rv30_decoder = {
ff_rv34_decode_end,
ff_rv34_decode_frame,
CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.long_name = "RealVideo 3.0",
};
......@@ -276,4 +276,5 @@ AVCodec rv40_decoder = {
ff_rv34_decode_end,
ff_rv34_decode_frame,
CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.long_name = "RealVideo 4.0",
};
......@@ -697,7 +697,8 @@ AVCodec smacker_decoder = {
decode_init,
NULL,
decode_end,
decode_frame
decode_frame,
.long_name = "Smacker video",
};
AVCodec smackaud_decoder = {
......@@ -708,6 +709,7 @@ AVCodec smackaud_decoder = {
smka_decode_init,
NULL,
NULL,
smka_decode_frame
smka_decode_frame,
.long_name = "Smacker audio",
};
......@@ -484,4 +484,5 @@ AVCodec smc_decoder = {
smc_decode_end,
smc_decode_frame,
CODEC_CAP_DR1,
.long_name = "QuickTime Graphics (SMC)",
};
......@@ -4660,7 +4660,8 @@ AVCodec snow_decoder = {
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 @@ AVCodec snow_encoder = {
encode_init,
encode_frame,
encode_end,
.long_name = "Snow",
};
#endif
......
......@@ -826,4 +826,5 @@ AVCodec svq1_decoder = {
CODEC_CAP_DR1,
.flush= ff_mpeg_flush,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
.long_name= "Sorenson Vector Quantizer 1",
};
......@@ -585,4 +585,5 @@ AVCodec svq1_encoder = {
svq1_encode_frame,
svq1_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV410P, -1},
.long_name= "Sorenson Vector Quantizer 1",
};
......@@ -982,4 +982,5 @@ AVCodec svq3_decoder = {
decode_end,
svq3_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.long_name = "Sorenson Vector Quantizer 3",
};
......@@ -410,6 +410,7 @@ AVCodec ulti_decoder = {
ulti_decode_end,
ulti_decode_frame,
CODEC_CAP_DR1,
NULL
NULL,
.long_name = "IBM UltiMotion",
};
......@@ -4136,7 +4136,8 @@ AVCodec vc1_decoder = {
vc1_decode_end,
vc1_decode_frame,
CODEC_CAP_DELAY,
NULL
NULL,
.long_name = "SMPTE VC-1",
};
AVCodec wmv3_decoder = {
......@@ -4149,5 +4150,6 @@ AVCodec wmv3_decoder = {
vc1_decode_end,
vc1_decode_frame,
CODEC_CAP_DELAY,
NULL
NULL,
.long_name = "Windows Media Video 9",
};
......@@ -561,6 +561,7 @@ AVCodec vmdvideo_decoder = {
vmdvideo_decode_end,
vmdvideo_decode_frame,
CODEC_CAP_DR1,
.long_name = "Sierra VMD video",
};
AVCodec vmdaudio_decoder = {
......@@ -572,4 +573,5 @@ AVCodec vmdaudio_decoder = {
NULL,
NULL,
vmdaudio_decode_frame,
.long_name = "Sierra VMD audio",
};
......@@ -638,6 +638,7 @@ AVCodec vp6_decoder = {
vp56_free,
vp56_decode_frame,
CODEC_CAP_DR1,
.long_name = "On2 VP6",
};
/* flash version, not flipped upside-down */
......@@ -651,6 +652,7 @@ AVCodec vp6f_decoder = {
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 @@ AVCodec vp6a_decoder = {
vp56_free,
vp56_decode_frame,
CODEC_CAP_DR1,
.long_name = "On2 VP6 (Flash version, with alpha channel)",
};
......@@ -471,6 +471,7 @@ AVCodec xan_wc3_decoder = {
xan_decode_end,
xan_decode_frame,
CODEC_CAP_DR1,
.long_name = "Wing Commander III / Xan",
};
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment