Hi,
I am using an (Android Pie) AOSP Camera2 application. (packages/apps/Camera2)
I am working on NXP's i.MX8MMini board with Android Pie AOSP.
We are using Camera module OV5640 as back camera module. Able to preview and capture the image and video in reverse landscape mode.
But the mechanical enclosure fitting camera module rotated 90 degrees right physically.
And in camera application for preview, image is coming as 90 degree left.
Please can you help on this ? What changes I need to do in the Hardware layer?
I had posted complete issue details in this link with physical camera image sensor.
https://groups.google.com/g/android-platform/c/2XZ0zCp0pqg/m/Gm6OtE2yBgAJ
The camera sensor in the image is uased as back camera.
In init.rc file I changed below line :
device/fsl/imx8m/iwg34m_8mm/init.rc
setprop back_camera_orient 0 ==> setprop back_camera_orient 90
But still not working.
I traced where this values is parsing and got this:
vendor/nxp-opensource/imx/libcamera3/CameraHAL.cpp:316: property_get("back_camera_name", mSets[BACK_CAMERA_ID].mPropertyName, "0");
In NXP's libcamera3 layer parsing values happening but finally how it effect to camera orientation I didn't get.
Please can anyone check this and help me ?
Thanks and Regards,
Devendra
--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/983acfbb-e35d-47bf-ab7d-18c01211ea04n%40googlegroups.com.