[FFmpeg-devel] [PATCH v2 3/5] libswscale: Avx2 hscale can process inputs of any size.

Paul B Mahol onemda at gmail.com
Fri Apr 22 17:53:47 EEST 2022


On Fri, Apr 22, 2022 at 10:03 AM Alan Kelly <
alankelly-at-google.com at ffmpeg.org> wrote:

> Hi,
>
> Is anyone interested in this patch? This makes AVX2 hscale work on all
> input sizes.
>
>
I can apply this if you confirm it works with any image size and on
unaligned data.


> Thanks,
>
> Alan
>
> On Mon, Mar 7, 2022 at 4:27 PM Alan Kelly <alankelly at google.com> wrote:
>
> > Hi Michael,
> >
> > Thanks for reviewing the first two parts of this patchset.
> >
> > Is there anybody interested in reviewing this part?
> >
> > Thanks,
> >
> > Alan
> >
> > On Thu, Feb 17, 2022 at 5:21 PM Michael Niedermayer <
> > michael at niedermayer.cc> wrote:
> >
> >> On Thu, Feb 17, 2022 at 11:04:04AM +0100, Alan Kelly wrote:
> >> > The main loop processes blocks of 16 pixels. The tail processes blocks
> >> > of size 4.
> >> > ---
> >> >  libswscale/x86/scale_avx2.asm | 48
> +++++++++++++++++++++++++++++++++--
> >> >  1 file changed, 46 insertions(+), 2 deletions(-)
> >>
> >> ill wait a few days on this, there are people here who know avx2 better
> >> than i do
> >> its a while since i wrote x86 SIMD.
> >> but if noone else reviews this then ill do
> >>
> >> thx
> >>
> >>
> >> [...]
> >> --
> >> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> >>
> >> "You are 36 times more likely to die in a bathtub than at the hands of a
> >> terrorist. Also, you are 2.5 times more likely to become a president and
> >> 2 times more likely to become an astronaut, than to die in a terrorist
> >> attack." -- Thoughty2
> >>
> >> _______________________________________________
> >> ffmpeg-devel mailing list
> >> ffmpeg-devel at ffmpeg.org
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> >>
> >
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list