diff options
author | Sam Lantinga <slouken@libsdl.org> | 2017-11-12 22:51:12 -0800 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2017-11-12 22:51:12 -0800 |
commit | 44087f9b2f0c3bae58a80fbd23cddaa8536ab5aa (patch) | |
tree | 5a5df9e2e913b4443705f1b14163d10eaf0aa8ae /Android.mk | |
parent | 605298f114d939ad4d725d9b168772502050913f (diff) |
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.
Diffstat (limited to 'Android.mk')
-rwxr-xr-x | Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index d593d68d28..e70ededaf6 100755 --- a/Android.mk +++ b/Android.mk @@ -45,6 +45,7 @@ LOCAL_SRC_FILES := \ $(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \ $(wildcard $(LOCAL_PATH)/src/video/*.c) \ $(wildcard $(LOCAL_PATH)/src/video/android/*.c) \ + $(wildcard $(LOCAL_PATH)/src/video/yuv2rgb/*.c) \ $(wildcard $(LOCAL_PATH)/src/test/*.c)) LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES |