Browse Source

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
tags/v0.5
Stefano Sabatini Diego Biurrun 18 years ago
parent
commit
038f846e41
8 changed files with 22 additions and 3 deletions
  1. +1
    -0
      libavcodec/4xm.c
  2. +3
    -1
      libavcodec/ffv1.c
  3. +5
    -1
      libavcodec/h263dec.c
  4. +6
    -0
      libavcodec/mpegvideo_enc.c
  5. +1
    -0
      libavcodec/msvideo1.c
  6. +3
    -0
      libavcodec/sonic.c
  7. +2
    -1
      libavcodec/zmbv.c
  8. +1
    -0
      libavcodec/zmbvenc.c

+ 1
- 0
libavcodec/4xm.c View File

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


+ 3
- 1
libavcodec/ffv1.c View 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

+ 5
- 1
libavcodec/h263dec.c View 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",
};

+ 6
- 0
libavcodec/mpegvideo_enc.c View 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",
};

+ 1
- 0
libavcodec/msvideo1.c View File

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

+ 3
- 0
libavcodec/sonic.c View 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

+ 2
- 1
libavcodec/zmbv.c View File

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


+ 1
- 0
libavcodec/zmbvenc.c View 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",
};

Loading…
Cancel
Save