Add zoom boost in powerhint for L10

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: 315102326
Change-Id: I7f0587881c131590f629dab838aa734a8b082c70
This commit is contained in:
David Chen 2023-12-12 02:11:54 +00:00 committed by Treehugger Robot
parent e8d02b6ede
commit 61c2524f0b

View File

@ -1036,6 +1036,18 @@
"Duration": 1000,
"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",
"Node": "TAPreferHighCap",