Add long names to some AVCodec declarations.

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

Originally committed as revision 13010 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2008-04-28 10:21:58 +00:00 committed by Diego Biurrun
parent 162d4fc99d
commit 038f846e41
8 changed files with 22 additions and 3 deletions

View File

@ -836,5 +836,6 @@ AVCodec fourxm_decoder = {
decode_end, decode_end,
decode_frame, decode_frame,
/*CODEC_CAP_DR1,*/ /*CODEC_CAP_DR1,*/
.long_name = "4X Movie",
}; };

View File

@ -1022,7 +1022,8 @@ AVCodec ffv1_decoder = {
common_end, common_end,
decode_frame, decode_frame,
CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/, CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
NULL NULL,
.long_name= "FFmpeg codec #1",
}; };
#ifdef CONFIG_ENCODERS #ifdef CONFIG_ENCODERS
@ -1035,5 +1036,6 @@ AVCodec ffv1_encoder = {
encode_frame, encode_frame,
common_end, common_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, -1},
.long_name= "FFmpeg codec #1",
}; };
#endif #endif

View File

@ -736,6 +736,7 @@ AVCodec h263_decoder = {
ff_h263_decode_frame, ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush, .flush= ff_mpeg_flush,
.long_name="H.263",
}; };
AVCodec msmpeg4v1_decoder = { AVCodec msmpeg4v1_decoder = {
@ -784,6 +785,7 @@ AVCodec wmv1_decoder = {
ff_h263_decode_end, ff_h263_decode_end,
ff_h263_decode_frame, ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.long_name= "Windows Media Video 7",
}; };
AVCodec h263i_decoder = { AVCodec h263i_decoder = {
@ -796,6 +798,7 @@ AVCodec h263i_decoder = {
ff_h263_decode_end, ff_h263_decode_end,
ff_h263_decode_frame, ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.long_name = "H.263i",
}; };
AVCodec flv_decoder = { AVCodec flv_decoder = {
@ -807,5 +810,6 @@ AVCodec flv_decoder = {
NULL, NULL,
ff_h263_decode_end, ff_h263_decode_end,
ff_h263_decode_frame, ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
.long_name= "Flash Video",
}; };

View File

@ -3744,6 +3744,7 @@ AVCodec h263_encoder = {
MPV_encode_picture, MPV_encode_picture,
MPV_encode_end, MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
.long_name= "H.263",
}; };
AVCodec h263p_encoder = { AVCodec h263p_encoder = {
@ -3755,6 +3756,7 @@ AVCodec h263p_encoder = {
MPV_encode_picture, MPV_encode_picture,
MPV_encode_end, MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
.long_name= "H.263+ / H.263 version 2",
}; };
AVCodec flv_encoder = { AVCodec flv_encoder = {
@ -3766,6 +3768,7 @@ AVCodec flv_encoder = {
MPV_encode_picture, MPV_encode_picture,
MPV_encode_end, MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
.long_name= "Flash Video",
}; };
AVCodec rv10_encoder = { AVCodec rv10_encoder = {
@ -3777,6 +3780,7 @@ AVCodec rv10_encoder = {
MPV_encode_picture, MPV_encode_picture,
MPV_encode_end, MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
.long_name= "RealVideo 1.0",
}; };
AVCodec rv20_encoder = { AVCodec rv20_encoder = {
@ -3788,6 +3792,7 @@ AVCodec rv20_encoder = {
MPV_encode_picture, MPV_encode_picture,
MPV_encode_end, MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
.long_name= "RealVideo 2.0",
}; };
AVCodec mpeg4_encoder = { AVCodec mpeg4_encoder = {
@ -3844,4 +3849,5 @@ AVCodec wmv1_encoder = {
MPV_encode_picture, MPV_encode_picture,
MPV_encode_end, MPV_encode_end,
.pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
.long_name= "Windows Media Video 7",
}; };

View File

@ -339,4 +339,5 @@ AVCodec msvideo1_decoder = {
msvideo1_decode_end, msvideo1_decode_end,
msvideo1_decode_frame, msvideo1_decode_frame,
CODEC_CAP_DR1, CODEC_CAP_DR1,
.long_name= "Microsoft Video 1",
}; };

View File

@ -946,6 +946,7 @@ AVCodec sonic_encoder = {
sonic_encode_frame, sonic_encode_frame,
sonic_encode_close, sonic_encode_close,
NULL, NULL,
.long_name = "Sonic",
}; };
AVCodec sonic_ls_encoder = { AVCodec sonic_ls_encoder = {
@ -957,6 +958,7 @@ AVCodec sonic_ls_encoder = {
sonic_encode_frame, sonic_encode_frame,
sonic_encode_close, sonic_encode_close,
NULL, NULL,
.long_name = "Sonic lossless",
}; };
#endif #endif
@ -970,5 +972,6 @@ AVCodec sonic_decoder = {
NULL, NULL,
sonic_decode_close, sonic_decode_close,
sonic_decode_frame, sonic_decode_frame,
.long_name = "Sonic",
}; };
#endif #endif

View File

@ -661,6 +661,7 @@ AVCodec zmbv_decoder = {
decode_init, decode_init,
NULL, NULL,
decode_end, decode_end,
decode_frame decode_frame,
.long_name = "Zip Motion Blocks Video",
}; };

View File

@ -319,4 +319,5 @@ AVCodec zmbv_encoder = {
encode_frame, encode_frame,
encode_end, encode_end,
.pix_fmts = (enum PixelFormat[]){PIX_FMT_PAL8, -1}, .pix_fmts = (enum PixelFormat[]){PIX_FMT_PAL8, -1},
.long_name = "Zip Motion Blocks Video",
}; };