changeset 6713:f282270c589f libavcodec

Add long names to some AVCodec declarations. patch by Stefano Sabatini, stefano.sabatini-lala poste it
author diego
date Mon, 28 Apr 2008 10:21:58 +0000
parents 5b3acf9fd50a
children 05c3a4b419e9
files 4xm.c ffv1.c h263dec.c mpegvideo_enc.c msvideo1.c sonic.c zmbv.c zmbvenc.c
diffstat 8 files changed, 22 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/4xm.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/4xm.c	Mon Apr 28 10:21:58 2008 +0000
@@ -836,5 +836,6 @@
     decode_end,
     decode_frame,
     /*CODEC_CAP_DR1,*/
+    .long_name = "4X Movie",
 };
 
--- a/ffv1.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/ffv1.c	Mon Apr 28 10:21:58 2008 +0000
@@ -1022,7 +1022,8 @@
     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 @@
     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
--- a/h263dec.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/h263dec.c	Mon Apr 28 10:21:58 2008 +0000
@@ -736,6 +736,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="H.263",
 };
 
 AVCodec msmpeg4v1_decoder = {
@@ -784,6 +785,7 @@
     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 @@
     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 @@
     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",
 };
--- a/mpegvideo_enc.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/mpegvideo_enc.c	Mon Apr 28 10:21:58 2008 +0000
@@ -3744,6 +3744,7 @@
     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 @@
     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 @@
     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 @@
     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 @@
     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 @@
     MPV_encode_picture,
     MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, -1},
+    .long_name= "Windows Media Video 7",
 };
--- a/msvideo1.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/msvideo1.c	Mon Apr 28 10:21:58 2008 +0000
@@ -339,4 +339,5 @@
     msvideo1_decode_end,
     msvideo1_decode_frame,
     CODEC_CAP_DR1,
+    .long_name= "Microsoft Video 1",
 };
--- a/sonic.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/sonic.c	Mon Apr 28 10:21:58 2008 +0000
@@ -946,6 +946,7 @@
     sonic_encode_frame,
     sonic_encode_close,
     NULL,
+    .long_name = "Sonic",
 };
 
 AVCodec sonic_ls_encoder = {
@@ -957,6 +958,7 @@
     sonic_encode_frame,
     sonic_encode_close,
     NULL,
+    .long_name = "Sonic lossless",
 };
 #endif
 
@@ -970,5 +972,6 @@
     NULL,
     sonic_decode_close,
     sonic_decode_frame,
+    .long_name = "Sonic",
 };
 #endif
--- a/zmbv.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/zmbv.c	Mon Apr 28 10:21:58 2008 +0000
@@ -661,6 +661,7 @@
     decode_init,
     NULL,
     decode_end,
-    decode_frame
+    decode_frame,
+    .long_name = "Zip Motion Blocks Video",
 };
 
--- a/zmbvenc.c	Sun Apr 27 22:39:51 2008 +0000
+++ b/zmbvenc.c	Mon Apr 28 10:21:58 2008 +0000
@@ -319,4 +319,5 @@
     encode_frame,
     encode_end,
     .pix_fmts = (enum PixelFormat[]){PIX_FMT_PAL8, -1},
+    .long_name = "Zip Motion Blocks Video",
 };