[FFmpeg-devel] [PATCH v2 2/5] swscale/rgb2xyz: add explicit width parameter

Michael Niedermayer michael at niedermayer.cc
Mon Oct 7 21:35:34 EEST 2024


On Mon, Oct 07, 2024 at 07:53:00PM +0200, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> This fixes an 11-year-old bug in the rgb2xyz functions, when used with a
> negative stride. The current loop bounds turned it into a no-op.
> 
> Additionally, this increases performance on highly cropped images, whose
> stride may be substantially higher than the effective width.
> 
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Niklas Haas <git at haasn.dev>
> ---
>  libswscale/swscale.c                | 13 +++++++------
>  tests/ref/fate/filter-pixfmts-vflip |  4 ++--
>  2 files changed, 9 insertions(+), 8 deletions(-)

ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241007/6d501a63/attachment.sig>


More information about the ffmpeg-devel mailing list