Justin Ruggles
|
5066f51502
|
comments modification: add, clean up, Doxygenize, and reword
Originally committed as revision 10001 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
f5cefb21d5
|
cosmetics: blank lines, remove some comments
Originally committed as revision 9955 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
82758fd690
|
add pointer to the parent context for use with av_log()
Originally committed as revision 9954 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
77416325cb
|
use array for dynamic range scaling factors
Originally committed as revision 9953 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
01f354531d
|
add dialogue normalization
Originally committed as revision 9948 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
3bbb0bf82c
|
add support for downmixing to stereo or mono
Originally committed as revision 9916 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
4e09232070
|
use dsputil for float to signed 16-bit sample conversion
Originally committed as revision 9914 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
775369e028
|
cosmetics: indentation
Originally committed as revision 9911 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
7b4076a777
|
consolidate decoding of lfe and coupling channels with decoding of full-bandwidth channels.
Originally committed as revision 9910 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
5e61de0cc1
|
there are only 4 rematrixing bands
Originally committed as revision 9908 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
75b9b0369b
|
cosmetics: use more appropriate names for iterator variables.
Originally committed as revision 9907 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
8e2eb3b674
|
move some variables to a more local scope.
Originally committed as revision 9905 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
0bff58a59a
|
make exponent decoding consistent (prepare for merging coupling and lfe code with normal channel code).
Originally committed as revision 9904 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
eaf84d970f
|
cosmetics: use braces when it makes the code easier to read.
Originally committed as revision 9893 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
fc59010bbf
|
change AC3DecodeContext variable to local variable
Originally committed as revision 9892 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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 |