Mercurial > libavcodec.hg
changeset 6722:6eeb19edcee3 libavcodec
Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
author | diego |
---|---|
date | Tue, 29 Apr 2008 21:31:21 +0000 |
parents | 1c3bcb60bed4 |
children | 2ced96d3cde0 |
files | bmp.c bmpenc.c huffyuv.c pcx.c pngdec.c pngenc.c pnmenc.c ptx.c sgidec.c sgienc.c sunrast.c targa.c targaenc.c tiertexseqv.c tiff.c tiffenc.c tta.c txd.c vmnc.c vqavideo.c |
diffstat | 20 files changed, 39 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/bmp.c Tue Apr 29 18:32:06 2008 +0000 +++ b/bmp.c Tue Apr 29 21:31:21 2008 +0000 @@ -257,5 +257,6 @@ bmp_decode_init, NULL, bmp_decode_end, - bmp_decode_frame + bmp_decode_frame, + .long_name = "BMP image", };
--- a/bmpenc.c Tue Apr 29 18:32:06 2008 +0000 +++ b/bmpenc.c Tue Apr 29 21:31:21 2008 +0000 @@ -95,4 +95,5 @@ bmp_encode_frame, NULL, //encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, -1}, + .long_name = "BMP image", };
--- a/huffyuv.c Tue Apr 29 18:32:06 2008 +0000 +++ b/huffyuv.c Tue Apr 29 21:31:21 2008 +0000 @@ -1444,7 +1444,8 @@ 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 @@ decode_end, decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, - NULL + NULL, + .long_name = "Huffyuv FFmpeg variant", }; #endif @@ -1472,6 +1474,7 @@ 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 @@ 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
--- a/pcx.c Tue Apr 29 18:32:06 2008 +0000 +++ b/pcx.c Tue Apr 29 21:31:21 2008 +0000 @@ -243,5 +243,6 @@ pcx_end, pcx_decode_frame, 0, - NULL + NULL, + .long_name = "PC Paintbrush PCX image", };
--- a/pngdec.c Tue Apr 29 18:32:06 2008 +0000 +++ b/pngdec.c Tue Apr 29 21:31:21 2008 +0000 @@ -617,5 +617,6 @@ NULL, //decode_end, decode_frame, 0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/, - NULL + NULL, + .long_name = "PNG image", };
--- a/pngenc.c Tue Apr 29 18:32:06 2008 +0000 +++ b/pngenc.c Tue Apr 29 21:31:21 2008 +0000 @@ -445,4 +445,5 @@ 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", };
--- a/pnmenc.c Tue Apr 29 18:32:06 2008 +0000 +++ b/pnmenc.c Tue Apr 29 21:31:21 2008 +0000 @@ -365,6 +365,7 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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
--- a/ptx.c Tue Apr 29 18:32:06 2008 +0000 +++ b/ptx.c Tue Apr 29 21:31:21 2008 +0000 @@ -113,5 +113,6 @@ ptx_end, ptx_decode_frame, 0, - NULL + NULL, + .long_name = "V.Flash PTX image", };
--- a/sgidec.c Tue Apr 29 18:32:06 2008 +0000 +++ b/sgidec.c Tue Apr 29 21:31:21 2008 +0000 @@ -263,5 +263,6 @@ NULL, sgi_end, decode_frame, + .long_name = "SGI image", };
--- a/sgienc.c Tue Apr 29 18:32:06 2008 +0000 +++ b/sgienc.c Tue Apr 29 21:31:21 2008 +0000 @@ -152,5 +152,6 @@ encode_frame, NULL, .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_PAL8, PIX_FMT_GRAY8, -1}, + .long_name= "SGI image", };
--- a/sunrast.c Tue Apr 29 18:32:06 2008 +0000 +++ b/sunrast.c Tue Apr 29 21:31:21 2008 +0000 @@ -191,5 +191,6 @@ sunrast_end, sunrast_decode_frame, 0, - NULL + NULL, + .long_name = "Sun Rasterfile image", };
--- a/targa.c Tue Apr 29 18:32:06 2008 +0000 +++ b/targa.c Tue Apr 29 21:31:21 2008 +0000 @@ -249,5 +249,6 @@ targa_end, decode_frame, 0, - NULL + NULL, + .long_name = "Truevision Targa image", };
--- a/targaenc.c Tue Apr 29 18:32:06 2008 +0000 +++ b/targaenc.c Tue Apr 29 21:31:21 2008 +0000 @@ -146,4 +146,5 @@ .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", };
--- a/tiertexseqv.c Tue Apr 29 18:32:06 2008 +0000 +++ b/tiertexseqv.c Tue Apr 29 21:31:21 2008 +0000 @@ -227,4 +227,5 @@ seqvideo_decode_end, seqvideo_decode_frame, CODEC_CAP_DR1, + .long_name = "Tiertex Limited SEQ video", };
--- a/tiff.c Tue Apr 29 18:32:06 2008 +0000 +++ b/tiff.c Tue Apr 29 21:31:21 2008 +0000 @@ -495,5 +495,6 @@ tiff_end, decode_frame, 0, - NULL + NULL, + .long_name = "TIFF image", };
--- a/tiffenc.c Tue Apr 29 18:32:06 2008 +0000 +++ b/tiffenc.c Tue Apr 29 21:31:21 2008 +0000 @@ -456,6 +456,6 @@ PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_YUV410P, PIX_FMT_YUV411P, - -1} - + -1}, + .long_name = "TIFF image", };
--- a/tta.c Tue Apr 29 18:32:06 2008 +0000 +++ b/tta.c Tue Apr 29 21:31:21 2008 +0000 @@ -443,4 +443,5 @@ NULL, tta_decode_close, tta_decode_frame, + .long_name = "True Audio", };
--- a/txd.c Tue Apr 29 18:32:06 2008 +0000 +++ b/txd.c Tue Apr 29 21:31:21 2008 +0000 @@ -162,5 +162,6 @@ txd_end, txd_decode_frame, 0, - NULL + NULL, + .long_name = "Renderware TXD (TeXture Dictionary) image", };