Android NDK: Image Processing in C++, Camera Input from Java