From: "Martin Storsjö via ffmpeg-devel" <ffmpeg-devel@ffmpeg.org>
To: David Christle via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
Cc: "David Christle" <dev@christle.is>, "Martin Storsjö" <martin@martin.st>
Subject: [FFmpeg-devel] Re: [PATCH v2 0/3] swscale: NEON YUV2RGB + LoongArch LASX multi-row fix
Date: Sun, 8 Feb 2026 23:35:55 +0200 (EET)
Message-ID: <8f9e7d9f-cac8-e7a8-2741-bccf0ec24b9@martin.st> (raw)
In-Reply-To: <20260208211537.91515-1-dev@christle.is>
On Sun, 8 Feb 2026, David Christle via ffmpeg-devel wrote:
> v1 of patches 2-3 (NEON YUV2RGB + checkasm expansion) exposed a
> pre-existing bug in the LoongArch LASX YUV2RGB path: the res variable
> (residual pixel count for widths not divisible by 16) is destructively
> modified by DEALYUV2RGBLINERES/DEALYUV2RGBLINERES32 inside the row
> loop, producing wrong output when srcSliceH > 2. v2 prepends a fix.
>
> Changes since v1:
> - NEW patch 1/3: fix LoongArch LASX res variable across row iterations
> - Patches 2/3 and 3/3 unchanged from v1
>
> David Christle (3):
> swscale/loongarch: fix LASX YUV2RGB residual for multi-row slices
> swscale/aarch64: add NEON YUV420P/YUV422P/YUVA420P to RGB conversion
> tests/checkasm/sw_yuv2rgb: test multi-row conversion with padded
> strides
Please submit these patches at https://code.ffmpeg.org/FFmpeg/FFmpeg
// Martin
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
prev parent reply other threads:[~2026-02-08 21:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-06 6:45 [FFmpeg-devel] [PATCH 1/2] swscale/aarch64: add NEON YUV420P/YUV422P/YUVA420P to RGB conversion David Christle via ffmpeg-devel
2026-02-06 6:46 ` [FFmpeg-devel] [PATCH 2/2] tests/checkasm/sw_yuv2rgb: test multi-row conversion with padded strides David Christle via ffmpeg-devel
2026-02-08 21:15 ` [FFmpeg-devel] [PATCH v2 0/3] swscale: NEON YUV2RGB + LoongArch LASX multi-row fix David Christle via ffmpeg-devel
2026-02-08 21:16 ` [FFmpeg-devel] [PATCH v2 1/3] swscale/loongarch: fix LASX YUV2RGB residual for multi-row slices David Christle via ffmpeg-devel
2026-02-08 21:16 ` [FFmpeg-devel] [PATCH v2 2/3] swscale/aarch64: add NEON YUV420P/YUV422P/YUVA420P to RGB conversion David Christle via ffmpeg-devel
2026-02-08 21:16 ` [FFmpeg-devel] [PATCH v2 3/3] tests/checkasm/sw_yuv2rgb: test multi-row conversion with padded strides David Christle via ffmpeg-devel
2026-02-08 21:35 ` Martin Storsjö via ffmpeg-devel [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=8f9e7d9f-cac8-e7a8-2741-bccf0ec24b9@martin.st \
--to=ffmpeg-devel@ffmpeg.org \
--cc=dev@christle.is \
--cc=martin@martin.st \
/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