1<?xml version="1.0" encoding="utf-8" ?>
2<!-- Copyright 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<MediaCodecs>
18    <Encoders>
19        <MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" update="true">
20            <Limit name="measured-frame-rate-176x144" range="322-322" /> <!-- N=128 v98%=1.6 -->
21            <!-- measured 98%:77-346 med:231 FLAKY(78 - 346 < mx=349.2) variance:2.1 -->
22            <Limit name="measured-frame-rate-352x288" range="155-173" /> <!-- N=128 -->
23        </MediaCodec>
24        <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
25            <Limit name="measured-frame-rate-320x240" range="194-194" /> <!-- N=127 v98%=1.9 -->
26            <!-- measured 98%:22-172 med:80 FLAKY(22 - 172 < mx=174.5) variance:2.8 -->
27            <Limit name="measured-frame-rate-720x480" range="44-86" /> <!-- N=128 -->
28            <!-- measured 98%:15-94 med:57 variance:2.4 -->
29            <Limit name="measured-frame-rate-1280x720" range="31-47" /> <!-- N=128 -->
30            <!-- measured 98%:7-43 med:22 variance:2.3 -->
31            <Limit name="measured-frame-rate-1920x1080" range="15-22" /> <!-- N=128 -->
32        </MediaCodec>
33        <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true">
34            <!-- measured 98%:102-448 med:273 FLAKY(mn=100.0 < 102 - 448 < mx=449.8) variance:2.1 -->
35            <Limit name="measured-frame-rate-320x240" range="204-224" /> <!-- N=136 -->
36            <!-- measured 98%:21-168 med:80 FLAKY(22 - 168 < mx=168.5) variance:2.8 -->
37            <Limit name="measured-frame-rate-720x480" range="43-84" /> <!-- N=136 -->
38            <!-- measured 98%:15-80 med:56 FLAKY(16 - 80 < mx=87.3) variance:2.2 -->
39            <Limit name="measured-frame-rate-1280x720" range="31-40" /> <!-- N=136 -->
40            <!-- measured 98%:7-43 med:22 variance:2.4 -->
41            <Limit name="measured-frame-rate-1920x1080" range="15-22" /> <!-- N=134 -->
42            <!-- measured 90%:2-11 med:7 FLAKY(2 - 12 < mx=25.5) variance:2.2 -->
43            <Limit name="measured-frame-rate-3840x2160" range="4-6" /> <!-- N=135 -->
44        </MediaCodec>
45        <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" update="true">
46            <Limit name="measured-frame-rate-176x144" range="283-283" /> <!-- N=136 v98%=1.4 -->
47            <Limit name="measured-frame-rate-352x288" range="136-136" /> <!-- N=136 v98%=1.7 -->
48            <Limit name="measured-frame-rate-640x480" range="64-64" /> <!-- N=136 v98%=1.4 -->
49        </MediaCodec>
50        <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
51            <Limit name="measured-frame-rate-320x180" range="122-122" /> <!-- N=128 v98%=1.0 -->
52            <Limit name="measured-frame-rate-640x360" range="83-83" /> <!-- N=128 v98%=1.4 -->
53            <Limit name="measured-frame-rate-1280x720" range="25-25" /> <!-- N=125 v98%=1.6 -->
54            <Limit name="measured-frame-rate-1920x1080" range="11-11" /> <!-- N=126 v98%=1.4 -->
55        </MediaCodec>
56        <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
57            <Limit name="measured-frame-rate-176x144" range="181-181" /> <!-- N=128 v98%=1.6 -->
58        </MediaCodec>
59        <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
60            <!-- measured 98%:56-288 med:151 FLAKY(56 - 288 < mx=289.7) variance:2.3 -->
61            <Limit name="measured-frame-rate-320x240" range="112-144" /> <!-- N=128 -->
62            <!-- measured 90%:22-53 med:47 FLAKY(17 - 68 < mx=109.3) -->
63            <Limit name="measured-frame-rate-720x480" range="34-34" /> <!-- N=128 v90%=1.5 -->
64            <!-- measured 93%:10-27 med:22 FLAKY(9 - 34 < mx=65.7) -->
65            <Limit name="measured-frame-rate-1280x720" range="17-17" /> <!-- N=128 v93%=1.6 -->
66            <!-- measured 98%:4-14 med:10 FLAKY(4 - 16 < mx=23.7) -->
67            <Limit name="measured-frame-rate-1920x1080" range="8-8" /> <!-- N=128 v98%=1.7 -->
68        </MediaCodec>
69        <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
70            <Limit name="measured-frame-rate-176x144" range="192-192" /> <!-- N=134 v98%=1.6 -->
71        </MediaCodec>
72        <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
73            <Limit name="measured-frame-rate-320x180" range="60-60" /> <!-- N=128 v98%=1.7 -->
74            <Limit name="measured-frame-rate-640x360" range="30-30" /> <!-- N=123 v98%=1.4 -->
75            <Limit name="measured-frame-rate-1280x720" range="15-15" /> <!-- N=128 v98%=1.7 -->
76            <Limit name="measured-frame-rate-1920x1080" range="7-7" /> <!-- N=128 v98%=1.5 -->
77        </MediaCodec>
78    </Encoders>
79    <Decoders>
80        <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" update="true">
81            <Limit name="measured-frame-rate-176x144" range="578-578" /> <!-- N=128 v98%=1.4 -->
82            <Limit name="measured-frame-rate-352x288" range="611-611" /> <!-- N=128 v98%=1.3 -->
83        </MediaCodec>
84        <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
85            <Limit name="measured-frame-rate-320x240" range="340-340" /> <!-- N=128 v98%=1.2 -->
86            <Limit name="measured-frame-rate-720x480" range="278-278" /> <!-- N=128 v98%=1.2 -->
87            <Limit name="measured-frame-rate-1280x720" range="151-166" /> <!-- N=128 v98%=1.2 -->
88            <Limit name="measured-frame-rate-1920x1088" range="74-74" /> <!-- N=127 v98%=1.0 -->
89        </MediaCodec>
90        <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
91            <Limit name="measured-frame-rate-352x288" range="442-465" /> <!-- N=126 v98%=1.3 -->
92            <Limit name="measured-frame-rate-640x360" range="340-340" /> <!-- N=126 v98%=1.2 -->
93            <Limit name="measured-frame-rate-720x480" range="301-301" /> <!-- N=126 v98%=1.2 -->
94            <Limit name="measured-frame-rate-1280x720" range="214-227" /> <!-- N=124 v98%=1.2 -->
95            <Limit name="measured-frame-rate-1920x1080" range="128-128" /> <!-- N=126 v98%=1.0 -->
96            <Limit name="measured-frame-rate-3840x2160" range="33-33" /> <!-- N=125 v98%=1.0 -->
97        </MediaCodec>
98        <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" update="true">
99            <Limit name="measured-frame-rate-176x144" range="574-574" /> <!-- N=126 v98%=1.3 -->
100            <Limit name="measured-frame-rate-480x360" range="551-551" /> <!-- N=125 v98%=1.2 -->
101        </MediaCodec>
102        <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
103            <Limit name="measured-frame-rate-320x180" range="404-404" /> <!-- N=126 v98%=1.1 -->
104            <Limit name="measured-frame-rate-640x360" range="397-397" /> <!-- N=126 v98%=1.1 -->
105            <Limit name="measured-frame-rate-1280x720" range="424-424" /> <!-- N=126 v98%=1.2 -->
106            <Limit name="measured-frame-rate-1920x1080" range="248-248" /> <!-- N=126 v98%=1.0 -->
107        </MediaCodec>
108        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
109            <Limit name="measured-frame-rate-176x144" range="141-188" /> <!-- N=128 v98%=1.6 -->
110        </MediaCodec>
111        <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
112            <!-- measured 98%:74-403 med:361 FLAKY(mn=68.1 < 75 - 404 < mx=404.5) variance:2.3 -->
113            <Limit name="measured-frame-rate-320x240" range="149-202" /> <!-- N=128 -->
114            <Limit name="measured-frame-rate-720x480" range="66-66" /> <!-- N=128 v98%=1.8 -->
115            <Limit name="measured-frame-rate-1280x720" range="26-26" /> <!-- N=127 v98%=1.7 -->
116            <Limit name="measured-frame-rate-1920x1080" range="11-11" /> <!-- N=127 v98%=1.8 -->
117        </MediaCodec>
118        <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
119            <!-- measured 98%:90-360 med:307 FLAKY(mn=88.8 < 90 - 360 < mx=371.6) -->
120            <Limit name="measured-frame-rate-352x288" range="180-180" /> <!-- N=125 v98%=2.0 -->
121            <Limit name="measured-frame-rate-640x360" range="85-85" /> <!-- N=126 v98%=2.0 -->
122            <Limit name="measured-frame-rate-720x480" range="79-79" /> <!-- N=125 v98%=1.9 -->
123            <Limit name="measured-frame-rate-1280x720" range="31-31" /> <!-- N=126 v98%=1.6 -->
124            <Limit name="measured-frame-rate-1920x1080" range="19-19" /> <!-- N=126 v98%=1.6 -->
125        </MediaCodec>
126        <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
127            <Limit name="measured-frame-rate-176x144" range="195-240" /> <!-- N=126 v98%=1.6 -->
128        </MediaCodec>
129        <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
130            <!-- measured 98%:172-723 med:583 FLAKY(mn=165.2 < 172 - 724 < mx=817.7) variance:2.0 -->
131            <Limit name="measured-frame-rate-320x180" range="344-362" /> <!-- N=126 -->
132            <!-- measured 98%:49-222 med:208 FLAKY(49 - 222 < mx=223.1) variance:2.1 -->
133            <Limit name="measured-frame-rate-640x360" range="98-111" /> <!-- N=126 -->
134            <Limit name="measured-frame-rate-1280x720" range="22-23" /> <!-- N=126 v98%=2.0 -->
135            <!-- measured 98%:4-18 med:16 FLAKY(4 - 18 < mx=18.1) variance:2.1 -->
136            <Limit name="measured-frame-rate-1920x1080" range="8-9" /> <!-- N=122 -->
137        </MediaCodec>
138        <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
139            <!-- measured 98%:111-453 med:328 FLAKY(mn=107.4 < 111 - 454 < mx=460.4) variance:2.0 -->
140            <Limit name="measured-frame-rate-320x180" range="222-227" /> <!-- N=126 -->
141            <Limit name="measured-frame-rate-640x360" range="83-83" /> <!-- N=125 v98%=1.7 -->
142            <Limit name="measured-frame-rate-1280x720" range="32-32" /> <!-- N=126 v98%=1.6 -->
143            <Limit name="measured-frame-rate-1920x1080" range="19-19" /> <!-- N=126 v98%=1.5 -->
144        </MediaCodec>
145    </Decoders>
146</MediaCodecs>
147