[FFmpeg-devel] [PATCH 1/2] swscale/x86/swscale: Move some constants to rgb2rgb.c
Michael Niedermayer
michael at niedermayer.cc
Tue Jan 14 20:59:09 EET 2025
On Sun, Jan 12, 2025 at 10:17:33PM +0100, Andreas Rheinhardt wrote:
> Patches attached
> rgb2rgb.c | 20 ++++++++++----------
> swscale.c | 5 -----
> 2 files changed, 10 insertions(+), 15 deletions(-)
> f5fd376dd156a850939bbde60171972ab0b29a98 0001-swscale-x86-swscale-Move-some-constants-to-rgb2rgb.c.patch
> From 0c6e52fee3a2d8335e2b31f180811f2c02a89603 Mon Sep 17 00:00:00 2001
> From: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> Date: Sun, 12 Jan 2025 19:43:12 +0100
> Subject: [PATCH 1/2] swscale/x86/swscale: Move some constants to rgb2rgb.c
>
> ff_w1111 and ff_bgr2(Y|UV)Offset are only used there
> (and only on x86-32 since caaec2ea957290941eecfe5d87baf5c0a500b450).
> Also make them static.
should be ok
it may make sense in the future to move these into a context and allow
changing their values
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20250114/0c799868/attachment.sig>
More information about the ffmpeg-devel
mailing list