Thanks for your post.

I run this project on Mi2S, which is Qualcomm 8064 chipset.
And I have 2 questions:
1. CameraPreview will not call onPreviewFrame() automatically, so I add mCamera.setPreviewCallback(this); on SurfaceChanged just after setPreviewDisplay(), and it works.

2. in jni helper() function, when call

gQueue.enqueueNDRangeKernel(gNV21Kernel,
 cl::NullRange,
 cl::NDRange( (int)ceil((float)w/16.0f)*16,(int)ceil((float)h/16.0f)*16),
 cl::NDRange(16,16),
 NULL,
 NULL);
it will get such error: @oclDecoder: clEnqueueNDRangeKernel -54
it's CL_INVALID_WORK_GROUP_SIZE, the specified local workgroup size and number of workitems specified by global workgroup size is not evenly divisible by local workgroup size.

How can I fix this? Thanks.