mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 06:58:45 +08:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user