Lynne
0513c5cd25
aacdec_dsp: implement 768-point transform and windowing
...
Required for USAC
2024-06-02 18:34:44 +02:00
Lynne
baf8651d56
aacdec: restore arm32 dequantization optimizations
...
Unintentionally removed as part of 03cf101645
.
Untested, but its assumed that unlike most of the old ARM code,
this one was still working.
2024-05-13 13:02:02 +02:00
Andreas Rheinhardt
f5d2dc7b4b
avcodec/aac/aacdec_(fixed|float): Set AACDecDSP, AACDecProc directly
...
This is more in line with how we initialize DSP functions
and avoids tables of function pointers as well as relocations
for these.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-05-07 00:02:57 +02:00
Andreas Rheinhardt
8762aa4d62
avcodec/aac/aacdec: Move init functions to aacdec_fixed/float
...
This allows to merge it with AACDecDSP.init and remove the latter
(it is called only once anyway); it also allows to make
the fixed/float AACDecDSP and AACDecProc implementations internal
to aacdec_fixed/float.c (which also fixes a violation of our
naming conventions). And it some linker errors when either decoder
is disabled.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-05-07 00:01:39 +02:00
Andreas Rheinhardt
41922bef7a
avcodec/aac/aacdec_(fixed|float): Avoid AAC_RENAME, INTFLOAT
...
Unnecessary now that this has been detemplatized.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-05-06 23:59:27 +02:00
Andreas Rheinhardt
c13b5d96c8
avcodec/aac/aacdec_float: Call ff_aac_float_common_init() only once
...
That's enough.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-05-06 23:59:10 +02:00
Lynne
e3650886c7
aacdec: initialize float/fixed SBR tables only when either is needed
2024-04-23 08:31:41 +02:00
Lynne
03cf101645
aacdec: remove AAC-specific MIPS optimizations
...
The code was written in 2012, but seems to have been broken
for just as long. Compilation is broken on every MIPS/MIPS64
system with an FPU (which the code depends on).
2024-04-23 08:31:40 +02:00
Lynne
551ce16b59
aacdec: move aacdec.h into libavcodec/aac
2024-04-23 08:31:40 +02:00
Lynne
2f90d83981
aacdec: move fixed/float DSP initialization to templated init functions
2024-04-23 08:31:38 +02:00
Lynne
49e7be1e37
aacdec: move prediction to separate files
2024-04-23 08:31:37 +02:00
Lynne
b1718ce0f9
aacdec: move CCE decoding to a separate templated file
...
Unfortunately, although it's a purely decode function, it does
need to be templated.
2024-04-23 08:31:37 +02:00
Lynne
87a93a5670
aacdec: split off channel coupling into a new file
2024-04-23 08:31:36 +02:00
Lynne
b7387ea00e
aacdec: deduplicate table initizalization
...
All tables now initialized by aac/aacdec_fixed|float
2024-04-23 08:31:36 +02:00
Lynne
41ae2b03a5
aacdec: move spectrum decode and dequantization to a new file
2024-04-23 08:31:35 +02:00
Lynne
a309aa4127
aacdec: duplicate table initialization
...
Preparation to move all table init and support windowing functions.
2024-04-23 08:31:34 +02:00
Lynne
e9fc7661da
aacdec: template LTP application separately
2024-04-23 08:31:33 +02:00
Lynne
a6295586f5
aacdec: template scalefactor dequantization separately
2024-04-23 08:31:32 +02:00