aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_hwupload.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-29 16:42:01 +0100
committerLynne <dev@lynne.ee>2024-04-23 08:31:28 +0200
commit5bd7b8d9995bfec13172993457d6c59b45b5ec01 (patch)
tree742c6b6d76ed89157c73c776509f09ab00d22ca7 /libavfilter/vf_hwupload.c
parent6975d965fcb64e8f68dcbe5be88805e401ee72cd (diff)
downloadffmpeg-5bd7b8d9995bfec13172993457d6c59b45b5ec01.tar.gz
avcodec/aacdec: Split SBR context from ChannelElement
The AAC fixed-point and floating-point decoders have a lot of duplicated code; the main obstacle to deduplicating it is that several structures with the same name are actually different types, because they contain INTFLOATs (int or float) and AAC_FLOATs (SoftFloat or float). SoftFloat and float typically have different sizes, so dealing with it is the more complicated of the two. AAC_FLOAT is mainly used in the sbr code and structures, so one can still deduplicate the code by only exposing the common part of ChannelElement (without SBR context) to the common decoder part. One prerequisite of this is to move allocating the whole ChannelElement to code that will stay unduplicated. It is most natural to move said allocation to ff_aac_sbr_ctx_init(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_hwupload.c')
0 files changed, 0 insertions, 0 deletions