OSDN Git Service

AC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
authorJustin Ruggles <justin.ruggles@gmail.com>
Sat, 14 Jul 2007 15:48:28 +0000 (15:48 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 14 Jul 2007 15:48:28 +0000 (15:48 +0000)
commit486637af8ef29ec215e0e0b7ecd3b5470f0e04e5
treeecf106a163c8aae40429d2565c336bb88e4c56b8
parent0058584580b87feb47898e60e4b80c7f425882ad
AC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
Latest commit.
There is no error in parsing and or recovering transform coefficients.
Double checked with ac3dec.
Getting consistent results with the bit allocation routine and transform
coefficients.
The code is able to parse valid ac3 bitstreams without error from start
to end.
I have also implemented the imdct when block switching is not enabled.
However, can anybody provide an insight into how to convert float samples to
int16_t ? lrint is of no help cuz it produces output -1, 0 or 1 whereas the
output should be between -32768 to 32767.

Originally committed as revision 9654 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c