Hi,
We are seeing Camera preview distortion while USB camera is connected and camera setting dialog is in foreground.
Scenario :
1. Connect USB camera.
2. Go to default Google Camera application (GMS) and open USB camera > select camera settings.
3. Some distortion will be seen on the screen and after few minutes preview frames stops due to timeout issue in Camera HAL at select(mCameraHandle+1, &rfds, NULL, NULL, &tv) in UvcDevice.cpp.
This issue is observed with applications using Surface Texture (OpenGL ES texture) instead of Surface Holder for output destination.
Setup:
Android JB 4.2.2.1.1.0 build
Custom board based on FSL IMX6 Sabresd
Camera: Logitech Webcam C930e and C310
Could you please provide the patches for the above issue for Android 4.2.2?
Regards,
Hasan
HI :
I met the same issue ! please tell me to Solve it ?
Hi,
You can see some improvement by enabling Force GPU rendering.
settings->Developer options-->Force GPU rendering.
Regards,
Saurabh
Hi Saurabh,
I have enabled Force GPU rendering but still same distortion is seen.
Dear Mohammed Hasan,
Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) for better visibility.
For details please see general advice https://community.freescale.com/docs/DOC-99909
Thank you for using Freescale Community.
Regards,
Wlodek_D.