Add zoom boost in powerhint for F10

This patch is meant to reduce frame drop rate in 60FPS video recording with zoom in/out.
The boost will be triggered at 60FPS video recording while zoom ratio change (for each request that contain zoom ratio control in metadata), and will last for 15 frames.

Test: gca_smoke_test
Bug: 305613607
Change-Id: Ia2a6a452cf2ac7b8ee7a1bd53e5085582d79a2be
This commit is contained in:
David Chen 2023-11-30 09:21:27 +00:00
parent ba9e34eeb8
commit ec09d678cb

View file

@ -319,7 +319,7 @@
"Values": [ "Values": [
"0", "0",
"1" "1"
], ]
}, },
{ {
"Name": "DisplayWakeup", "Name": "DisplayWakeup",
@ -1053,6 +1053,18 @@
"Duration": 1000, "Duration": 1000,
"Value": "664000" "Value": "664000"
}, },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "CDPreferIdle",
"Duration": 100,
"Value": "1"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",