Skip to content

Commit

Permalink
Smacker demuxer and decoder.
Browse files Browse the repository at this point in the history
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5189 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
  • Loading branch information
kostya committed Mar 21, 2006
1 parent e79fd2d commit f72a475
Show file tree
Hide file tree
Showing 10 changed files with 1,059 additions and 5 deletions.
1 change: 1 addition & 0 deletions Changelog
Expand Up @@ -41,6 +41,7 @@ version <next>
- Improved Theora/VP3 decoder
- True Audio (TTA) decoder
- AVS demuxer and video decoder
- Smacker demuxer and decoder

version 0.4.9-pre1:

Expand Down
4 changes: 4 additions & 0 deletions doc/ffmpeg-doc.texi
Expand Up @@ -702,6 +702,8 @@ library:
@tab Multimedia format used in games like Mad Dog McCree
@item AVS @tab @tab X
@tab Multimedia format used by the Creature Shock game.
@item Smacker @tab @tab X
@tab Multimedia format used by many games.
@end multitable

@code{X} means that encoding (resp. decoding) is supported.
Expand Down Expand Up @@ -796,6 +798,7 @@ following image formats are supported:
@item American Laser Games Video @tab @tab X @tab Used in games like Mad Dog McCree
@item ZMBV @tab @tab X @tab
@item AVS Video @tab @tab X @tab Video encoding used by the Creature Shock game.
@item Smacker Video @tab @tab X @tab Video encoding used in Smacker.
@end multitable

@code{X} means that encoding (resp. decoding) is supported.
Expand Down Expand Up @@ -871,6 +874,7 @@ other implementations.
@tab All versions except 5.1 are supported
@item DSP Group TrueSpeech @tab @tab X
@item True Audio (TTA) @tab @tab X
@item Smacker Audio @tab @tab X
@end multitable

@code{X} means that encoding (resp. decoding) is supported.
Expand Down
3 changes: 3 additions & 0 deletions libavcodec/Makefile
Expand Up @@ -146,6 +146,9 @@ endif
ifeq ($(CONFIG_SHORTEN_DECODER),yes)
OBJS+= shorten.o
endif
ifneq ($(CONFIG_SMACKER_DECODER)$(CONFIG_SMACKAUD_DECODER),)
OBJS+= smacker.o
endif
ifeq ($(CONFIG_SMC_DECODER),yes)
OBJS+= smc.o
endif
Expand Down
6 changes: 6 additions & 0 deletions libavcodec/allcodecs.c
Expand Up @@ -447,6 +447,12 @@ void avcodec_register_all(void)
#ifdef CONFIG_ZMBV_DECODER
register_avcodec(&zmbv_decoder);
#endif //CONFIG_ZMBV_DECODER
#ifdef CONFIG_SMACKER_DECODER
register_avcodec(&smacker_decoder);
#endif //CONFIG_SMACKER_DECODER
#ifdef CONFIG_SMACKAUD_DECODER
register_avcodec(&smackaud_decoder);
#endif //CONFIG_SMACKAUD_DECODER
#ifdef CONFIG_SONIC_DECODER
register_avcodec(&sonic_decoder);
#endif //CONFIG_SONIC_DECODER
Expand Down
8 changes: 6 additions & 2 deletions libavcodec/avcodec.h
Expand Up @@ -21,8 +21,8 @@ extern "C" {
#define AV_STRINGIFY(s) AV_TOSTRING(s)
#define AV_TOSTRING(s) #s

#define LIBAVCODEC_VERSION_INT ((51<<16)+(7<<8)+0)
#define LIBAVCODEC_VERSION 51.7.0
#define LIBAVCODEC_VERSION_INT ((51<<16)+(8<<8)+0)
#define LIBAVCODEC_VERSION 51.8.0
#define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT

#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
Expand Down Expand Up @@ -118,6 +118,7 @@ enum CodecID {
CODEC_ID_MMVIDEO,
CODEC_ID_ZMBV,
CODEC_ID_AVS,
CODEC_ID_SMACKVIDEO,

/* various pcm "codecs" */
CODEC_ID_PCM_S16LE= 0x10000,
Expand Down Expand Up @@ -198,6 +199,7 @@ enum CodecID {
CODEC_ID_COOK,
CODEC_ID_TRUESPEECH,
CODEC_ID_TTA,
CODEC_ID_SMACKAUDIO,

CODEC_ID_OGGTHEORA= 0x16000,

Expand Down Expand Up @@ -2238,6 +2240,8 @@ extern AVCodec bmp_decoder;
extern AVCodec mmvideo_decoder;
extern AVCodec zmbv_decoder;
extern AVCodec avs_decoder;
extern AVCodec smacker_decoder;
extern AVCodec smackaud_decoder;

/* pcm codecs */
#define PCM_CODEC(id, name) \
Expand Down

0 comments on commit f72a475

Please sign in to comment.