1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3Copyright (c) 2015-2017, 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="238-238" />
26            <Limit name="measured-frame-rate-720x480" range="123-123" />
27            <Limit name="measured-frame-rate-1280x720" range="50-50" />
28            <Limit name="measured-frame-rate-1920x1080" range="16-40" />
29        </MediaCodec>
30        <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true">
31            <Limit name="measured-frame-rate-320x240" range="226-226" />
32            <Limit name="measured-frame-rate-720x480" range="121-121" />
33            <Limit name="measured-frame-rate-1280x720" range="49-49" />
34            <Limit name="measured-frame-rate-1920x1080" range="16-45" />
35            <Limit name="measured-frame-rate-3840x2160" range="23-30" />
36        </MediaCodec>
37        <MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" update="true">
38            <Limit name="measured-frame-rate-176x144" range="87-131" />
39            <Limit name="measured-frame-rate-352x288" range="50-80" />
40        </MediaCodec>
41        <MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" update="true">
42            <Limit name="measured-frame-rate-176x144" range="92-115" />
43            <Limit name="measured-frame-rate-352x288" range="53-80" />
44            <Limit name="measured-frame-rate-640x480" range="41-66" />
45            <Limit name="measured-frame-rate-1280x720" range="32-39" />
46        </MediaCodec>
47        <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
48            <Limit name="measured-frame-rate-320x180" range="266-266" />
49            <Limit name="measured-frame-rate-640x360" range="165-165" />
50            <Limit name="measured-frame-rate-1280x720" range="74-92" />
51            <Limit name="measured-frame-rate-1920x1080" range="16-40" />
52        </MediaCodec>
53        <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
54            <Limit name="measured-frame-rate-320x240" range="215-215" />
55            <Limit name="measured-frame-rate-720x480" range="100-100" />
56            <Limit name="measured-frame-rate-1280x720" range="56-56" />
57            <Limit name="measured-frame-rate-1920x1080" range="30-30" />
58        </MediaCodec>
59        <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
60            <Limit name="measured-frame-rate-176x144" range="200-200" />
61        </MediaCodec>
62        <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
63            <Limit name="measured-frame-rate-176x144" range="180-180" />
64        </MediaCodec>
65        <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
66            <Limit name="measured-frame-rate-320x180" range="39-39" />
67            <Limit name="measured-frame-rate-640x360" range="32-32" />
68            <Limit name="measured-frame-rate-1280x720" range="17-24" />
69            <Limit name="measured-frame-rate-1920x1080" range="8-12" />
70        </MediaCodec>
71        <MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
72            <Limit name="measured-frame-rate-320x240" range="137-175" />
73            <Limit name="measured-frame-rate-720x480" range="62-92" />
74            <Limit name="measured-frame-rate-1280x720" range="35-59" />
75            <Limit name="measured-frame-rate-1920x1080" range="26-33" />
76        </MediaCodec>
77        <MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
78            <Limit name="measured-frame-rate-320x240" range="20-30" />
79        </MediaCodec>
80        <MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
81            <Limit name="measured-frame-rate-176x144" range="151-252" />
82        </MediaCodec>
83        <MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
84            <Limit name="measured-frame-rate-176x144" range="169-250" />
85        </MediaCodec>
86        <MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
87            <Limit name="measured-frame-rate-320x180" range="112-189" />
88            <Limit name="measured-frame-rate-640x360" range="115-145" />
89            <Limit name="measured-frame-rate-1280x720" range="26-39" />
90            <Limit name="measured-frame-rate-1920x1080" range="10-16" />
91        </MediaCodec>
92    </Encoders>
93    <Decoders>
94        <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
95            <Limit name="measured-frame-rate-320x240" range="297-362" />
96            <Limit name="measured-frame-rate-720x480" range="280-350" />
97            <Limit name="measured-frame-rate-1280x720" range="176-260" />
98            <Limit name="measured-frame-rate-1920x1088" range="91-147" />
99        </MediaCodec>
100            <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
101            <Limit name="measured-frame-rate-352x288" range="309-377" />
102            <Limit name="measured-frame-rate-720x480" range="294-367" />
103            <Limit name="measured-frame-rate-1280x720" range="240-354" />
104            <Limit name="measured-frame-rate-1920x1080" range="153-247" />
105            <Limit name="measured-frame-rate-3840x2160" range="64-78" />
106        </MediaCodec>
107        <MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" update="true">
108            <Limit name="measured-frame-rate-176x144" range="356-356" />
109            <Limit name="measured-frame-rate-352x288" range="292-292" />
110        </MediaCodec>
111        <MediaCodec name="OMX.qti.video.decoder.mpeg4sw" type="video/mp4v-es" update="true">
112            <Limit name="measured-frame-rate-176x144" range="240-300" />
113            <Limit name="measured-frame-rate-480x360" range="163-246" />
114            <Limit name="measured-frame-rate-1280x720" range="118-190" />
115        </MediaCodec>
116        <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
117            <Limit name="measured-frame-rate-320x240" range="337-337" />
118            <Limit name="measured-frame-rate-640x360" range="337-337" />
119            <Limit name="measured-frame-rate-1280x720" range="337-337" />
120            <Limit name="measured-frame-rate-1920x1080" range="248-248" />
121        </MediaCodec>
122        <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
123            <Limit name="measured-frame-rate-320x240" range="377-377" />
124            <Limit name="measured-frame-rate-640x360" range="323-323" />
125            <Limit name="measured-frame-rate-1280x720" range="262-262" />
126            <Limit name="measured-frame-rate-1920x1080" range="220-220" />
127            <Limit name="measured-frame-rate-3840x2160" range="51-51" />
128        </MediaCodec>
129        <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
130            <Limit name="measured-frame-rate-320x240" range="122-122" />
131            <Limit name="measured-frame-rate-720x480" range="68-68" />
132            <Limit name="measured-frame-rate-1280x720" range="32-32" />
133            <Limit name="measured-frame-rate-1920x1080" range="6-10" />
134        </MediaCodec>
135        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
136            <Limit name="measured-frame-rate-176x144" range="104-279" />
137            <Limit name="measured-frame-rate-352x288" range="200-200" />
138        </MediaCodec>
139        <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
140            <Limit name="measured-frame-rate-352x288" range="170-170" />
141            <Limit name="measured-frame-rate-640x360" range="102-250" />
142            <Limit name="measured-frame-rate-720x480" range="160-230" />
143            <Limit name="measured-frame-rate-1280x720" range="70-80" />
144            <Limit name="measured-frame-rate-1920x1080" range="30-43" />
145        </MediaCodec>
146        <MediaCodec name="OMX.google.mpeg4.decoder" update="true">
147            <Type name="video/mp4v-es">
148                <Limit name="measured-frame-rate-176x144" range="430-450" />
149            </Type>
150        </MediaCodec>
151        <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
152            <Limit name="measured-frame-rate-320x240" range="330-381" />
153            <Limit name="measured-frame-rate-640x360" range="340-360" />
154            <Limit name="measured-frame-rate-1280x720" range="22-38" />
155            <Limit name="measured-frame-rate-1920x1080" range="23-34" />
156        </MediaCodec>
157        <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
158            <Limit name="measured-frame-rate-320x180" range="540-610" />
159            <Limit name="measured-frame-rate-320x240" range="200-230" />
160            <Limit name="measured-frame-rate-640x360" range="210-260" />
161            <Limit name="measured-frame-rate-1280x720" range="38-117" />
162            <Limit name="measured-frame-rate-1920x1080" range="19-23" />
163        </MediaCodec>
164        <MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
165            <Limit name="measured-frame-rate-320x240" range="108-155" />
166            <Limit name="measured-frame-rate-720x480" range="40-58" />
167            <Limit name="measured-frame-rate-1280x720" range="15-25" />
168            <Limit name="measured-frame-rate-1920x1080" range="11-14" />
169        </MediaCodec>
170        <MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
171            <Limit name="measured-frame-rate-352x288" range="283-420" />
172            <Limit name="measured-frame-rate-640x360" range="68-99" />
173            <Limit name="measured-frame-rate-720x480" range="57-95" />
174            <Limit name="measured-frame-rate-1280x720" range="54-68" />
175            <Limit name="measured-frame-rate-1920x1080" range="25-37" />
176        </MediaCodec>
177        <MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
178            <Limit name="measured-frame-rate-176x144" range="488-708" />
179            <Limit name="measured-frame-rate-352x288" range="379-631" />
180        </MediaCodec>
181        <MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
182            <Limit name="measured-frame-rate-176x144" range="403-671" />
183        </MediaCodec>
184        <MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
185            <Limit name="measured-frame-rate-320x180" range="441-556" />
186            <Limit name="measured-frame-rate-640x360" range="193-286" />
187            <Limit name="measured-frame-rate-1920x1080" range="15-25" />
188        </MediaCodec>
189        <MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
190            <Limit name="measured-frame-rate-320x180" range="388-489" />
191            <Limit name="measured-frame-rate-640x360" range="159-235" />
192            <Limit name="measured-frame-rate-1280x720" range="30-50" />
193            <Limit name="measured-frame-rate-1920x1080" range="25-32" />
194        </MediaCodec>
195    </Decoders>
196</MediaCodecs>
197