README-SDL.txt
author Sam Lantinga <slouken@libsdl.org>
Sun, 12 Nov 2017 22:51:12 -0800
changeset 11702 cf166abbde4a
parent 10892 996c14d41c46
permissions -rw-r--r--
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.
gabomdq@9023
     1
gabomdq@9023
     2
Please distribute this file with the SDL runtime environment:
gabomdq@9023
     3
gabomdq@9023
     4
The Simple DirectMedia Layer (SDL for short) is a cross-platform library
icculus@10108
     5
designed to make it easy to write multi-media software, such as games
icculus@10108
     6
and emulators.
gabomdq@9023
     7
gabomdq@9023
     8
The Simple DirectMedia Layer library source code is available from:
icculus@10892
     9
https://www.libsdl.org/
gabomdq@9023
    10
gabomdq@9023
    11
This library is distributed under the terms of the zlib license:
gabomdq@9023
    12
http://www.zlib.net/zlib_license.html
gabomdq@9023
    13