Commit bcdb2378 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Diego Biurrun

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
parent 0dfea024
......@@ -257,5 +257,6 @@ AVCodec bmp_decoder = {
bmp_decode_init,
NULL,
bmp_decode_end,
bmp_decode_frame
bmp_decode_frame,
.long_name = "BMP image",
};
......@@ -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",
};
......@@ -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
......@@ -243,5 +243,6 @@ AVCodec pcx_decoder = {
pcx_end,
pcx_decode_frame,
0,
NULL
NULL,
.long_name = "PC Paintbrush PCX image",
};
......@@ -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",
};
......@@ -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",
};
......@@ -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
......@@ -113,5 +113,6 @@ AVCodec ptx_decoder = {
ptx_end,
ptx_decode_frame,
0,
NULL
NULL,
.long_name = "V.Flash PTX image",
};
......@@ -263,5 +263,6 @@ AVCodec sgi_decoder = {
NULL,
sgi_end,
decode_frame,
.long_name = "SGI image",
};
......@@ -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",
};
......@@ -191,5 +191,6 @@ AVCodec sunrast_decoder = {
sunrast_end,
sunrast_decode_frame,
0,
NULL
NULL,
.long_name = "Sun Rasterfile image",
};
......@@ -249,5 +249,6 @@ AVCodec targa_decoder = {
targa_end,
decode_frame,
0,
NULL
NULL,
.long_name = "Truevision Targa image",
};
......@@ -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",
};
......@@ -227,4 +227,5 @@ AVCodec tiertexseqvideo_decoder = {
seqvideo_decode_end,
seqvideo_decode_frame,
CODEC_CAP_DR1,
.long_name = "Tiertex Limited SEQ video",
};
......@@ -495,5 +495,6 @@ AVCodec tiff_decoder = {
tiff_end,
decode_frame,
0,
NULL
NULL,
.long_name = "TIFF image",
};
......@@ -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",
};
......@@ -443,4 +443,5 @@ AVCodec tta_decoder = {
NULL,
tta_decode_close,
tta_decode_frame,
.long_name = "True Audio",
};
......@@ -162,5 +162,6 @@ AVCodec txd_decoder = {
txd_end,
txd_decode_frame,
0,
NULL
NULL,
.long_name = "Renderware TXD (TeXture Dictionary) image",
};
......@@ -517,6 +517,7 @@ AVCodec vmnc_decoder = {
decode_init,
NULL,
decode_end,
decode_frame
decode_frame,
.long_name = "VMware Screen Codec / VMware Video",
};
......@@ -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",
};
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