Open source project that includes YUV scaling and conversion functionality
https://chromium.googlesource.com/libyuv/libyuv