Mercurial > libavcodec.hg
changeset 6717:5df0c730234d libavcodec
Add some long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
author | diego |
---|---|
date | Tue, 29 Apr 2008 07:24:44 +0000 |
parents | aa09311685b2 |
children | c9579699437a |
files | dv.c flicvideo.c h263dec.c h264.c libgsm.c libx264.c libxvidff.c ljpegenc.c mjpegbdec.c mpeg12.c mpeg12enc.c mpegvideo_enc.c msrle.c truemotion1.c truemotion2.c ws-snd1.c |
diffstat | 16 files changed, 34 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/dv.c Tue Apr 29 07:11:59 2008 +0000 +++ b/dv.c Tue Apr 29 07:24:44 2008 +0000 @@ -1240,6 +1240,7 @@ dvvideo_init, dvvideo_encode_frame, .pix_fmts = (enum PixelFormat[]) {PIX_FMT_YUV411P, PIX_FMT_YUV422P, PIX_FMT_YUV420P, -1}, + .long_name = "DV (Digital Video)", }; #endif // CONFIG_DVVIDEO_ENCODER @@ -1254,6 +1255,7 @@ dvvideo_close, dvvideo_decode_frame, CODEC_CAP_DR1, - NULL + NULL, + .long_name = "DV (Digital Video)", }; #endif
--- a/flicvideo.c Tue Apr 29 07:11:59 2008 +0000 +++ b/flicvideo.c Tue Apr 29 07:24:44 2008 +0000 @@ -749,5 +749,6 @@ NULL, NULL, NULL, - NULL + NULL, + .long_name = "Autodesk Animator Flic video", };
--- a/h263dec.c Tue Apr 29 07:11:59 2008 +0000 +++ b/h263dec.c Tue Apr 29 07:24:44 2008 +0000 @@ -723,6 +723,7 @@ ff_h263_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, + .long_name= "MPEG-4 part 2", }; AVCodec h263_decoder = { @@ -749,6 +750,7 @@ ff_h263_decode_end, ff_h263_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, + .long_name="MPEG-4 part 2 Microsoft variant version 1", }; AVCodec msmpeg4v2_decoder = { @@ -761,6 +763,7 @@ ff_h263_decode_end, ff_h263_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, + .long_name=" MPEG-4 part 2 Microsoft variant version 2", }; AVCodec msmpeg4v3_decoder = { @@ -773,6 +776,7 @@ ff_h263_decode_end, ff_h263_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, + .long_name="MPEG-4 part 2 Microsoft variant version 3", }; AVCodec wmv1_decoder = {
--- a/h264.c Tue Apr 29 07:11:59 2008 +0000 +++ b/h264.c Tue Apr 29 07:24:44 2008 +0000 @@ -8087,6 +8087,7 @@ decode_frame, /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= flush_dpb, + .long_name = "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", }; #include "svq3.c"
--- a/libgsm.c Tue Apr 29 07:11:59 2008 +0000 +++ b/libgsm.c Tue Apr 29 07:24:44 2008 +0000 @@ -106,6 +106,7 @@ libgsm_init, libgsm_encode_frame, libgsm_close, + .long_name = "libgsm GSM", }; AVCodec libgsm_ms_encoder = { @@ -116,6 +117,7 @@ libgsm_init, libgsm_encode_frame, libgsm_close, + .long_name = "libgsm GSM Microsoft variant", }; static int libgsm_decode_frame(AVCodecContext *avctx, @@ -145,6 +147,7 @@ NULL, libgsm_close, libgsm_decode_frame, + .long_name = "libgsm GSM", }; AVCodec libgsm_ms_decoder = { @@ -156,4 +159,5 @@ NULL, libgsm_close, libgsm_decode_frame, + .long_name = "libgsm GSM Microsoft variant", };
--- a/libx264.c Tue Apr 29 07:11:59 2008 +0000 +++ b/libx264.c Tue Apr 29 07:24:44 2008 +0000 @@ -296,5 +296,6 @@ .encode = X264_frame, .close = X264_close, .capabilities = CODEC_CAP_DELAY, - .pix_fmts = (enum PixelFormat[]) { PIX_FMT_YUV420P, -1 } + .pix_fmts = (enum PixelFormat[]) { PIX_FMT_YUV420P, -1 }, + .long_name = "libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", };
--- a/libxvidff.c Tue Apr 29 07:11:59 2008 +0000 +++ b/libxvidff.c Tue Apr 29 07:24:44 2008 +0000 @@ -774,4 +774,5 @@ ff_xvid_encode_frame, ff_xvid_encode_close, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, + .long_name= "libxvidcore MPEG-4 part 2", };
--- a/ljpegenc.c Tue Apr 29 07:11:59 2008 +0000 +++ b/ljpegenc.c Tue Apr 29 07:24:44 2008 +0000 @@ -194,4 +194,5 @@ MPV_encode_init, encode_picture_lossless, MPV_encode_end, + .long_name = "Lossless JPEG", };
--- a/mjpegbdec.c Tue Apr 29 07:11:59 2008 +0000 +++ b/mjpegbdec.c Tue Apr 29 07:24:44 2008 +0000 @@ -145,5 +145,6 @@ ff_mjpeg_decode_end, mjpegb_decode_frame, CODEC_CAP_DR1, - NULL + NULL, + .long_name = "Apple MJPEG-B", };
--- a/mpeg12.c Tue Apr 29 07:11:59 2008 +0000 +++ b/mpeg12.c Tue Apr 29 07:24:44 2008 +0000 @@ -2442,6 +2442,7 @@ mpeg_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, + .long_name= "MPEG-1 video", }; AVCodec mpeg2video_decoder = { @@ -2455,6 +2456,7 @@ mpeg_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, + .long_name= "MPEG-2 video", }; //legacy decoder @@ -2469,6 +2471,7 @@ mpeg_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, + .long_name= "MPEG-1 video", }; #ifdef HAVE_XVMC @@ -2502,6 +2505,7 @@ mpeg_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, + .long_name = "MPEG-1 video XvMC (X-Video Motion Compensation)", }; #endif
--- a/mpeg12enc.c Tue Apr 29 07:11:59 2008 +0000 +++ b/mpeg12enc.c Tue Apr 29 07:24:44 2008 +0000 @@ -938,6 +938,7 @@ .supported_framerates= ff_frame_rate_tab+1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .capabilities= CODEC_CAP_DELAY, + .long_name= "MPEG-1 video", }; AVCodec mpeg2video_encoder = { @@ -951,4 +952,5 @@ .supported_framerates= ff_frame_rate_tab+1, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, -1}, .capabilities= CODEC_CAP_DELAY, + .long_name= "MPEG-2 video", };
--- a/mpegvideo_enc.c Tue Apr 29 07:11:59 2008 +0000 +++ b/mpegvideo_enc.c Tue Apr 29 07:24:44 2008 +0000 @@ -3805,6 +3805,7 @@ MPV_encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, .capabilities= CODEC_CAP_DELAY, + .long_name= "MPEG-4 part 2", }; AVCodec msmpeg4v1_encoder = { @@ -3816,6 +3817,7 @@ MPV_encode_picture, MPV_encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, + .long_name= "MPEG-4 part 2 Microsoft variant version 1", }; AVCodec msmpeg4v2_encoder = { @@ -3827,6 +3829,7 @@ MPV_encode_picture, MPV_encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, + .long_name= "MPEG-4 part 2 Microsoft variant version 2", }; AVCodec msmpeg4v3_encoder = { @@ -3838,6 +3841,7 @@ MPV_encode_picture, MPV_encode_end, .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1}, + .long_name= "MPEG-4 part 2 Microsoft variant version 3", }; AVCodec wmv1_encoder = {
--- a/msrle.c Tue Apr 29 07:11:59 2008 +0000 +++ b/msrle.c Tue Apr 29 07:24:44 2008 +0000 @@ -304,4 +304,5 @@ msrle_decode_end, msrle_decode_frame, CODEC_CAP_DR1, + .long_name= "Microsoft RLE", };
--- a/truemotion1.c Tue Apr 29 07:11:59 2008 +0000 +++ b/truemotion1.c Tue Apr 29 07:24:44 2008 +0000 @@ -899,4 +899,5 @@ truemotion1_decode_end, truemotion1_decode_frame, CODEC_CAP_DR1, + .long_name = "Duck TrueMotion 1.0", };