文件路径:hardware/rockchip/camera/etc/camera/camera3_profiles_rk356x.xml
1、在文件中找到摄像头设备名称(以gc8034为例)。
2、修改sensor.orientation value的值(对应的角度)
diff --git a/hardware/rockchip/camera/etc/camera/camera3_profiles_rk356x.xml b/hardware/rockchip/camera/etc/camera/camera3_profiles_rk356x.xml
index fa111d48c8..bed681db21 100755
--- a/hardware/rockchip/camera/etc/camera/camera3_profiles_rk356x.xml
+++ b/hardware/rockchip/camera/etc/camera/camera3_profiles_rk356x.xml
@@ -479,7 +479,7 @@
<sensor.baseGainFactor value="0,1"/> <!-- HAL may override this value from CMC for RAW sensors -->
<sensor.blackLevelPattern value="0,0,0,0"/>
<sensor.maxAnalogSensitivity value="2400"/> <!-- HAL may override this value from CMC for RAW sensors -->
- <sensor.orientation value="270"/>
+ <sensor.orientation value="180"/>
<sensor.profileHueSatMapDimensions value="0,0,0"/>
<sensor.availableTestPatternModes value="OFF,COLOR_BARS"/>
<!-- Info -->