aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorRoberto Togni <r_togni@tiscali.it>2004-01-12 22:14:45 +0000
committerRoberto Togni <r_togni@tiscali.it>2004-01-12 22:14:45 +0000
commita273bbfb0364faf56c8c58ce726beb94d824ffce (patch)
tree6b976fe6f9aefad9a8aeb10b35774391d73b177b /libavcodec
parentfb966f99b0f5353a6cae421f970ae227a95ed969 (diff)
downloadffmpeg-a273bbfb0364faf56c8c58ce726beb94d824ffce.tar.gz
MSZH and ZLIB decoder support
Experimental ZLIB encoder (not working yet) Originally committed as revision 2693 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile2
-rw-r--r--libavcodec/allcodecs.c3
-rw-r--r--libavcodec/avcodec.h5
3 files changed, 9 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index e4b216ee03..c07cd4d574 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -19,7 +19,7 @@ OBJS= common.o utils.o mem.o allcodecs.o \
vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o cljr.o \
roqvideo.o dpcm.o interplayvideo.o xan.o rpza.o cinepak.o msrle.o \
msvideo1.o vqavideo.o idcinvideo.o adx.o rational.o faandct.o 8bps.o \
- smc.o parser.o flicvideo.o truemotion1.o vmdav.o
+ smc.o parser.o flicvideo.o truemotion1.o vmdav.o lcl.o
ifeq ($(AMR_NB),yes)
ifeq ($(AMR_NB_FIXED),yes)
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 56b1ef82b7..b71db05308 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -73,6 +73,7 @@ void avcodec_register_all(void)
register_avcodec(&asv1_encoder);
register_avcodec(&asv2_encoder);
register_avcodec(&ffv1_encoder);
+ register_avcodec(&zlib_encoder);
#endif /* CONFIG_ENCODERS */
register_avcodec(&rawvideo_encoder);
register_avcodec(&rawvideo_decoder);
@@ -142,6 +143,8 @@ void avcodec_register_all(void)
register_avcodec(&truemotion1_decoder);
register_avcodec(&vmdvideo_decoder);
register_avcodec(&vmdaudio_decoder);
+ register_avcodec(&mszh_decoder);
+ register_avcodec(&zlib_decoder);
#ifdef CONFIG_AC3
register_avcodec(&ac3_decoder);
#endif
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3fd4e17d72..b58bfc266d 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -91,6 +91,8 @@ enum CodecID {
CODEC_ID_TRUEMOTION1,
CODEC_ID_VMDVIDEO,
CODEC_ID_VMDAUDIO,
+ CODEC_ID_MSZH,
+ CODEC_ID_ZLIB,
/* various pcm "codecs" */
CODEC_ID_PCM_S16LE,
@@ -1624,6 +1626,7 @@ extern AVCodec asv2_encoder;
extern AVCodec vcr1_encoder;
extern AVCodec ffv1_encoder;
extern AVCodec mdec_encoder;
+extern AVCodec zlib_encoder;
extern AVCodec h263_decoder;
extern AVCodec mpeg4_decoder;
@@ -1687,6 +1690,8 @@ extern AVCodec flic_decoder;
extern AVCodec vmdvideo_decoder;
extern AVCodec vmdaudio_decoder;
extern AVCodec truemotion1_decoder;
+extern AVCodec mszh_decoder;
+extern AVCodec zlib_decoder;
extern AVCodec ra_144_decoder;
extern AVCodec ra_288_decoder;
extern AVCodec roq_dpcm_decoder;