fugu: publish profiling result in codec xml.

Bug: 22089269
Change-Id: I88918567aeb23d6bb697b9e6d78a3ab33730f604
diff --git a/media_codecs.xml b/media_codecs.xml
index c503fe3..a8e969b 100755
--- a/media_codecs.xml
+++ b/media_codecs.xml
@@ -81,6 +81,9 @@
 <MediaCodecs>
     <Include href="media_codecs_google_audio.xml" />
 
+    <Settings>
+        <Setting name="max-video-encoder-input-buffers" value="2" />
+    </Settings>
     <Decoders>
         <MediaCodec name="OMX.Intel.VideoDecoder.MPEG4" type="video/mp4v-es">
             <Limit name="size" min="96x32" max="1920x1088" />
@@ -89,6 +92,7 @@
             <Limit name="blocks-per-second" range="12-244800" />
             <Limit name="bitrate" range="1-20000000" />
             <Feature name="adaptive-playback" optional="yes" />
+            <Limit name="concurrent-instances" max="32" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.H263" type="video/3gpp">
             <Limit name="size" min="96x32" max="720x576" />
@@ -97,6 +101,7 @@
             <Limit name="blocks-per-second" range="12-48600" />
             <Limit name="bitrate" range="1-16000000" />
             <Feature name="adaptive-playback" optional="yes" />
+            <Limit name="concurrent-instances" max="32" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.AVC" type="video/avc">
             <Limit name="size" min="96x32" max="2560x1440" />
@@ -105,6 +110,7 @@
             <Limit name="blocks-per-second" range="12-864000" />
             <Limit name="bitrate" range="1-50000000" />
             <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="4" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.AVC.secure" type="video/avc">
             <Limit name="size" min="96x32" max="1920x1088" />
@@ -114,6 +120,7 @@
             <Limit name="bitrate" range="1-50000000" />
             <Feature name="adaptive-playback" />
             <Feature name="secure-playback" required="true" />
+            <Limit name="concurrent-instances" max="32" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.VP8" type="video/x-vnd.on2.vp8">
             <Limit name="size" min="96x32" max="1920x1088" />
@@ -122,6 +129,7 @@
             <Limit name="blocks-per-second" range="12-489600" />
             <Limit name="bitrate" range="1-50000000" />
             <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="4" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.MPEG2" type="video/mpeg2">
             <Limit name="size" min="96x32" max="1920x1088" />
@@ -130,6 +138,7 @@
             <Limit name="blocks-per-second" range="12-489600" />
             <Limit name="bitrate" range="1-80000000" />
             <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="32" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.VP9.hybrid" type="video/x-vnd.on2.vp9">
             <Limit name="size" min="16x16" max="1920x1088" />
@@ -138,6 +147,7 @@
             <Limit name="blocks-per-second" range="1-244800" />
             <Limit name="bitrate" range="1-8000000" />
             <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="4" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoDecoder.VP9.hwr" type="video/x-vnd.on2.vp9">
             <Limit name="size" min="16x16" max="1920x1088" />
@@ -146,6 +156,7 @@
             <Limit name="blocks-per-second" range="1-244800" />
             <Limit name="bitrate" range="1-8000000" />
             <Feature name="adaptive-playback" />
+            <Limit name="concurrent-instances" max="32" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.sw_vd.h265" type="video/hevc">
             <Limit name="size" min="16x16" max="1920x1088" />
@@ -167,6 +178,7 @@
             <Limit name="block-size" value="16x16" />
             <Limit name="frame-rate" range="1-60" />
             <Limit name="bitrate" range="1-50000000" />
+            <Limit name="concurrent-instances" max="3" />
         </MediaCodec>
         <MediaCodec name="OMX.Intel.VideoEncoder.VP8" type="video/x-vnd.on2.vp8" >
             <Quirk name="requires-allocate-on-input-ports" />
@@ -175,6 +187,7 @@
             <Limit name="block-size" value="16x16" />
             <Limit name="frame-rate" range="1-30" />
             <Limit name="bitrate" range="1-10000000" />
+            <Limit name="concurrent-instances" max="3" />
         </MediaCodec>
     </Encoders>