diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-01 03:04:21 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-04-23 08:31:27 +0200 |
commit | 6975d965fcb64e8f68dcbe5be88805e401ee72cd (patch) | |
tree | 5bc88009fd70c7f08f8d11d26fa6003abda2a33f /libavfilter/vf_tonemap_opencl.c | |
parent | 3600f757db3f908df0fcd5b5e1999aca22c41a5b (diff) | |
download | ffmpeg-6975d965fcb64e8f68dcbe5be88805e401ee72cd.tar.gz |
avcodec/aacsbr: Make ff_aac_sbr_* funcs accept ChannelElement*
Each ChannelElement contains exactly one SpectralBandReplication
structure; the latter structure contains lots of buffers
whose size depend upon USE_FIXED (i.e. AAC_FLOAT arrays).
This complicates deduplicating the parts of the AAC decoder
that are duplicated between the fixed-point and the floating
point decoder.
In order to fix this, the SpectralBandReplication structure
will be moved from the part of ChannelElement visible to
the common code. Therefore the ff_aac_sbr_* functions
are ported to accept a ChannelElement*; they will then have
to translate that to the corresponding SpectralBandReplication*
themselves (which is possible, because there are floating-point
and fixed-point versions of these functions).
While just at it, also ensure that these functions are properly
namespaced.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_tonemap_opencl.c')
0 files changed, 0 insertions, 0 deletions