Age | Commit message (Collapse) | Author |
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
Currently, any samples in the final frame are not decoded because they are
only represented by one frame instead of two. So we encode two final frames to
cover both the analysis delay and the MDCT delay.
|
|
Fixes handling of CODEC_CAP_SMALL_LAST_FRAME.
|
|
Some compilers still do not support this syntax.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Forgot to add the equivalent amount to the incoming sample pointer as the output pointer.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
10l: Forgot to adjust deinterleave for new location of incoming samples in 7946a5a.
This produced incorrect, but surprisingly listenable results.
Thanks to Justin Ruggles for the report.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
When the length is the escape value (15), the new length is calculated by
15 + get_bits(8) - 1.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
incoming samples.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
This should be moved to tablegen at some point.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
to float.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
Macroify sanity checks and check return values of allocs and other functions.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
They are used in lavf.
|
|
Specifically, ff_mpeg4audio_sample_rates, ff_mpeg4audio_get_config and
ff_copy_pce_data
|
|
|
|
The spec states:
* Only the lowest 12 spectral coefficients of any LFE may be non-zero
We were using the 12 lowest *bands*.
|
|
10l: Forgot about TYPE_LFE being after TYPE_CPE. Which causes a
segfault when encoding 5.1
|
|
It's more readable and less prone to breakage.
|
|
In adjust_frame_information(), msc is incremented for each sfb in each
sub-window then compared against max_sfb which is for a single sub-window.
This resulted in frames using EIGHT_SHORT_SEQUENCE where the first few
sub-windows increment msc to a value that results in ms_mode == 2. Even
though only some of the bands are actually using Mid/Side.
|
|
|
|
channel analysis for each channel.
|
|
|
|
|
|
ms_off is the default, until Mid/Side is no longer buggy.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Instead use the function pointers directly.
|
|
'ch' and 'w'.
|
|
There is still are still a few sections missing relating to TNS (not present)
and mid/side (contains other bugs).
Overall this improves quality, and vastly improves rate-control.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This function is not tightly coupled to mdct, and it's in the way
of making a fixed-point mdct implementation.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This reverts the removal of scoefs from AACEncContext.
It resulted in scoefs being a NULL pointer when
search_for_quantizers() is called.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.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>
|
|
Use backwards compatible explicit signalling to denote the absence of
SBR.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
|
|
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 25002 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
In general s->cur_channel should be phased out.
Originally committed as revision 25001 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 25000 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 24998 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
ff_psy_suggest_window().
Patch by Nathan Caldwell <saintdev@gmail.com>
Originally committed as revision 24332 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
channel.
Patch by Nathan Caldwell <saintdev@gmail.com>
Originally committed as revision 24331 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 24100 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 24099 to svn://svn.ffmpeg.org/ffmpeg/trunk
|