![Sam Lantinga](/assets/img/avatar_default.png)
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.
722 KiB
722 KiB
![](/mirrors/SDL/raw/commit/2fd4aee149d69ae2f39bd193f4ccfac742206fc8/test/testyuv.bmp)