Justin Ruggles
6d96d626c6
use array instead of bitmask
...
Originally committed as revision 9891 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
3357ff338b
use table for converting dynamic range codes to scale factors
...
Originally committed as revision 9889 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
5aefe3ebef
use floating-point mantissa dequantization tables
...
Originally committed as revision 9888 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
04ac5cada1
cosmetics: indentation
...
Originally committed as revision 9887 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
60f07fadd3
dither zero-bit mantissas by default. remove dithering only if it's explicitly turned off.
...
Originally committed as revision 9886 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
d63f6fea50
simplify coefficient decoding
...
Originally committed as revision 9884 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
285bf28c67
merge decoding of coupling channel coefficients and regular channel coefficients
...
Originally committed as revision 9883 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
d7dc7ad05c
split out coupling coefficient reconstruction into a separate function
...
Originally committed as revision 9882 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
dfd57c366f
align array used in mdct. fixes segfault.
...
Originally committed as revision 9848 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
8b60bbbf5b
simplify stereo rematrixing
...
Originally committed as revision 9824 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
b6acc57f88
change 2 fields from context to local variables
...
Originally committed as revision 9823 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
8fbb368d2c
BLOCK_SIZE is not used properly, just use numbers instead to avoid confusion
...
Originally committed as revision 9822 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
7bfd22f25a
remove broken downmixing. will add new implementation later.
...
Originally committed as revision 9821 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
4611b64ec1
simplify snr offset and bit allocation
...
Originally committed as revision 9784 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
e9a3824880
only use sized data types when necessary
...
Originally committed as revision 9783 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
8f58a4c943
set bit allocation parameters directly instead of copying
...
Originally committed as revision 9782 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
e2cd6686fa
use enum value instead of numerical value for acmod
...
Originally committed as revision 9781 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
bc8edb7e53
use consistent data type for exponents. needs to be int8_t to pass to bit allocation.
...
Originally committed as revision 9780 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
878c40a137
change some bit masks to arrays
...
Originally committed as revision 9779 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
bec37145da
cosmetics: indentation
...
Originally committed as revision 9774 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
9fc1ab722e
Use shared AC-3 header parsing. Move some initializations to block parsing function.
...
Originally committed as revision 9773 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
9ef6039043
don't need to synchronize in the decoder. the parser does that already.
...
Originally committed as revision 9772 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
de34875c75
get rid of an ugly macro
...
Originally committed as revision 9771 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
614e9b2424
don't need to define ALT_BITSTREAM_READER
...
Originally committed as revision 9752 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
362664215d
update license header. add copyright for myself. correct and complete the statement about liba52.
...
Originally committed as revision 9751 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
3bb004fcda
revise comment for exponent decoding function
...
Originally committed as revision 9750 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
4415076f55
new implementation of exponent decoding
...
Originally committed as revision 9749 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
d699d38393
cosmetics: indentation
...
Originally committed as revision 9748 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
0ce668015f
remove portions of bit allocation which are no longer needed since they are shared with the encoder
...
Originally committed as revision 9747 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
0de73a46ff
fix the 256-point MDCT
...
Originally committed as revision 9685 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
623b79435d
use shared ac3 bit allocation function
...
Originally committed as revision 9684 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
fa67992dea
no need for the decoder to have the license as a prefix
...
Originally committed as revision 9682 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
76d357fd23
remove a debugging function and variable, and remove the commented-out code which uses them.
...
Originally committed as revision 9681 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
a39532b0d9
ABS -> FFABS
...
Originally committed as revision 9680 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
cc2a8443eb
move some common values to ac3.h and utilize them
...
Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
cb503702ee
use random number generator from libavutil
...
Originally committed as revision 9678 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
9d10960194
10l to me. I accidentally removed a word.
...
Originally committed as revision 9677 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
0ec2cc35f7
revise license header for simplicity and consistency
...
Originally committed as revision 9676 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
283614b5fc
make ac3dec.c GPL until violations are fixed
...
Originally committed as revision 9674 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
967d397a6c
AC-3 decoder, soc revision 402, Jul 14 13:45:14 2007 UTC by jbr
...
merge ac3_decoder.h into ac3_decoder.c
Originally committed as revision 9673 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
afb46fc092
AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
...
Enable sse imdct, patch by Loren Merrit.
Originally committed as revision 9672 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
de17eee70f
AC-3 decoder, soc revision 109, Sep 22 22:42:54 2006 UTC by banan
...
Cosmetics.
Originally committed as revision 9671 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
1ea76064b4
AC-3 decoder, soc revision 72, Sep 7 04:20:00 2006 UTC by cloud9
...
fix short block imdct.
Originally committed as revision 9670 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
c7cfc48f37
AC-3 decoder, soc revision 71, Sep 4 09:47:12 2006 UTC by cloud9
...
Redundant code cleanup.
Optimized dither generation.
Minor optimization in bit allocation.
Comments.
Originally committed as revision 9669 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
860fe8c908
AC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan
...
Cosmetics, white space removal.
Originally committed as revision 9668 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
6dc5d71f97
AC-3 decoder, soc revision 69, Aug 31 07:12:56 2006 UTC by cloud9
...
Fix the bugs:
1. The quality of output because of incorrect windowing coefficients.
New code for window generation.
2. Dynrng values were reset where dynrng value is present in the first block,
but not in the subsequent block.
Originally committed as revision 9667 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
d7bcc4adcf
AC-3 decoder, soc revision 58, Aug 19 14:20:45 2006 UTC by cloud9
...
Further optimizations.
Originally committed as revision 9666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
1d0a6f5209
AC-3 decoder, soc revision 57, Aug 19 12:44:38 2006 UTC by cloud9
...
Optimization as suggested by Benjamin.
Originally committed as revision 9665 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
032732d49d
AC-3 decoder, soc revision 56, Aug 17 14:21:58 2006 UTC by cloud9
...
Acknowledgements.
Originally committed as revision 9664 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
e6bca37c81
AC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
...
Remove more unnecessary headers.
Codec initialization changed to use name => argument notation.
Originally committed as revision 9663 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago