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] [PATCH] aacdec: convert to lavu/tx and support fixed-point 960-sample decoding
Date: Sun, 30 Oct 2022 20:39:42 +0100
Message-ID: <20221030193942.GC1814017@pb2> (raw)
In-Reply-To: <NFVYzdy--3-9@lynne.ee>


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

On Fri, Oct 28, 2022 at 11:46:58PM +0200, Lynne wrote:
> This patch replaces the transform used in AAC with lavu/tx and removes
> the limitation on only being able to decode 960-sample files
> with the float decoder.
> This commit also removes a whole bunch of unnecessary and slow
> lifting steps the decoder did to compensate for the poor accuracy
> of the old integer transformation code.
> 
> Overall float decoder speedup on Zen 3 for 64kbps: 32%
> 
> Patch attached.
> 
> Note: lavu/tx's PFA 960pt transform currently has a bug that'll get fixed
> by my next patchset. The naive transforms are unaffected and may
> be used to test 960pt fixed-point decoding.

>  configure                           |    4 -
>  libavcodec/aac.h                    |   27 +++++----
>  libavcodec/aac_defines.h            |    4 -
>  libavcodec/aacdec.c                 |    4 -
>  libavcodec/aacdec_fixed.c           |    5 +
>  libavcodec/aacdec_template.c        |  106 +++++++++++++-----------------------
>  libavcodec/aacsbr.c                 |    1 
>  libavcodec/aacsbr_fixed.c           |    1 
>  libavcodec/mips/aacdec_mips.c       |    4 -
>  libavcodec/sinewin_fixed_tablegen.c |    3 +
>  libavcodec/sinewin_fixed_tablegen.h |    6 ++
>  11 files changed, 74 insertions(+), 91 deletions(-)
> 941b6d4662dd9808266b80fbafb5f003a734a415  0001-aacdec-convert-to-lavu-tx-and-support-fixed-point-96.patch
> From 95625b470fb61676e838310dc0108eb648f972a3 Mon Sep 17 00:00:00 2001
> From: Lynne <dev@lynne.ee>
> Date: Fri, 28 Oct 2022 21:36:10 +0200
> Subject: [PATCH] aacdec: convert to lavu/tx and support fixed-point 960-sample
>  decoding
> 
> This patch replaces the transform used in AAC with lavu/tx and removes
> the limitation on only being able to decode 960-sample files
> with the float decoder.
> This commit also removes a whole bunch of unnecessary and slow
> lifting steps the decoder did to compensate for the poor accuracy
> of the old integer transformation code.
> 
> Overall float decoder speedup on Zen 3 for 64kbps: 32%

This needs a update to fate checksums here:
make: *** [fate-filter-meta-4560-rotate0] Error 1
make: *** [fate-prores-gray] Error 1
make: *** [fate-autorotate] Error 1

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf

[-- 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".

      reply	other threads:[~2022-10-30 19:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-28 21:46 Lynne
2022-10-30 19:39 ` Michael Niedermayer [this message]

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=20221030193942.GC1814017@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