kc3-lang/SDL/test/testyuv.c

Branch :


Log

Author Commit Date CI Message
9130f7c3 2021-01-02 10:25:38 Updated copyright for 2021
a8780c6a 2020-01-16 20:49:25 Updated copyright date for 2020
5e13087b 2019-01-04 22:01:14 Updated copyright for 2019
e3cc5b2c 2018-01-03 10:03:25 Updated copyright for 2018
a6a4e27a 2017-11-12 22:51:12 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.