From 61c2524f0b686fe2cfcf0fe845e87892a60c5c49 Mon Sep 17 00:00:00 2001 From: David Chen Date: Tue, 12 Dec 2023 02:11:54 +0000 Subject: 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 --- powerhint.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/powerhint.json b/powerhint.json index d3e8692..5e344c2 100644 --- a/powerhint.json +++ b/powerhint.json @@ -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", -- cgit v1.2.3