Age | Commit message (Collapse) | Author |
|
The define does not originate from configure, so it should not
have a name that is CONFIG_-prefixed.
|
|
The (optimized) functions are used nowhere else.
|
|
|
|
|
|
|
|
The variables which are declared in the teplate file are static and
therefore there is no symbol clash.
|
|
Move vector_fmul() from DSPContext to AVFloatDSPContext.
|
|
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
Update FATE references due to encoder delay.
|
|
|
|
Add some parameters to existing function documentation.
Remove some unneeded documentation.
Convert some static function documentation to non-doxygen style.
|
|
Update FATE references accordingly.
|
|
It's more readable and less prone to breakage.
|
|
|
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
Since both the fixed-point and floating-point encoders use the FFTContext,
this no longer needs to be in a separate context. Also, when a short-transform
context is added, the same MDCT window will be used.
|
|
This ensures that any processing between the MDCT and exponent extraction will
be using clipped coefficients.
|
|
This avoids using function pointers for quite a few small functions, most of
which just call DSP functions.
|
|
|
|
Function pointers are used for templated functions instead of needlessly
duplicating many functions.
|
|
Channel coupling is an optional AC-3 feature that increases quality by
combining high frequency information from multiple channels into a
single channel. The per-channel high frequency information is sent with
less accuracy in both the frequency and time domains. This allows more
bits to be used for lower frequencies while preserving enough
information to reconstruct the high frequencies.
|
|
|
|
caused by typo in mdct_end
|
|
This makes the AC3 encoder use the shared fixed-point MDCT rather
than its own implementation. The checksum changes are due to
different rounding in the MDCT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
in the ac3_fixed encoder.
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
AC3 encoder.
|
|
This increases the accuracy of coefficients, leading to improved quality.
Rescaling of the coefficients to full 25-bit accuracy is done rather than
offsetting the exponent values. This requires coefficient scaling to be done
before determining the rematrixing strategy. Also, the rematrixing strategy
calculation must use 64-bit math to prevent overflow due to the higher
precision coefficients.
|
|
AC3DSPContext.ac3_max_msb_abs_int16() finds the maximum MSB of the absolute
value of each element in an array of int16_t.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
s->windowed_samples will always have a range of [-32767,32767] due to the
window function, so the return value from log2_tab() will always be in the
range [0,14].
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
instead of doing it separately in 2 different functions.
This makes float AC-3 encoding approx. 3-7% faster overall.
Also, the coefficient conversion can now be easily SIMD-optimized.
Originally committed as revision 26232 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.
Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 26206 to svn://svn.ffmpeg.org/ffmpeg/trunk
|