kc3-lang/SDL/src/video/SDL_yuv.c

Branch :


Log

Author Commit Date CI Message
120c76c8 2022-01-03 09:40:00 Updated copyright for 2022
c2dd50a9 2021-11-12 08:28:02 Fixed whitespace
9130f7c3 2021-01-02 10:25:38 Updated copyright for 2021
b5e3d264 2020-01-23 01:00:52 Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds Protected more code with #ifdefs to reduce the size of minimal shared library builds
a8780c6a 2020-01-16 20:49:25 Updated copyright date for 2020
d52080c0 2019-08-30 09:00:06 Android: minor warning
5e13087b 2019-01-04 22:01:14 Updated copyright for 2019
7df0f4fd 2018-09-27 14:56:29 Fixed bug 4277 - warnings patch Sylvain Patch a few warnings when using: -Wmissing-prototypes -Wdocumentation -Wdocumentation-unknown-command They are automatically enabled with -Wall
5febdfce 2018-09-24 11:49:25 Fixed whitespace
e3cc5b2c 2018-01-03 10:03:25 Updated copyright for 2018
f776997a 2017-11-21 21:58:27 Fixed some compiler warnings
8fb3885c 2017-11-17 11:03:02 Fixed bug 3964 - YUV to RGB in video/SDL_yuv.c is broken for any output format of type ABGR8888 or BGR888 raist66676 Here is the bug in latest SDL 2.0.8 development repo. It is obvious and simple to fix by correcting typos on six lines of code. In src/video/SDL_yuv.c on lines 217, 249, 280, 321, 353, and 384 the wrong conversion functions are called for SDL_PIXELFORMAT_ABGR8888 and SDL_PIXELFORMAT_BGR888. Instead of ABGR functions, BGRA functions are called. These are typos.
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.