summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonghua Wu <ronghuawu@google.com>2015-06-25 15:05:04 -0700
committerRonghua Wu <ronghuawu@google.com>2015-06-25 15:05:04 -0700
commita7ae944ed4b9951eb5545d6d9be0cd91a2e4e011 (patch)
tree0d673536f8275457d550f1b9eeb5d5a54862f798
parentaf8377171679caf16533729bef1ba771108f0b46 (diff)
flo: publish profiling result in codec xml.
Bug: 22089269 Change-Id: I62a6ef8f002b3a7afb3eb0348084b86745918f43
-rw-r--r--media_codecs.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/media_codecs.xml b/media_codecs.xml
index 687fe01..e06ba28 100644
--- a/media_codecs.xml
+++ b/media_codecs.xml
@@ -16,6 +16,10 @@
<MediaCodecs>
<Include href="media_codecs_google_audio.xml" />
+ <Settings>
+ <Setting name="max-video-encoder-input-buffers" value="4" />
+ <Setting name="supports-multiple-secure-codecs" value="false" />
+ </Settings>
<Encoders>
<MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -27,6 +31,7 @@
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-20000000" />
<Feature name="can-swap-width-height" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -34,6 +39,7 @@
<Quirk name="requires-loaded-to-idle-after-allocation"/>
<Limit name="size" min="96x64" max="720x576" />
<Limit name="alignment" value="8x8" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -45,6 +51,7 @@
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-20000000" />
<Feature name="can-swap-width-height" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
</Encoders>
<Decoders>
@@ -59,6 +66,7 @@
<Limit name="bitrate" range="1-20000000" />
<Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -72,6 +80,7 @@
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Feature name="can-swap-width-height" />
+ <Limit name="concurrent-instances" max="1" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -83,6 +92,7 @@
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-20000000" />
<Feature name="adaptive-playback" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -95,6 +105,7 @@
<Limit name="bitrate" range="1-20000000" />
<Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" >
<Quirk name="requires-allocate-on-input-ports" />
@@ -103,6 +114,7 @@
<Limit name="size" min="64x64" max="720x576" />
<Limit name="alignment" value="2x2" />
<Feature name="adaptive-playback" />
+ <Limit name="concurrent-instances" max="4" />
</MediaCodec>
</Decoders>
<Include href="media_codecs_google_video.xml" />