Split the mpeg4 encoder and decoder off h263.c

Originally committed as revision 21079 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2010-01-07 23:53:49 +00:00
parent 84f0aba18d
commit ca334dd14b
14 changed files with 4113 additions and 3884 deletions

View File

@@ -36,6 +36,7 @@
#include "faandct.h"
#include "aandcttab.h"
#include "flv.h"
#include "mpeg4video.h"
#include <limits.h>
//#undef NDEBUG
@@ -3781,19 +3782,6 @@ AVCodec h263p_encoder = {
.long_name= NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"),
};
AVCodec mpeg4_encoder = {
"mpeg4",
CODEC_TYPE_VIDEO,
CODEC_ID_MPEG4,
sizeof(MpegEncContext),
MPV_encode_init,
MPV_encode_picture,
MPV_encode_end,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
.capabilities= CODEC_CAP_DELAY,
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
};
AVCodec msmpeg4v1_encoder = {
"msmpeg4v1",
CODEC_TYPE_VIDEO,