summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chen <kuanwenchen@google.com>2023-11-30 09:21:27 +0000
committerDavid Chen <kuanwenchen@google.com>2023-12-05 08:28:18 +0000
commitec09d678cb892273de4ac2f0cf726a4e94031b49 (patch)
treedbfcce7243e52840e5c37df71f66182f48e63f6b
parentba9e34eeb8d6c7698bf748df4c520ec572285f96 (diff)
downloadfelix-ec09d678cb892273de4ac2f0cf726a4e94031b49.tar.gz
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
-rw-r--r--powerhint.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/powerhint.json b/powerhint.json
index 95b7535..fbcc819 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -319,7 +319,7 @@
"Values": [
"0",
"1"
- ],
+ ]
},
{
"Name": "DisplayWakeup",
@@ -1054,6 +1054,18 @@
"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",
"Node": "TAPreferHighCap",
"Duration": 3000,