1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

first pass at a new VP3 video decoder

Originally committed as revision 1831 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Mike Melanson 2003-05-05 02:54:15 +00:00
parent 9616355144
commit d86053a416
7 changed files with 5144 additions and 1 deletions

View File

@ -16,7 +16,8 @@ OBJS= common.o utils.o mem.o allcodecs.o \
motion_est.o imgconvert.o imgresample.o \
mpeg12.o mpegaudiodec.o pcm.o simple_idct.o \
ratecontrol.o adpcm.o eval.o dv.o error_resilience.o \
fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o
fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o \
vp3.o
ASM_OBJS=
# codecs which are patented in some non free countries like the us

View File

@ -96,6 +96,7 @@ void avcodec_register_all(void)
register_avcodec(&huffyuv_decoder);
register_avcodec(&cyuv_decoder);
register_avcodec(&h264_decoder);
register_avcodec(&vp3_decoder);
#ifdef CONFIG_AC3
register_avcodec(&ac3_decoder);
#endif

View File

@ -51,6 +51,7 @@ enum CodecID {
CODEC_ID_CYUV,
CODEC_ID_H264,
CODEC_ID_INDEO3,
CODEC_ID_VP3,
/* various pcm "codecs" */
CODEC_ID_PCM_S16LE,
@ -1218,6 +1219,7 @@ extern AVCodec oggvorbis_decoder;
extern AVCodec cyuv_decoder;
extern AVCodec h264_decoder;
extern AVCodec indeo3_decoder;
extern AVCodec vp3_decoder;
/* pcm codecs */
#define PCM_CODEC(id, name) \

2325
libavcodec/vp3.c Normal file

File diff suppressed because it is too large Load Diff

2812
libavcodec/vp3data.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -162,6 +162,7 @@ const CodecTag codec_bmp_tags[] = {
{ CODEC_ID_INDEO3, MKTAG('i', 'v', '3', '2') },
{ CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '1') },
{ CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '2') },
{ CODEC_ID_VP3, MKTAG('V', 'P', '3', '1') },
{ 0, 0 },
};

View File

@ -115,6 +115,7 @@ static const CodecTag mov_video_tags[] = {
{ CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'c', ' ') }, /* DV NTSC */
{ CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'c', 'p') }, /* DV PAL */
/* { CODEC_ID_DVVIDEO, MKTAG('A', 'V', 'd', 'v') }, *//* AVID dv */
{ CODEC_ID_VP3, MKTAG('V', 'P', '3', '1') }, /* On2 VP3 */
{ 0, 0 },
};