]> git.sesse.net Git - ffmpeg/commitdiff
Add long names to some AVCodec declarations.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 28 Apr 2008 10:21:58 +0000 (10:21 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 28 Apr 2008 10:21:58 +0000 (10:21 +0000)
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13010 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/4xm.c
libavcodec/ffv1.c
libavcodec/h263dec.c
libavcodec/mpegvideo_enc.c
libavcodec/msvideo1.c
libavcodec/sonic.c
libavcodec/zmbv.c
libavcodec/zmbvenc.c

index d32ee1c825552043f80f1ced7a623a62bdfaee05..9eea643d833c114c990b768dc10f7465097df8f0 100644 (file)
@@ -836,5 +836,6 @@ AVCodec fourxm_decoder = {
     decode_end,
     decode_frame,
     /*CODEC_CAP_DR1,*/
+    .long_name = "4X Movie",
 };
 
index 14e39ca4a2810e5beb2d5eec004cb740b7f435a5..80138b5d1efc8b102904cacc24fa58960f55ce7e 100644 (file)
@@ -1022,7 +1022,8 @@ AVCodec ffv1_decoder = {
     common_end,
     decode_frame,
     CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
-    NULL
+    NULL,
+    .long_name= "FFmpeg codec #1",
 };
 
 #ifdef CONFIG_ENCODERS
@@ -1035,5 +1036,6 @@ AVCodec ffv1_encoder = {
     encode_frame,
     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},
+    .long_name= "FFmpeg codec #1",
 };
 #endif
index 700ff8fb850f22461de625a2a9efda3053c7553b..4ecac28c792d83d70cf2eaa61341d2de0a6a7784 100644 (file)
@@ -736,6 +736,7 @@ AVCodec h263_decoder = {
     ff_h263_decode_frame,
     CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
     .flush= ff_mpeg_flush,
+    .long_name="H.263",
 };
 
 AVCodec msmpeg4v1_decoder = {
@@ -784,6 +785,7 @@ AVCodec wmv1_decoder = {
     ff_h263_decode_end,
     ff_h263_decode_frame,
     CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+    .long_name= "Windows Media Video 7",
 };
 
 AVCodec h263i_decoder = {
@@ -796,6 +798,7 @@ AVCodec h263i_decoder = {
     ff_h263_decode_end,
     ff_h263_decode_frame,
     CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+    .long_name = "H.263i",
 };
 
 AVCodec flv_decoder = {
@@ -807,5 +810,6 @@ AVCodec flv_decoder = {
     NULL,
     ff_h263_decode_end,
     ff_h263_decode_frame,
-    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1
+    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
+    .long_name= "Flash Video",
 };
index b2e3a369b864a4f10d3ebce5565be0fc024423a6..12c660e9a5bfe05953115fff16bd6a2c1b1ec3b6 100644 (file)
@@ -3744,6 +3744,7 @@ AVCodec h263_encoder = {
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "H.263",
 };
 
 AVCodec h263p_encoder = {
@@ -3755,6 +3756,7 @@ AVCodec h263p_encoder = {
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "H.263+ / H.263 version 2",
 };
 
 AVCodec flv_encoder = {
@@ -3766,6 +3768,7 @@ AVCodec flv_encoder = {
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "Flash Video",
 };
 
 AVCodec rv10_encoder = {
@@ -3777,6 +3780,7 @@ AVCodec rv10_encoder = {
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "RealVideo 1.0",
 };
 
 AVCodec rv20_encoder = {
@@ -3788,6 +3792,7 @@ AVCodec rv20_encoder = {
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "RealVideo 2.0",
 };
 
 AVCodec mpeg4_encoder = {
@@ -3844,4 +3849,5 @@ AVCodec wmv1_encoder = {
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "Windows Media Video 7",
 };
index 31b10d5d50b7830987b94b8f7fa7ad05e1db0036..854f36fb562ab34a5698ac7c6e34ab73cb78fbe1 100644 (file)
@@ -339,4 +339,5 @@ AVCodec msvideo1_decoder = {
     msvideo1_decode_end,
     msvideo1_decode_frame,
     CODEC_CAP_DR1,
+    .long_name= "Microsoft Video 1",
 };
index 79641ae5139c26d1ec0c842349b20201cdc915c4..f9086e71a81533fcbd2fe814d12213cb96cbb40e 100644 (file)
@@ -946,6 +946,7 @@ AVCodec sonic_encoder = {
     sonic_encode_frame,
     sonic_encode_close,
     NULL,
+    .long_name = "Sonic",
 };
 
 AVCodec sonic_ls_encoder = {
@@ -957,6 +958,7 @@ AVCodec sonic_ls_encoder = {
     sonic_encode_frame,
     sonic_encode_close,
     NULL,
+    .long_name = "Sonic lossless",
 };
 #endif
 
@@ -970,5 +972,6 @@ AVCodec sonic_decoder = {
     NULL,
     sonic_decode_close,
     sonic_decode_frame,
+    .long_name = "Sonic",
 };
 #endif
index 4e67aa90e1b4fb187ae5d41267ea9f04151607ff..51079fa944421a5884c7910416a5c65287181dac 100644 (file)
@@ -661,6 +661,7 @@ AVCodec zmbv_decoder = {
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Zip Motion Blocks Video",
 };
 
index b8455480da9c08b2795da3acf0e48d3b6d79f0fc..2feeb66605715cb9f1c875292b9d6c0d51fa0d63 100644 (file)
@@ -319,4 +319,5 @@ AVCodec zmbv_encoder = {
     encode_frame,
     encode_end,
     .pix_fmts = (enum PixelFormat[]){PIX_FMT_PAL8, -1},
+    .long_name = "Zip Motion Blocks Video",
 };