1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3Copyright (c) 2015-2017, 2019 The Linux Foundation. All rights reserved.
4
5Not a Contribution.
6
7Copyright 2015 The Android Open Source Project
8
9Licensed under the Apache License, Version 2.0 (the "License");
10you may not use this file except in compliance with the License.
11u may obtain a copy of the License at
12
13     http://www.apache.org/licenses/LICENSE-2.0
14
15Unless required by applicable law or agreed to in writing, software
16distributed under the License is distributed on an "AS IS" BASIS,
17WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18See the License for the specific language governing permissions and
19limitations under the License.
20-->
21
22<MediaCodecs>
23    <Encoders>
24        <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
25            <Limit name="measured-frame-rate-320x240" range="650-655" />
26            <Limit name="measured-frame-rate-720x480" range="280-289" />
27            <Limit name="measured-frame-rate-1280x720" range="110-115" />
28            <Limit name="measured-frame-rate-1920x1080" range="91-95" />
29        </MediaCodec>
30        <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true">
31            <Limit name="measured-frame-rate-320x240" range="580-590" />
32            <Limit name="measured-frame-rate-720x480" range="270-300" />
33            <Limit name="measured-frame-rate-1280x720" range="110-119" />
34            <Limit name="measured-frame-rate-1920x1080" range="16-45" />
35            <Limit name="measured-frame-rate-3840x2160" range="20-28" />
36        </MediaCodec>
37        <MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" update="true">
38            <Limit name="measured-frame-rate-176x144" range="270-280" />
39            <Limit name="measured-frame-rate-352x288" range="59-84" />
40        </MediaCodec>
41        <MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" update="true">
42            <Limit name="measured-frame-rate-176x144" range="80-102" />
43            <Limit name="measured-frame-rate-352x288" range="55-79" />
44            <Limit name="measured-frame-rate-640x480" range="39-58" />
45        </MediaCodec>
46        <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
47            <Limit name="measured-frame-rate-320x180" range="266-266" />
48            <Limit name="measured-frame-rate-640x360" range="440-450" />
49            <Limit name="measured-frame-rate-1280x720" range="130-135" />
50            <Limit name="measured-frame-rate-1920x1080" range="16-40" />
51        </MediaCodec>
52        <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
53            <Limit name="measured-frame-rate-320x240" range="215-215" />
54            <Limit name="measured-frame-rate-720x480" range="100-100" />
55            <Limit name="measured-frame-rate-1280x720" range="56-56" />
56            <Limit name="measured-frame-rate-1920x1080" range="30-30" />
57        </MediaCodec>
58        <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
59            <Limit name="measured-frame-rate-176x144" range="200-200" />
60        </MediaCodec>
61        <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
62            <Limit name="measured-frame-rate-176x144" range="180-180" />
63        </MediaCodec>
64        <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
65            <Limit name="measured-frame-rate-320x180" range="39-39" />
66            <Limit name="measured-frame-rate-640x360" range="32-32" />
67            <Limit name="measured-frame-rate-1280x720" range="17-24" />
68            <Limit name="measured-frame-rate-1920x1080" range="8-12" />
69        </MediaCodec>
70        <MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
71            <Limit name="measured-frame-rate-320x240" range="196-266" />
72            <Limit name="measured-frame-rate-720x480" range="64-92" />
73            <Limit name="measured-frame-rate-1280x720" range="38-60" />
74            <Limit name="measured-frame-rate-1920x1080" range="23-33" />
75        </MediaCodec>
76        <MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
77            <Limit name="measured-frame-rate-320x240" range="22-36" />
78        </MediaCodec>
79        <MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
80            <Limit name="measured-frame-rate-176x144" range="215-333" />
81        </MediaCodec>
82        <MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
83            <Limit name="measured-frame-rate-176x144" range="222-311" />
84        </MediaCodec>
85        <MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
86            <Limit name="measured-frame-rate-320x180" range="120-187" />
87            <Limit name="measured-frame-rate-640x360" range="87-123" />
88            <Limit name="measured-frame-rate-1280x720" range="21-31" />
89            <Limit name="measured-frame-rate-1920x1080" range="19-28" />
90        </MediaCodec>
91    </Encoders>
92    <Decoders>
93        <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
94            <Limit name="measured-frame-rate-320x240" range="305-494" />
95            <Limit name="measured-frame-rate-720x480" range="310-488" />
96            <Limit name="measured-frame-rate-1280x720" range="177-275" />
97            <Limit name="measured-frame-rate-1920x1088" range="93-146" />
98        </MediaCodec>
99            <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
100            <Limit name="measured-frame-rate-352x288" range="222-222" />
101            <Limit name="measured-frame-rate-720x480" range="268-360" />
102            <Limit name="measured-frame-rate-1280x720" range="191-268" />
103            <Limit name="measured-frame-rate-1920x1080" range="94-147" />
104            <Limit name="measured-frame-rate-3840x2160" range="29-41" />
105        </MediaCodec>
106        <MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" update="true">
107            <Limit name="measured-frame-rate-176x144" range="356-356" />
108            <Limit name="measured-frame-rate-352x288" range="292-292" />
109        </MediaCodec>
110        <MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es" update="true">
111            <Limit name="measured-frame-rate-176x144" range="203-431" />
112            <Limit name="measured-frame-rate-480x360" range="190-450" />
113	    <Limit name="measured-frame-rate-1280x720" range="160-217" />
114        </MediaCodec>
115        <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
116            <Limit name="measured-frame-rate-320x240" range="337-337" />
117            <Limit name="measured-frame-rate-640x360" range="337-337" />
118            <Limit name="measured-frame-rate-1280x720" range="337-337" />
119            <Limit name="measured-frame-rate-1920x1080" range="248-248" />
120        </MediaCodec>
121        <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
122            <Limit name="measured-frame-rate-320x240" range="377-377" />
123            <Limit name="measured-frame-rate-640x360" range="323-323" />
124            <Limit name="measured-frame-rate-1280x720" range="262-262" />
125            <Limit name="measured-frame-rate-1920x1080" range="77-81" />
126            <Limit name="measured-frame-rate-3840x2160" range="18-19" />
127        </MediaCodec>
128        <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
129            <Limit name="measured-frame-rate-320x240" range="122-122" />
130            <Limit name="measured-frame-rate-720x480" range="68-68" />
131            <Limit name="measured-frame-rate-1280x720" range="32-32" />
132            <Limit name="measured-frame-rate-1920x1080" range="6-10" />
133        </MediaCodec>
134        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
135            <Limit name="measured-frame-rate-176x144" range="104-279" />
136            <Limit name="measured-frame-rate-352x288" range="200-200" />
137        </MediaCodec>
138        <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
139            <Limit name="measured-frame-rate-352x288" range="170-170" />
140            <Limit name="measured-frame-rate-640x360" range="89-89" />
141            <Limit name="measured-frame-rate-720x480" range="73-73" />
142            <Limit name="measured-frame-rate-1280x720" range="32-32" />
143            <Limit name="measured-frame-rate-1920x1080" range="21-21" />
144        </MediaCodec>
145        <MediaCodec name="OMX.google.mpeg4.decoder" update="true">
146            <Type name="video/mp4v-es">
147                <Limit name="measured-frame-rate-176x144" range="430-450" />
148            </Type>
149        </MediaCodec>
150        <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
151            <Limit name="measured-frame-rate-320x240" range="330-381" />
152            <Limit name="measured-frame-rate-640x360" range="139-185" />
153            <Limit name="measured-frame-rate-1280x720" range="22-38" />
154            <Limit name="measured-frame-rate-1920x1080" range="9-18" />
155        </MediaCodec>
156        <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
157            <Limit name="measured-frame-rate-320x240" range="200-230" />
158            <Limit name="measured-frame-rate-640x360" range="81-90" />
159            <Limit name="measured-frame-rate-1280x720" range="32-40" />
160            <Limit name="measured-frame-rate-1920x1080" range="19-23" />
161        </MediaCodec>
162        <MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
163            <Limit name="measured-frame-rate-320x240" range="143-204" />
164            <Limit name="measured-frame-rate-720x480" range="48-76" />
165            <Limit name="measured-frame-rate-1280x720" range="20-29" />
166            <Limit name="measured-frame-rate-1920x1080" range="10-15" />
167        </MediaCodec>
168        <MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
169            <Limit name="measured-frame-rate-352x288" range="120-290" />
170            <Limit name="measured-frame-rate-640x360" range="66-161" />
171            <Limit name="measured-frame-rate-720x480" range="99-142" />
172            <Limit name="measured-frame-rate-1280x720" range="51-73" />
173            <Limit name="measured-frame-rate-1920x1080" range="26-38" />
174        </MediaCodec>
175        <MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
176            <Limit name="measured-frame-rate-176x144" range="333-920" />
177            <Limit name="measured-frame-rate-352x288" range="438-584" />
178        </MediaCodec>
179        <MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
180            <Limit name="measured-frame-rate-176x144" range="554-876" />
181        </MediaCodec>
182        <MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
183            <Limit name="measured-frame-rate-320x180" range="514-727" />
184            <Limit name="measured-frame-rate-640x360" range="143-222" />
185            <Limit name="measured-frame-rate-1920x1080" range="22-31" />
186        </MediaCodec>
187        <MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
188            <Limit name="measured-frame-rate-320x180" range="432-576" />
189            <Limit name="measured-frame-rate-640x360" range="126-179" />
190            <Limit name="measured-frame-rate-1280x720" range="39-75" />
191            <Limit name="measured-frame-rate-1920x1080" range="25-36" />
192        </MediaCodec>
193    </Decoders>
194</MediaCodecs>
195