Justin Ruggles
|
224bc440b2
|
Revert commit made in revision 11228. I'm getting some strange results in the
downmixed output that I can't quite figure out.
Originally committed as revision 11245 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Justin Ruggles
|
b40211ff67
|
downmix before the IMDCT if no block switching is used
Originally committed as revision 11228 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Andreas Öman
|
6708eefe55
|
Make AC3 decoder honor avctx->request_channels
Originally committed as revision 11220 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Justin Ruggles
|
e2270b4e1e
|
cosmetics: rename ac3 decoder variables
Originally committed as revision 11197 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Justin Ruggles
|
e59cc20593
|
cosmetics: rename common ac3 variables
Originally committed as revision 11196 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Justin Ruggles
|
5ce2134258
|
cosmetics: rename ac3 bit allocation variables
Originally committed as revision 11194 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Justin Ruggles
|
66ecf18e38
|
cosmetics: rename ac3 tables
Originally committed as revision 11193 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Diego Biurrun
|
56cc85a068
|
Misc spelling fixes, prefer American over British English.
Originally committed as revision 11126 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Justin Ruggles
|
a135bea507
|
skip incomplete frames
Originally committed as revision 10497 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
3df880934e
|
better AC3 header error reporting
Originally committed as revision 10496 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
d5b7144e1f
|
fix random dithering of zero-bit mantissas
Originally committed as revision 10495 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
bfcf690c68
|
cosmetics: rename variables. tbl->tab for consistency with other AC3 tables
Originally committed as revision 10494 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
396a6ee50e
|
fix decoding of DolbyNet AC3
Originally committed as revision 10493 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Justin Ruggles
|
222ae64c3d
|
cosmetics: vertical alignment
Originally committed as revision 10002 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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 |