[FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-23 Thread Lynne
This commit changes both the encoder and decoder to use the new lavu/tx code, which has faster C transforms and more assembly optimizations. Patch attached. >From d4fdda5b57ab1e0f08eb3d78dac6b003060dfd41 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 24 Sep 2022 00:46:44 +0200 Subject: [PATCH 1

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-24 Thread Martin Storsjö
On Sat, 24 Sep 2022, Lynne wrote: This commit changes both the encoder and decoder to use the new lavu/tx code, which has faster C transforms and more assembly optimizations. What's the case of e.g. 32 bit arm - that does have a bunch of fft and mdct assembly, but is that something that ends

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-24 Thread Hendrik Leppkes
On Sat, Sep 24, 2022 at 8:43 PM Martin Storsjö wrote: > > On Sat, 24 Sep 2022, Lynne wrote: > > > This commit changes both the encoder and decoder to use the new lavu/tx > > code, > > which has faster C transforms and more assembly optimizations. > > What's the case of e.g. 32 bit arm - that does

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-24 Thread Hendrik Leppkes
On Sat, Sep 24, 2022 at 9:26 PM Hendrik Leppkes wrote: > > On Sat, Sep 24, 2022 at 8:43 PM Martin Storsjö wrote: > > > > On Sat, 24 Sep 2022, Lynne wrote: > > > > > This commit changes both the encoder and decoder to use the new lavu/tx > > > code, > > > which has faster C transforms and more as

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-24 Thread Martin Storsjö
On Sat, 24 Sep 2022, Hendrik Leppkes wrote: On Sat, Sep 24, 2022 at 9:26 PM Hendrik Leppkes wrote: On Sat, Sep 24, 2022 at 8:43 PM Martin Storsjö wrote: > > On Sat, 24 Sep 2022, Lynne wrote: > > > This commit changes both the encoder and decoder to use the new lavu/tx code, > > which has fa

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-24 Thread Lynne
Sep 24, 2022, 21:40 by mar...@martin.st: > On Sat, 24 Sep 2022, Hendrik Leppkes wrote: > >> On Sat, Sep 24, 2022 at 9:26 PM Hendrik Leppkes wrote: >> >>> >>> On Sat, Sep 24, 2022 at 8:43 PM Martin Storsjö wrote: >>> > >>> > On Sat, 24 Sep 2022, Lynne wrote: >>> > >>> > > This commit changes both

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Lynne
Sep 24, 2022, 23:57 by d...@lynne.ee: > Sep 24, 2022, 21:40 by mar...@martin.st: > >> What about ac3dsp then - that one seems like it's fairly optimized for arm? >> > Haven't touched them, they're still being used. Unfortunately, for AC3, > the full MDCT optimizations in lavc do make a difference

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Andreas Rheinhardt
Lynne: > Sep 24, 2022, 23:57 by d...@lynne.ee: > >> Sep 24, 2022, 21:40 by mar...@martin.st: >> >>> What about ac3dsp then - that one seems like it's fairly optimized for arm? >>> >> Haven't touched them, they're still being used. Unfortunately, for AC3, >> the full MDCT optimizations in lavc do m

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Martin Storsjö
On Sat, 24 Sep 2022, Lynne wrote: What about ac3dsp then - that one seems like it's fairly optimized for arm? Haven't touched them, they're still being used. Unfortunately, for AC3, the full MDCT optimizations in lavc do make a difference and the overall decoder becomes 15% slower with this p

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Lynne
Sep 25, 2022, 21:55 by mar...@martin.st: > On Sat, 24 Sep 2022, Lynne wrote: > >>> What about ac3dsp then - that one seems like it's fairly optimized for arm? >>> >> >> Haven't touched them, they're still being used. Unfortunately, for AC3, >> the full MDCT optimizations in lavc do make a differen

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Lynne
Sep 25, 2022, 14:34 by andreas.rheinha...@outlook.com: > Lynne: > >> Sep 24, 2022, 23:57 by d...@lynne.ee: >> >>> Sep 24, 2022, 21:40 by mar...@martin.st: >>> What about ac3dsp then - that one seems like it's fairly optimized for arm? >>> Haven't touched them, they're still being used. U

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Andreas Rheinhardt
Lynne: > Sep 25, 2022, 14:34 by andreas.rheinha...@outlook.com: > >> Lynne: >> >>> Sep 24, 2022, 23:57 by d...@lynne.ee: >>> Sep 24, 2022, 21:40 by mar...@martin.st: > What about ac3dsp then - that one seems like it's fairly optimized for > arm? > Haven't touched them,

Re: [FFmpeg-devel] [PATCH 1/6] opus: convert encoder and decoder to lavu/tx

2022-09-25 Thread Lynne
Sep 25, 2022, 23:17 by andreas.rheinha...@outlook.com: > Lynne: > >> Sep 25, 2022, 14:34 by andreas.rheinha...@outlook.com: >> >>> Lynne: >>> Sep 24, 2022, 23:57 by d...@lynne.ee: > Sep 24, 2022, 21:40 by mar...@martin.st: > >> What about ac3dsp then - that one seems like it'