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:
12
.hgignore
12
.hgignore
@@ -70,14 +70,19 @@ test/controllermap
|
||||
test/loopwave
|
||||
test/loopwavequeue
|
||||
test/testatomic
|
||||
test/testaudiocapture
|
||||
test/testaudiohotplug
|
||||
test/testaudioinfo
|
||||
test/testautomation
|
||||
test/testbounds
|
||||
test/testcustomcursor
|
||||
test/testdisplayinfo
|
||||
test/testdraw2
|
||||
test/testdrawchessboard
|
||||
test/testdropfile
|
||||
test/testerror
|
||||
test/testfile
|
||||
test/testfilesystem
|
||||
test/testgamecontroller
|
||||
test/testgesture
|
||||
test/testgl2
|
||||
@@ -99,7 +104,7 @@ test/testnative
|
||||
test/testoverlay2
|
||||
test/testplatform
|
||||
test/testpower
|
||||
test/testfilesystem
|
||||
test/testqsort
|
||||
test/testrelative
|
||||
test/testrendercopyex
|
||||
test/testrendertarget
|
||||
@@ -117,11 +122,8 @@ test/testtimer
|
||||
test/testver
|
||||
test/testviewport
|
||||
test/testwm2
|
||||
test/testbounds
|
||||
test/testyuv
|
||||
test/torturethread
|
||||
test/testdisplayinfo
|
||||
test/testqsort
|
||||
test/testaudiocapture
|
||||
test/*.exe
|
||||
test/*.dSYM
|
||||
buildbot
|
||||
|
||||
Reference in New Issue
Block a user