Justin Ruggles
2ed4439658
Simplify stereo rematrixing by only using one temporary variable. It is also
...
about 1.8% faster on my system.
Originally committed as revision 20090 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
16c91d2b23
remove unneeded assignment in inner loop. rematrixing bands are contiguous.
...
Originally committed as revision 20089 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
8b11b44ea7
Rearrange loop structure for approx. 35-50% faster calc_transform_coeffs_cpl()
...
depending on content.
Originally committed as revision 20055 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
3b6c5ad2f6
Move variable declaration to inside of loop.
...
Originally committed as revision 20053 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
025873738f
Cosmetics: Rename some variables.
...
Originally committed as revision 20052 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
b5f4639b13
Simplify coupling band loop.
...
Originally committed as revision 20051 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
a521aadfe8
cosmetics: reindent after last commit
...
Originally committed as revision 19589 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
25dcd1823c
ac3dec: simplify zero-bit mantissa dithering by calculating it
...
conditionally during mantissa decoding, then only removing it from the
coupling range for coupled channels which do not use dithering.
Originally committed as revision 19588 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b972c06a8f
cosmetics: indentation and line wrap
...
Originally committed as revision 19587 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
c36ea0600c
cosmetics after last commit
...
Originally committed as revision 19586 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3f93716809
Modify decode_band_structure() so that the actual band structure is only
...
used within the function. This removes the need to have the coupling band
structure stored in the AC3DecodeContext.
Originally committed as revision 19585 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
603139022d
Use coupling band sizes instead of coupling band structure when
...
calculating coupling transform coefficients.
Originally committed as revision 19584 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
eb98cdfa8d
cosmetics: add more detailed information to the documentation for
...
decode_band_structure().
Originally committed as revision 19577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d15153244f
refactoring: properly separate AC-3 and E-AC-3 code
...
Originally committed as revision 19501 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
89547cfb36
Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.
...
Originally committed as revision 19500 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
ce863d7f36
Rename ff_log_missing_feature() to av_log_missing_feature().
...
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ae04de316f
eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ
...
dequantization 24-bit in a separate commit.
Originally committed as revision 18887 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
1754fe4d30
The AC-3 decoder is now LGPL. Exchange the license header and change references
...
in the build system and documentation that mark it as GPL.
Originally committed as revision 18876 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
d869a460db
LGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.
...
Originally committed as revision 18875 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9a7a71ed4c
eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
...
simpler and also fixes a bug in GAQ dequantization.
Originally committed as revision 18860 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1ac7d1ac50
ac3dec: fix coupling range check. the start subband must be less than
...
the end subband.
Originally committed as revision 18857 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Siarhei Siamashka
7d485f165f
Support for getting (i)MDCT output multiplied by a constant scaling factor.
...
Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.
Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
778bc09bbe
cosmetics: line wrap and vertical alignment
...
Originally committed as revision 18752 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
396b73c7f7
ac3dec: Remove unneeded context variable, num_cpl_subbands. It is also
...
not needed for spectral extension or enhanced coupling since it is
redundant information, so I am removing it from decode_band_structure()
as well.
Originally committed as revision 18751 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
52dc3fc83d
cosmetics: indentation after last commit
...
Originally committed as revision 18750 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
13ec942869
ac3dec: move channel remapping to outside of block loop
...
Originally committed as revision 18749 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
bfeca7beb6
Add channel layout support to the AC-3 decoder and AC-3 parser.
...
Originally committed as revision 18622 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
95f3019a51
ac3dec: reorder output channels to SMPTE channel order
...
Originally committed as revision 18542 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
11d6f38cc9
Factorise enum of AC3 error types to be usable by AAC in the ADTS patch that
...
will follow
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
dbbec0c2f2
Make av_log_missing_feature an internal function, and change its name
...
to ff_log_missing_feature.
Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
20e047262f
cosmetics: alignment after last commit
...
Originally committed as revision 16035 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
72a6244b5d
ac3: detect dba errors and prevent writing past end of array
...
Originally committed as revision 16034 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
2ceccf045c
ac3dec: simplify exponent bounds checking
...
Originally committed as revision 16022 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
96f229d6c0
ac3dec: unroll inner loop in exponent decoding. 46% faster decode_exponents().
...
Originally committed as revision 16018 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
806703243e
cosmetics: vertical alignment
...
Originally committed as revision 16017 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1cdd567f31
cosmetics: reindent after last commit
...
Originally committed as revision 16016 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ce7d842fa6
ac3dec: detect out-of-range exponents
...
Originally committed as revision 16015 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f23dc1e1f9
silence gcc warning: ‘n_bands’ may be used uninitialized
...
Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
75b53b2123
ac3dec: use uint8_t for band sizes
...
Originally committed as revision 15998 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
af2272b209
ac3dec: skip decoding and use error concealment for remaining blocks in
...
the frame after an error occurs.
Originally committed as revision 15987 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e202cc2580
revert r15812 (E-AC-3 Spectral Extension) pending further review
...
Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3f3ca7ac07
cosmetics: vertical alignment
...
Originally committed as revision 15815 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
c763f86728
silence a gcc warning about using an uninitialized variable
...
Originally committed as revision 15814 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
66561189a1
cosmetics: indentation
...
Originally committed as revision 15813 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0cc51734b2
add support for spectral extension
...
Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0c5d750df9
add a generic function to decode banding structure for coupling, spectral
...
extension, or enhanced coupling
Originally committed as revision 15811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6c6f927289
add a line break in error message text
...
Originally committed as revision 15810 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6ee6d068f7
simplify decoding of coupling frequency range
...
Originally committed as revision 15809 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago