swscale/swscale_unscaled: Actually use X2->RGBA64 conversions

The conversion functions were added in
e7382b4d0101f02e61fdf5ad2c48aca500bb413f, yet they were never
really enabled. Found via -ffunction-sections and --gc-sections.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-03-31 17:01:51 +02:00
parent 581a6a042c
commit 4da84d5c2b

View File

@ -1901,7 +1901,8 @@ static rgbConvFn findRgbConvFn(SwsInternal *c)
else if (CONV_IS(X2RGB10LE, BGR48BE)
|| CONV_IS(X2BGR10LE, RGB48BE)) conv = HAVE_BIGENDIAN ? x2rgb10tobgr48_nobswap
: x2rgb10tobgr48_bswap;
else if (CONV_IS(X2RGB10LE, RGBA64LE)
} else if (isX2RGB(srcFormat) && isRGBA64(dstFormat)) {
if (CONV_IS(X2RGB10LE, RGBA64LE)
|| CONV_IS(X2BGR10LE, BGRA64LE)) conv = HAVE_BIGENDIAN ? x2rgb10to64_bswap
: x2rgb10to64_nobswap;
else if (CONV_IS(X2RGB10LE, RGBA64BE)