summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2021-09-14 13:25:16 -0700
committerBo Hu <bohu@google.com>2021-09-14 21:27:33 +0000
commit509735a9f2a916d2a701cd1f6b32fef584b5d43a (patch)
tree59f1d8f53ee9821ed4ea02fa16769423bc10a306
parent71efabc1c2faf871666891cfa48f2fb43269be96 (diff)
downloadgoldfish-509735a9f2a916d2a701cd1f6b32fef584b5d43a.tar.gz
goldfish: remove 4k data point for hardware vp8 decoder
vp8 is not using multi-threading, and 4k performance is often under 30fps, as it requires very performant host CPU. Bug: 189957515 Change-Id: Ie93a9c2de987da094ad57f2aed32e25d9d4eade4
-rw-r--r--camera/media_codecs_google_video_default.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/camera/media_codecs_google_video_default.xml b/camera/media_codecs_google_video_default.xml
index 1803f3f2..84e474cb 100644
--- a/camera/media_codecs_google_video_default.xml
+++ b/camera/media_codecs_google_video_default.xml
@@ -122,18 +122,18 @@
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="c2.goldfish.vp8.decoder" type="video/x-vnd.on2.vp8">
- <Limit name="size" min="96x96" max="3840x2160" />
+ <Limit name="size" min="96x96" max="2560x560" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="24" max="2073600" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="frame-rate" range="1-480" />
- <Limit name="performance-point-3840x2160" value="30" />
+ <Limit name="performance-point-2560x2560" value="30" />
<Limit name="measured-frame-rate-320x180" range="743-817" />
<Limit name="measured-frame-rate-640x360" range="237-258" />
<Limit name="measured-frame-rate-1280x720" range="60-160" />
<Limit name="measured-frame-rate-1920x1080" range="30-160" />
- <Limit name="measured-frame-rate-3840x2160" range="30-90" />
+ <Limit name="measured-frame-rate-2560x2560" range="30-90" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="c2.goldfish.vp9.decoder" type="video/x-vnd.on2.vp9">