Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCHSET] AAC decoder refactor
Date: Wed, 10 Apr 2024 23:56:55 +0200
Message-ID: <20240410215655.GR6420@pb2> (raw)
In-Reply-To: <20240410181811.GP6420@pb2>


[-- Attachment #1.1: Type: text/plain, Size: 2087 bytes --]

On Wed, Apr 10, 2024 at 08:18:11PM +0200, Michael Niedermayer wrote:
> On Wed, Apr 10, 2024 at 06:48:26PM +0200, Lynne wrote:
> > Apr 8, 2024, 09:36 by dev@lynne.ee:
> > 
> > > The following patchset refactors the AAC decoder step by step,
> > > removing all large-scale templating and abstracting away typed
> > > DSP functions from symbol parsing.
> > >
> > > This series saves 110Kib of binary data from libavcodec.so
> > > when compiled with Clang 18 with -O3, after stripping.
> > >
> > > The patchset can also be viewed here:
> > > https://github.com/cyanreg/FFmpeg/tree/aac_cleanup
> > >
> > > Fate passes on each step, and I've been running this patchset for
> > > a week with no issues.
> > >
> > > This also prepares the decoder for USAC support.
> > >
> > 
> > I've rebased the linked repo to current git master if anyone
> > wants to test.
> 
> thanks, i will try to test it

make fate-source

TEST    source
--- ./tests/ref/fate/source	2024-04-08 18:26:00.670129617 +0200
+++ tests/data/fate/source	2024-04-10 23:56:18.032896853 +0200
@@ -22,6 +22,13 @@
 compat/djgpp/math.h
 compat/float/float.h
 compat/float/limits.h
+libavcodec/aac/aacdec.h
+libavcodec/aac/aacdec_fixed_coupling.h
+libavcodec/aac/aacdec_fixed_dequant.h
+libavcodec/aac/aacdec_fixed_prediction.h
+libavcodec/aac/aacdec_float_coupling.h
+libavcodec/aac/aacdec_float_prediction.h
+libavcodec/aac/aacdec_latm.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.
tests/Makefile:310: recipe for target 'fate-source' failed
make: *** [fate-source] Error 1

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Any man who breaks a law that conscience tells him is unjust and willingly 
accepts the penalty by staying in jail in order to arouse the conscience of 
the community on the injustice of the law is at that moment expressing the 
very highest respect for law. - Martin Luther King Jr

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  parent reply	other threads:[~2024-04-10 21:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08  7:36 Lynne
     [not found] ` <NuwZLzA--3-9@lynne.ee-NuwcmRV----9>
2024-04-10 16:48   ` Lynne
2024-04-10 18:18     ` Michael Niedermayer
2024-04-10 21:51       ` Michael Niedermayer
2024-04-10 21:56       ` Michael Niedermayer [this message]
2024-04-11  5:42         ` Lynne
2024-04-11 22:45           ` Michael Niedermayer
2024-04-12  9:11             ` Lynne
2024-04-21 22:18               ` Michael Niedermayer
2024-04-22  7:20                 ` Lynne
     [not found]                 ` <Nw3fLeH--3-9@lynne.ee-Nw3fPhs----9>
2024-04-23  7:02                   ` Lynne
     [not found]             ` <NvGZy8P--7-9@lynne.ee-NvG_0xp----9>
2024-04-21 12:39               ` Lynne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240410215655.GR6420@pb2 \
    --to=michael@niedermayer.cc \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git