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 | 878605271fe8016f1314cfd601596a562b04f1ee (patch) | |
tree | 5c51280b23d3cf8a779c2978d51724778c54703e /Android.mk | |
parent | 488801574bbfaa1883dc759e9a8a2e538e03026e (diff) | |
download | sdl-878605271fe8016f1314cfd601596a562b04f1ee.tar.gz |
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 d593d68d2..e70ededaf 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 |