Camera: Add CAMERA_LAUNCH_EXTENDED mode

Use CAMERA_LAUNCH_EXTENDED to not limit max CPU frequency.
It improves launch time and buffer allocation latency especially for high memory pressure cases.

Bug: 208362912
Test: GCA
Change-Id: I85df14aaaad56232f6ffaef316adb0c6dde3e06f
This commit is contained in:
vincechiu 2021-10-15 11:05:21 +08:00 committed by TreeHugger Robot
parent e6bb2caf47
commit f924811f47

View file

@ -492,6 +492,24 @@
"Duration": 1000, "Duration": 1000,
"Value": "4-7" "Value": "4-7"
}, },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
"Duration": 2000,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUMidClusterMaxFreq",
"Duration": 2000,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPULittleClusterMaxFreq",
"Duration": 2000,
"Value": "9999999"
},
{ {
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE", "PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",