The application I am working on is developed for Google Glass but runs on Android tablets as well.It uses VP8 encoding to transfer camera images to a remote application.
The preview format parameter on the camera is set to ImageFormat.YV12.
The VP8 encoder is initialized with VPX_IMG_FMT_YV12 parameter.
When the application .apk file is installed and run from the Glass, the image is displayed in gray scale on the remote application.
When the same .apk file is installed on a tablet or a phone, the image is displayed in proper colors.
I am wondering if anyone has any idea on where the problem could lie. Regards.