mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Updated SDL's YUV support, many thanks to Adrien Descamps
New functions get and set the YUV colorspace conversion mode: SDL_SetYUVConversionMode() SDL_GetYUVConversionMode() SDL_GetYUVConversionModeForResolution() SDL_ConvertPixels() converts between all supported RGB and YUV formats, with SSE acceleration for converting from planar YUV formats (YV12, NV12, etc) to common RGB/RGBA formats. Added a new test program, testyuv, to verify correctness and speed of YUV conversion functionality.
This commit is contained in:
1
configure
vendored
1
configure
vendored
@@ -16874,6 +16874,7 @@ SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/thread/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/timer/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/video/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/video/yuv2rgb/*.c"
|
||||
|
||||
|
||||
# Check whether --enable-atomic was given.
|
||||
|
||||
Reference in New Issue
Block a user