-
Notifications
You must be signed in to change notification settings - Fork 0
/
media_codecs_performance_c2.xml
231 lines (221 loc) · 14.5 KB
/
media_codecs_performance_c2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2019 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
Not a Contribution.
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
Copyright (C) 2012-2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<MediaCodecs>
<Decoders>
<!-- C2 HW decoders -->
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="1164-1164" /> <!-- N=50 v96%=1.1 -->
<!-- measured 90%:780-807 med:784 N=12 -->
<Limit name="measured-frame-rate-720x480" range="784-793" /> <!-- v90%=1.0 -->
<!-- measured 90%:377-382 med:380 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="379-380" /> <!-- v90%=1.0 -->
<!-- measured 90%:180-181 med:180 N=19 -->
<Limit name="measured-frame-rate-1920x1080" range="180-180" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
<!-- measured 90%:1259-1417 med:1314 N=12 -->
<Limit name="measured-frame-rate-352x288" range="1314-1336" /> <!-- v90%=1.1 -->
<!-- measured 90%:1036-1107 med:1081 N=12 -->
<Limit name="measured-frame-rate-640x360" range="1071-1071" /> <!-- v90%=1.0 -->
<!-- measured 90%:948-976 med:962 N=12 -->
<Limit name="measured-frame-rate-720x480" range="961-962" /> <!-- v90%=1.0 -->
<!-- measured 90%:485-497 med:492 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="491-491" /> <!-- v90%=1.0 -->
<!-- measured 90%:383-391 med:388 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="387-387" /> <!-- v90%=1.0 -->
<!-- measured 90%:107-108 med:107 N=12 -->
<Limit name="measured-frame-rate-3840x2160" range="107-107" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.qti.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
<!-- measured 90%:1179-1262 med:1220 N=12 -->
<Limit name="measured-frame-rate-320x180" range="1219-1219" /> <!-- v90%=1.0 -->
<!-- measured 90%:1016-1045 med:1030 N=12 -->
<Limit name="measured-frame-rate-640x360" range="1029-1030" /> <!-- v90%=1.0 -->
<!-- measured 90%:384-391 med:388 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="387-388" /> <!-- v90%=1.0 -->
<!-- measured 90%:175-176 med:176 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="175-176" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<!-- measured 90%:1012-1079 med:1038 N=12 -->
<Limit name="measured-frame-rate-320x180" range="1038-1045" /> <!-- v90%=1.0 -->
<!-- measured 90%:771-810 med:794 N=12 -->
<Limit name="measured-frame-rate-640x360" range="790-790" /> <!-- v90%=1.0 -->
<!-- measured 90%:363-373 med:368 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="368-368" /> <!-- v90%=1.0 -->
<!-- measured 90%:270-274 med:272 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="271-272" /> <!-- v90%=1.0 -->
<!-- measured 90%:70-72 med:71 N=12 -->
<Limit name="measured-frame-rate-3840x2160" range="71-71" /> <!-- v90%=1.0 -->
</MediaCodec>
<!-- C2 HW decoders with OMX aliases -->
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="101-221" />
<Limit name="measured-frame-rate-720x480" range="720-740" />
<Limit name="measured-frame-rate-1280x720" range="200-420" />
<Limit name="measured-frame-rate-1920x1088" range="76-167" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="800-850" />
<Limit name="measured-frame-rate-720x480" range="440-600" />
<Limit name="measured-frame-rate-1280x720" range="215-425" />
<Limit name="measured-frame-rate-1920x1080" range="118-259" />
<Limit name="measured-frame-rate-3840x2160" range="30-66" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x240" range="800-900" />
<Limit name="measured-frame-rate-640x360" range="700-750" />
<Limit name="measured-frame-rate-1280x720" range="131-289" />
<Limit name="measured-frame-rate-1920x1080" range="83-183" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x240" range="800-900" />
<Limit name="measured-frame-rate-640x360" range="700-800" />
<Limit name="measured-frame-rate-1280x720" range="94-207" />
<Limit name="measured-frame-rate-1920x1080" range="87-190" />
<Limit name="measured-frame-rate-3840x2160" range="20-44" />
</MediaCodec>
<!-- C2 SW codecs -->
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
<!-- measured 98%:153-414 med:193/192 FLAKY(mn=61.7 < 96 - 414 < mx=423.7) -->
<Limit name="measured-frame-rate-320x240" range="486-504" /> <!-- N=50 v96%=1.3 -->
<!-- measured 90%:126-134 med:129 N=12 -->
<Limit name="measured-frame-rate-720x480" range="128-130" /> <!-- v90%=1.0 -->
<!-- measured 90%:47-51 med:49 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="48-49" /> <!-- v90%=1.0 -->
<!-- measured 90%:21-24 med:22 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="22-22" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
<!-- measured 90%:433-542 med:469 N=12 -->
<Limit name="measured-frame-rate-352x288" range="469-485" /> <!-- v90%=1.1 -->
<!-- measured 90%:255-296 med:268 N=12 -->
<Limit name="measured-frame-rate-640x360" range="267-275" /> <!-- v90%=1.1 -->
<!-- measured 90%:231-266 med:249 N=12 -->
<Limit name="measured-frame-rate-720x480" range="248-248" /> <!-- v90%=1.1 -->
<!-- measured 90%:100-109 med:104 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="103-105" /> <!-- v90%=1.0 -->
<!-- measured 90%:56-60 med:58 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="57-58" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
<!-- measured 90%:799-924 med:815 N=12 -->
<Limit name="measured-frame-rate-320x180" range="814-859" /> <!-- v90%=1.1 -->
<!-- measured 90%:338-379 med:345 N=12 -->
<Limit name="measured-frame-rate-640x360" range="344-358" /> <!-- v90%=1.1 -->
<Limit name="measured-frame-rate-1280x720" range="88-92" /> <!-- N=50 v90%=1.1 -->
<!-- measured 90%:35-40 med:36 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="35-37" /> <!-- v90%=1.1 -->
</MediaCodec>
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<!-- measured 90%:621-650 med:634 N=12 -->
<Limit name="measured-frame-rate-320x180" range="633-635" /> <!-- v90%=1.0 -->
<!-- measured 90%:225-231 med:228 N=12 -->
<Limit name="measured-frame-rate-640x360" range="228-228" /> <!-- v90%=1.0 -->
<!-- measured 90%:91-94 med:93 N=12 -->
<Limit name="measured-frame-rate-1280x720" range="92-93" /> <!-- v90%=1.0 -->
<!-- measured 90%:56-58 med:57 N=12 -->
<Limit name="measured-frame-rate-1920x1080" range="57-57" /> <!-- v90%=1.0 -->
</MediaCodec>
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
<!-- measured 90%:1219-1704 med:1479 N=12 -->
<Limit name="measured-frame-rate-176x144" range="1441-1441" /> <!-- v90%=1.2 -->
<!-- measured 96%:889-1227 med:922 SLOW -->
<Limit name="measured-frame-rate-352x288" range="921-1045" /> <!-- N=50 v96%=1.2 -->
</MediaCodec>
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
<!-- measured 90%:1298-1653 med:1316 SLOW N=12 -->
<Limit name="measured-frame-rate-176x144" range="1315-1465" /> <!-- v90%=1.1 -->
</MediaCodec>
</Decoders>
<Encoders>
<!-- C2 HW encoders -->
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="106-234" />
<Limit name="measured-frame-rate-720x480" range="64-140" />
<Limit name="measured-frame-rate-1280x720" range="26-56" />
<Limit name="measured-frame-rate-1920x1080" range="20-44" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="309-310" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-720x480" range="124-126" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-1280x720" range="93-124" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-1920x1080" range="82-87" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-3840x2160" range="11-25" /><!-- Manual N=20 -->
</MediaCodec>
<MediaCodec name="c2.qti.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="429-461" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-640x360" range="200-201" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-1280x720" range="102-121" /><!-- Manual N=20 -->
<Limit name="measured-frame-rate-1920x1080" range="18-41" /><!-- Manual N=20 -->
</MediaCodec>
<!-- C2 HW encoders with OMX aliases -->
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="106-234" />
<Limit name="measured-frame-rate-720x480" range="64-140" />
<Limit name="measured-frame-rate-1280x720" range="26-56" />
<Limit name="measured-frame-rate-1920x1080" range="20-44" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="126-278" />
<Limit name="measured-frame-rate-720x480" range="48-106" />
<Limit name="measured-frame-rate-1280x720" range="19-41" />
<Limit name="measured-frame-rate-1920x1080" range="17-37" />
<Limit name="measured-frame-rate-3840x2160" range="11-25" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="107-236" />
<Limit name="measured-frame-rate-640x360" range="67-147" />
<Limit name="measured-frame-rate-1280x720" range="21-46" />
<Limit name="measured-frame-rate-1920x1080" range="18-41" />
</MediaCodec>
<!-- C2 SW encoders -->
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
<!-- measured 95%:144-637 med:343/343 FLAKY(mn=40.8 < 144 - 808 < mx=916.6) variance:2.1 -->
<Limit name="measured-frame-rate-176x144" range="287-459" /> <!-- TWEAKED N=224 -->
</MediaCodec>
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="287-326" /> <!-- Manual N=20 -->
<Limit name="measured-frame-rate-720x480" range="122-124" /> <!-- Manual N=20 -->
<Limit name="measured-frame-rate-1280x720" range="76-80" /> <!-- Manual N=20 -->
<Limit name="measured-frame-rate-1920x1080" range="44-49" /> <!-- Manual N=20 -->
</MediaCodec>
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="47-60" /> <!-- Manual N=20 -->
</MediaCodec>
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
<!-- measured 90%:29-451 med:208/206 FLAKY(mn=19.2 < 47 - 412 < mx=888.9) RG.VARIANCE:2.5 -->
<Limit name="measured-frame-rate-176x144" range="203-445" /> <!-- SHOULDN'T HAVE TWEAKED N=220 v90%=4.0 -->
</MediaCodec>
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="178-245" /> <!-- Manual N=20 -->
<Limit name="measured-frame-rate-640x360" range="100-126" /> <!-- Manual N=20 -->
<Limit name="measured-frame-rate-1280x720" range="35-37" /> <!-- Manual N=20 -->
<Limit name="measured-frame-rate-1920x1080" range="24-31" /> <!-- Manual N=20 -->
</MediaCodec>
<MediaCodec name="c2.android.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
<!-- measured 93%:99-156 med:109/109 N=24 -->
<Limit name="measured-frame-rate-320x180" range="109-109" /> <!-- v93%=1.3 -->
<!-- measured 95%:54-67 med:61/61 N=36 -->
<Limit name="measured-frame-rate-640x360" range="61-61" /> <!-- v95%=1.1 -->
<!-- measured 95%:16-26 med:20/20 N=32 -->
<Limit name="measured-frame-rate-1280x720" range="20-20" /> <!-- v95%=1.3 -->
</MediaCodec>
</Encoders>
</MediaCodecs>