[Ffmpeg-devel] [PATCH] DTS decoder

Kostya kostya.shishkov
Wed Feb 21 19:29:09 CET 2007


On Wed, Feb 21, 2007 at 01:01:13PM +0100, Benjamin Larsson wrote:
> This is the current working version of the DCA decoder. It is mostly a 
> port of libdts/libdca to ffmpeg, Kostya have replaced all the GPL 
> downmixing code and ported the huffman stuff plus some other various 
> things, I played abit with the transform and the initial lavc port. The 
> rest of the patch files can be obtained by using svn co 
> svn://svn.mplayerhq.hu/dca dca (there are over 300kb of tables and add 
> little for a review). The current code just downmix to 2 channels like 
> the libdts glue code also did. This will hopefully change in the future.
> 
> MvH
> Benjamin Larsson

> Index: libavcodec/allcodecs.c
> ===================================================================
> --- libavcodec/allcodecs.c	(revision 8047)
> +++ libavcodec/allcodecs.c	(arbetskopia)
> @@ -161,6 +161,7 @@
>      REGISTER_ENCDEC (AMR_NB, amr_nb);
>      REGISTER_ENCDEC (AMR_WB, amr_wb);
>      REGISTER_DECODER(COOK, cook);
> +    REGISTER_DECODER(DCA, dca);
>      REGISTER_DECODER(DSICINAUDIO, dsicinaudio);
>      REGISTER_DECODER(DTS, dts);
>      REGISTER_ENCODER(FAAC, faac);

Minor note: it won't work properly without dca_parser enabled but that
just one more line in allcodecs.c and avcodec.h




More information about the ffmpeg-devel mailing list