First time here? Check out the FAQ!
answered May 13 '13
OpenCV can convert YUV420sp (aka NV21) to RGBA_8888 that should also be OK on Android.
May mYuv = new Mat(h + h/2, w, CvType.CV_8UC1); mYuv.put(0, 0, mYUVData); Mat mRgba = new Mat(); Imgproc.cvtColor( mYuv, mRgba, Imgproc.COLOR_YUV420sp2RGBA );