diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-04-29 21:31:21 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-04-29 21:31:21 +0000 |
commit | bcdb2378f77daa2e7cf21039bb6247c197af8e0c (patch) | |
tree | 6d2ab5893d5ea99144203d9c98931fd12891cf5d | |
parent | 0dfea024e16961a8f3d96ea818a2d5bd5a35d804 (diff) | |
download | ffmpeg-bcdb2378f77daa2e7cf21039bb6247c197af8e0c.tar.gz |
Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/bmp.c | 3 | ||||
-rw-r--r-- | libavcodec/bmpenc.c | 1 | ||||
-rw-r--r-- | libavcodec/huffyuv.c | 8 | ||||
-rw-r--r-- | libavcodec/pcx.c | 3 | ||||
-rw-r--r-- | libavcodec/pngdec.c | 3 | ||||
-rw-r--r-- | libavcodec/pngenc.c | 1 | ||||
-rw-r--r-- | libavcodec/pnmenc.c | 5 | ||||
-rw-r--r-- | libavcodec/ptx.c | 3 | ||||
-rw-r--r-- | libavcodec/sgidec.c | 1 | ||||
-rw-r--r-- | libavcodec/sgienc.c | 1 | ||||
-rw-r--r-- | libavcodec/sunrast.c | 3 | ||||
-rw-r--r-- | libavcodec/targa.c | 3 | ||||
-rw-r--r-- | libavcodec/targaenc.c | 1 | ||||
-rw-r--r-- | libavcodec/tiertexseqv.c | 1 | ||||
-rw-r--r-- | libavcodec/tiff.c | 3 | ||||
-rw-r--r-- | libavcodec/tiffenc.c | 4 | ||||
-rw-r--r-- | libavcodec/tta.c | 1 | ||||
-rw-r--r-- | libavcodec/txd.c | 3 | ||||
-rw-r--r-- | libavcodec/vmnc.c | 3 | ||||
-rw-r--r-- | libavcodec/vqavideo.c | 1 |
20 files changed, 39 insertions, 13 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index f475469fd2..f97b5e5b5c 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -257,5 +257,6 @@ AVCodec bmp_decoder = { bmp_decode_init, NULL, bmp_decode_end, - bmp_decode_frame + bmp_decode_frame, + .long_name = "BMP image", }; diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c index 5341cd4f2c..437b62d840 100644 --- a/libavcodec/bmpenc.c +++ b/libavcodec/bmpenc.c @@ -95,4 +95,5 @@ AVCodec bmp_encoder = { bmp_encode_frame, NULL, //encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, -1}, + .long_name = "BMP image", }; diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index 18f21d4068..a9a054701a 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -1444,7 +1444,8 @@ AVCodec huffyuv_decoder = { decode_end, decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, - NULL + NULL, + .long_name = "Huffyuv / HuffYUV", }; AVCodec ffvhuff_decoder = { @@ -1457,7 +1458,8 @@ AVCodec ffvhuff_decoder = { decode_end, decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, - NULL + NULL, + .long_name = "Huffyuv FFmpeg variant", }; #endif @@ -1472,6 +1474,7 @@ AVCodec huffyuv_encoder = { encode_frame, encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_RGB32, -1}, + .long_name = "Huffyuv / HuffYUV", }; AVCodec ffvhuff_encoder = { @@ -1483,6 +1486,7 @@ AVCodec ffvhuff_encoder = { encode_frame, encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_RGB32, -1}, + .long_name = "Huffyuv FFmpeg variant", }; #endif //CONFIG_ENCODERS diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c index c52a21770e..785f715b54 100644 --- a/libavcodec/pcx.c +++ b/libavcodec/pcx.c @@ -243,5 +243,6 @@ AVCodec pcx_decoder = { pcx_end, pcx_decode_frame, 0, - NULL + NULL, + .long_name = "PC Paintbrush PCX image", }; diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index bfaa38cf86..89c20e5b8d 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -617,5 +617,6 @@ AVCodec png_decoder = { NULL, //decode_end, decode_frame, 0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/, - NULL + NULL, + .long_name = "PNG image", }; diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index 49f61df312..2ee40d1105 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -445,4 +445,5 @@ AVCodec png_encoder = { encode_frame, NULL, //encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, -1}, + .long_name= "PNG image", }; diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c index 9fbbc34065..b745779dd4 100644 --- a/libavcodec/pnmenc.c +++ b/libavcodec/pnmenc.c @@ -365,6 +365,7 @@ AVCodec pgm_encoder = { NULL, //encode_end, pnm_decode_frame, .pix_fmts= (enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, -1}, + .long_name= "PGM (Portable GrayMap) image", }; #endif // CONFIG_PGM_ENCODER @@ -379,6 +380,7 @@ AVCodec pgmyuv_encoder = { NULL, //encode_end, pnm_decode_frame, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, + .long_name= "PGMYUV (Portable GrayMap YUV) image", }; #endif // CONFIG_PGMYUV_ENCODER @@ -393,6 +395,7 @@ AVCodec ppm_encoder = { NULL, //encode_end, pnm_decode_frame, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, -1}, + .long_name= "PPM (Portable PixelMap) image", }; #endif // CONFIG_PPM_ENCODER @@ -407,6 +410,7 @@ AVCodec pbm_encoder = { NULL, //encode_end, pnm_decode_frame, .pix_fmts= (enum PixelFormat[]){PIX_FMT_MONOWHITE, -1}, + .long_name= "PBM (Portable BitMap) image", }; #endif // CONFIG_PBM_ENCODER @@ -421,5 +425,6 @@ AVCodec pam_encoder = { NULL, //encode_end, pnm_decode_frame, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, -1}, + .long_name= "PAM (Portable AnyMap) image", }; #endif // CONFIG_PAM_ENCODER diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index bbd40096ee..294d14eafc 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -113,5 +113,6 @@ AVCodec ptx_decoder = { ptx_end, ptx_decode_frame, 0, - NULL + NULL, + .long_name = "V.Flash PTX image", }; diff --git a/libavcodec/sgidec.c b/libavcodec/sgidec.c index 476bb6a085..34f949dd23 100644 --- a/libavcodec/sgidec.c +++ b/libavcodec/sgidec.c @@ -263,5 +263,6 @@ AVCodec sgi_decoder = { NULL, sgi_end, decode_frame, + .long_name = "SGI image", }; diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c index 09d3c06c7a..dffc899f03 100644 --- a/libavcodec/sgienc.c +++ b/libavcodec/sgienc.c @@ -152,5 +152,6 @@ AVCodec sgi_encoder = { encode_frame, NULL, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_PAL8, PIX_FMT_GRAY8, -1}, + .long_name= "SGI image", }; diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 1960073ab4..3bb1998f24 100644 --- a/libavcodec/sunrast.c +++ b/libavcodec/sunrast.c @@ -191,5 +191,6 @@ AVCodec sunrast_decoder = { sunrast_end, sunrast_decode_frame, 0, - NULL + NULL, + .long_name = "Sun Rasterfile image", }; diff --git a/libavcodec/targa.c b/libavcodec/targa.c index 8a8bbfa105..9c7bad8491 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -249,5 +249,6 @@ AVCodec targa_decoder = { targa_end, decode_frame, 0, - NULL + NULL, + .long_name = "Truevision Targa image", }; diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c index 007a79591c..120c62ba70 100644 --- a/libavcodec/targaenc.c +++ b/libavcodec/targaenc.c @@ -146,4 +146,5 @@ AVCodec targa_encoder = { .init = targa_encode_init, .encode = targa_encode_frame, .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB555, PIX_FMT_GRAY8, -1}, + .long_name= "Truevision Targa image", }; diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c index 60e5736d68..11766cbc8c 100644 --- a/libavcodec/tiertexseqv.c +++ b/libavcodec/tiertexseqv.c @@ -227,4 +227,5 @@ AVCodec tiertexseqvideo_decoder = { seqvideo_decode_end, seqvideo_decode_frame, CODEC_CAP_DR1, + .long_name = "Tiertex Limited SEQ video", }; diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 4a12a2bb1e..6cda29dbb5 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -495,5 +495,6 @@ AVCodec tiff_decoder = { tiff_end, decode_frame, 0, - NULL + NULL, + .long_name = "TIFF image", }; diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 3e0e946fdd..2382ed8d27 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -456,6 +456,6 @@ AVCodec tiff_encoder = { PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_YUV410P, PIX_FMT_YUV411P, - -1} - + -1}, + .long_name = "TIFF image", }; diff --git a/libavcodec/tta.c b/libavcodec/tta.c index 57d4c7b9dd..55138a3a02 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -443,4 +443,5 @@ AVCodec tta_decoder = { NULL, tta_decode_close, tta_decode_frame, + .long_name = "True Audio", }; diff --git a/libavcodec/txd.c b/libavcodec/txd.c index d999d71d61..2a4f7900ad 100644 --- a/libavcodec/txd.c +++ b/libavcodec/txd.c @@ -162,5 +162,6 @@ AVCodec txd_decoder = { txd_end, txd_decode_frame, 0, - NULL + NULL, + .long_name = "Renderware TXD (TeXture Dictionary) image", }; diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index cf3efa906c..aa672aeb73 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -517,6 +517,7 @@ AVCodec vmnc_decoder = { decode_init, NULL, decode_end, - decode_frame + decode_frame, + .long_name = "VMware Screen Codec / VMware Video", }; diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index ff3f6510ac..8a8f6047c4 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -616,4 +616,5 @@ AVCodec vqa_decoder = { vqa_decode_end, vqa_decode_frame, CODEC_CAP_DR1, + .long_name = "Westwood Studios VQA (Vector Quantized Animation) video", }; |