swscale/rgb2rgb: Remove set-but-unused functions master
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 1 Mar 2026 20:50:17 +0000 (21:50 +0100)
committerJames Almer <jamrial@gmail.com>
Sun, 1 Mar 2026 23:45:11 +0000 (23:45 +0000)
commit862338fe3154e09ff0c410fd410d519588d47cf2
treef34a454c23de60facf55f1c88a7c0223e1f55246
parentecd11abcc93d03bfef672c4f1db10ca829b88c52
swscale/rgb2rgb: Remove set-but-unused functions

yuy2toyv12, vu9_to_vu12 and yvu9_to_yuy2 are unused. Removing
them saved 7808B of .text and 102B of .text.unlikely
as well as 24B of .bss here.
Thanks to James Almer for pointing out that yuy2toyv12 is unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libswscale/rgb2rgb.c
libswscale/rgb2rgb.h
libswscale/rgb2rgb_template.c
libswscale/x86/rgb2rgb.c