[FFmpeg-devel] [PATCH 09/12] swscale/internal: constify SwsFunc
Michael Niedermayer
michael at niedermayer.cc
Mon Oct 7 01:23:03 EEST 2024
On Sat, Oct 05, 2024 at 09:24:00PM +0200, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> I want to move away from having random leaf processing functions mutate
> plane pointers, and while we're at it, we might as well make the strides
> and tables const as well.
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Niklas Haas <git at haasn.dev>
> ---
> libswscale/aarch64/swscale_unscaled.c | 34 ++--
> libswscale/alphablend.c | 6 +-
> libswscale/arm/swscale_unscaled.c | 26 +--
> libswscale/bayer_template.c | 4 +-
> libswscale/loongarch/yuv2rgb_lasx.c | 12 +-
> libswscale/loongarch/yuv2rgb_lsx.c | 12 +-
> libswscale/ppc/yuv2rgb_altivec.c | 12 +-
> libswscale/rgb2rgb.c | 2 +-
> libswscale/rgb2rgb.h | 4 +-
> libswscale/rgb2rgb_template.c | 2 +-
> libswscale/swscale_internal.h | 12 +-
> libswscale/swscale_unscaled.c | 242 +++++++++++++-------------
> libswscale/x86/yuv2rgb.c | 54 +++---
> libswscale/yuv2rgb.c | 6 +-
> 14 files changed, 220 insertions(+), 208 deletions(-)
should be ok
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Modern terrorism, a quick summary: Need oil, start war with country that
has oil, kill hundread thousand in war. Let country fall into chaos,
be surprised about raise of fundamantalists. Drop more bombs, kill more
people, be surprised about them taking revenge and drop even more bombs
and strip your own citizens of their rights and freedoms. to be continued
-------------- 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/2174620d/attachment.sig>
More information about the ffmpeg-devel
mailing list