[FFmpeg-devel] [PATCH v2 8/8] aacdec: add a decoder for AAC USAC (xHE-AAC)
Michael Niedermayer
michael at niedermayer.cc
Mon May 20 02:19:20 EEST 2024
On Sun, May 19, 2024 at 06:54:44PM +0200, Lynne via ffmpeg-devel wrote:
> This commit adds a decoder for the frequency-domain part of USAC.
>
> What works:
> - Mono
> - Stereo (no prediction)
> - Stereo (mid/side coding)
> - Stereo (complex prediction)
>
> What's left:
> - Speech coding
>
> Known issues:
> - Desync with certain sequences
> - Preroll crossover missing (shouldn't matter, bitrate adaptation only)
> ---
> libavcodec/aac/Makefile | 3 +-
> libavcodec/aac/aacdec.c | 188 +--
> libavcodec/aac/aacdec.h | 187 +++
> libavcodec/aac/aacdec_ac.c | 208 ++++
> libavcodec/aac/aacdec_ac.h | 54 +
> libavcodec/aac/aacdec_dsp_template.c | 4 +-
> libavcodec/aac/aacdec_latm.h | 14 +-
> libavcodec/aac/aacdec_lpd.c | 198 ++++
> libavcodec/aac/aacdec_lpd.h | 33 +
> libavcodec/aac/aacdec_usac.c | 1587 ++++++++++++++++++++++++++
> libavcodec/aac/aacdec_usac.h | 39 +
> libavcodec/aactab.c | 42 +
> libavcodec/aactab.h | 10 +
> 13 files changed, 2491 insertions(+), 76 deletions(-)
> create mode 100644 libavcodec/aac/aacdec_ac.c
> create mode 100644 libavcodec/aac/aacdec_ac.h
> create mode 100644 libavcodec/aac/aacdec_lpd.c
> create mode 100644 libavcodec/aac/aacdec_lpd.h
> create mode 100644 libavcodec/aac/aacdec_usac.c
> create mode 100644 libavcodec/aac/aacdec_usac.h
seems to break fate
make -j32 fate-source
TEST source
--- ./tests/ref/fate/source 2024-05-20 01:14:59.407222202 +0200
+++ tests/data/fate/source 2024-05-20 01:17:32.661142354 +0200
@@ -23,6 +25,7 @@
compat/djgpp/math.h
compat/float/float.h
compat/float/limits.h
+libavcodec/aac/aacdec_ac.h
libavcodec/bitstream_template.h
tools/decode_simple.h
Use of av_clip() where av_clip_uintp2() could be used:
Test source failed. Look at tests/data/fate/source.err for details.
make: *** [tests/Makefile:311: fate-source] Error 1
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240520/e2804014/attachment.sig>
More information about the ffmpeg-devel
mailing list