Prechádzať zdrojové kódy

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
David Chen 1 rok pred
rodič
commit
61c2524f0b
1 zmenil súbory, kde vykonal 12 pridanie a 0 odobranie
  1. 12 0
      powerhint.json

+ 12 - 0
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",