blob: 6646dc7b32bcbb027d5fa2fca0d12b2248be2861 [file] [log] [blame]
Michael Bestas25358082023-08-30 13:19:27 +03001<?xml version="1.0" encoding="utf-8" ?>
2<!--
3 Copyright (c) 2018-2021 Qualcomm Technologies, Inc.
4 All Rights Reserved.
5 Confidential and Proprietary - Qualcomm Technologies, Inc.
merothhf25a4a72022-01-02 21:45:42 +05306
Michael Bestas25358082023-08-30 13:19:27 +03007 Not a Contribution.
merothhf25a4a72022-01-02 21:45:42 +05308
Michael Bestas25358082023-08-30 13:19:27 +03009 Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
10 Copyright (C) 2012-2013 The Android Open Source Project
merothhf25a4a72022-01-02 21:45:42 +053011
Michael Bestas25358082023-08-30 13:19:27 +030012 Licensed under the Apache License, Version 2.0 (the "License");
13 you may not use this file except in compliance with the License.
14 You may obtain a copy of the License at
15
16 http://www.apache.org/licenses/LICENSE-2.0
17
18 Unless required by applicable law or agreed to in writing, software
19 distributed under the License is distributed on an "AS IS" BASIS,
20 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 See the License for the specific language governing permissions and
22 limitations under the License.
merothhf25a4a72022-01-02 21:45:42 +053023-->
24
25<!--
Michael Bestas25358082023-08-30 13:19:27 +030026"performance-point"
27 Vendor-guaranteed performance advertised to the applications
28 <Limit name="performance-point-widthxheight" value="fps" />
merothhf25a4a72022-01-02 21:45:42 +053029
Michael Bestas25358082023-08-30 13:19:27 +030030 -For each of the resolutions, the advertised fps is the max supported,
31 with HW-friendly color format and considering video-only.
32 -Performance for any intermediate resolution will be that of the
33 next-higher-advertised-resolution.
merothhf25a4a72022-01-02 21:45:42 +053034
Michael Bestas25358082023-08-30 13:19:27 +030035 standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
36 standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
37 * HD+ only
38 + SD only
39 - All supported standard performance points are listed (unless they are
40 covered by another listed standard performance point)
41 - Non-standard performance points are listed along with all the standard
42 performance points covered by them.
merothhf25a4a72022-01-02 21:45:42 +053043-->
Michael Bestas25358082023-08-30 13:19:27 +030044
merothhf25a4a72022-01-02 21:45:42 +053045<!--
Michael Bestas25358082023-08-30 13:19:27 +030046 Lahaina Non-Secure decoder capabilities
merothhf25a4a72022-01-02 21:45:42 +053047 (MB is defined as 16x16)
Michael Bestas25358082023-08-30 13:19:27 +030048 _______________________________________________________
merothhf25a4a72022-01-02 21:45:42 +053049 | Codec | W H fps Mbps MB/s |
50 |_____________|_______________________________________|
Michael Bestas25358082023-08-30 13:19:27 +030051 | h264 | 3840 2176 60 100 1958400 |
52 | | 4096 2176 48 100 |
53 | hevc | 3840 2176 60 100 1958400 |
54 | | 4096 2176 48 100 |
55 | vp9 | 3840 2176 60 100 1958400 |
56 | | 4096 2176 48 100 |
merothhf25a4a72022-01-02 21:45:42 +053057 | mpeg2 | 1920 1088 30 40 244800 |
58 |_____________|_______________________________________|
59
Michael Bestas25358082023-08-30 13:19:27 +030060 Lahaina Secure decoder capabilities
merothhf25a4a72022-01-02 21:45:42 +053061 (MB is defined as 16x16)
Michael Bestas25358082023-08-30 13:19:27 +030062 __________________________________________________
merothhf25a4a72022-01-02 21:45:42 +053063 | Codec | W H fps Mbps MB/s |
64 |__________|_____________________________________|
Michael Bestas25358082023-08-30 13:19:27 +030065 | h264 | 3840 2176 60 40 1958400 |
66 | | 4096 2176 48 40 |
67 | vp9 | 3840 2176 60 40 1958400 |
68 | | 4096 2176 48 40 |
69 | hevc | 3840 2176 60 40 1958400 |
70 | | 4096 2176 48 40 |
merothhf25a4a72022-01-02 21:45:42 +053071 |__________|_____________________________________|
72
Michael Bestas25358082023-08-30 13:19:27 +030073 Lahaina Non-Secure encoder capabilities (Secure not supported)
merothhf25a4a72022-01-02 21:45:42 +053074 (MB is defined as 16x16)
Michael Bestas25358082023-08-30 13:19:27 +030075 __________________________________________________
merothhf25a4a72022-01-02 21:45:42 +053076 | Codec | W H fps Mbps MB/s |
77 |__________|_____________________________________|
Michael Bestas25358082023-08-30 13:19:27 +030078 | h264 | 3840 2176 60 100 1958400 |
79 | | 4096 2176 48 100 |
80 | hevc | 3840 2176 60 100 1958400 |
81 | | 4096 2176 48 100 |
merothhf25a4a72022-01-02 21:45:42 +053082 |__________|_____________________________________|
83-->
84
85<MediaCodecs>
86 <Include href="media_codecs_google_audio.xml" />
Michael Bestas25358082023-08-30 13:19:27 +030087 <Include href="media_codecs_vendor_audio.xml" />
merothhf25a4a72022-01-02 21:45:42 +053088 <Include href="media_codecs_google_telephony.xml" />
Michael Bestas25358082023-08-30 13:19:27 +030089 <Include href="media_codecs_c2_audio.xml" />
merothhf25a4a72022-01-02 21:45:42 +053090 <Settings>
91 <Setting name="max-video-encoder-input-buffers" value="11" />
92 </Settings>
Michael Bestas25358082023-08-30 13:19:27 +030093 <Decoders>
94 <!-- C2 decoders -->
95 <MediaCodec name="c2.qti.avc.decoder" type="video/avc">
96 <Alias name="OMX.qcom.video.decoder.avc"/>
97 <Limit name="size" min="96x96" max="4096x2176" />
98 <Limit name="alignment" value="2x2" />
99 <Limit name="block-size" value="16x16" />
100 <Limit name="block-count" range="36-34816" />
101 <Limit name="blocks-per-second" range="36-1958400" />
102 <Limit name="bitrate" range="1-100000000" />
103 <Limit name="frame-rate" range="1-480" />
104 <Limit name="concurrent-instances" max="16" />
105 <Feature name="adaptive-playback" />
106 <Limit name="performance-point-4096x2304" value="30" />
107 <Limit name="performance-point-3840x2160" value="60" />
108 <Limit name="performance-point-1920x1080" value="240" />
109 <Limit name="performance-point-1280x720" value="480" />
110 </MediaCodec>
111 <MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
112 <Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
113 <Limit name="size" min="96x96" max="4096x2176" />
114 <Limit name="alignment" value="2x2" />
115 <Limit name="block-size" value="16x16" />
116 <Limit name="block-count" range="36-34816" />
117 <Limit name="blocks-per-second" range="36-1958400" />
118 <Limit name="bitrate" range="1-100000000" />
119 <Limit name="frame-rate" range="1-480" />
120 <Limit name="concurrent-instances" max="16" />
121 <Feature name="adaptive-playback" />
122 <Feature name="low-latency" />
123 <Limit name="concurrent-instances" max="16" />
124 <Limit name="performance-point-4096x2304" value="30" />
125 <Limit name="performance-point-3840x2160" value="60" />
126 <Limit name="performance-point-1920x1080" value="240" />
127 <Limit name="performance-point-1280x720" value="480" />
128 </MediaCodec>
129 <MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
130 <Alias name="OMX.qcom.video.decoder.avc.secure"/>
131 <Limit name="size" min="96x96" max="4096x2176" />
132 <Limit name="alignment" value="2x2" />
133 <Limit name="block-size" value="16x16" />
134 <Limit name="block-count" range="36-34816" />
135 <Limit name="blocks-per-second" min="36" max="1958400" />
136 <Limit name="bitrate" range="1-40000000" />
137 <Limit name="frame-rate" range="1-60" />
138 <Feature name="adaptive-playback" />
139 <Feature name="secure-playback" required="true" />
140 <Feature name="low-latency" />
141 <Limit name="concurrent-instances" max="3" />
142 <Limit name="performance-point-4096x2304" value="30" />
143 <Limit name="performance-point-3840x2160" value="60" />
144 </MediaCodec>
145 <MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
146 <Alias name="OMX.qcom.video.decoder.hevc"/>
147 <Limit name="size" min="96x96" max="4096x2176" />
148 <Limit name="alignment" value="2x2" />
149 <Limit name="block-size" value="16x16" />
150 <Limit name="block-count" range="36-34816" />
151 <Limit name="blocks-per-second" min="36" max="1958400" />
152 <Limit name="bitrate" range="1-100000000" />
153 <Limit name="frame-rate" range="1-480" />
154 <Feature name="adaptive-playback" />
155 <Limit name="concurrent-instances" max="16" />
156 <Limit name="performance-point-4096x2304" value="30" />
157 <Limit name="performance-point-3840x2160" value="60" />
158 <Limit name="performance-point-1920x1080" value="240" />
159 <Limit name="performance-point-1280x720" value="480" />
160 </MediaCodec>
161 <MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
162 <Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
163 <Limit name="size" min="96x96" max="4096x2176" />
164 <Limit name="alignment" value="2x2" />
165 <Limit name="block-size" value="16x16" />
166 <Limit name="block-count" range="36-34816" />
167 <Limit name="blocks-per-second" min="36" max="1958400" />
168 <Limit name="bitrate" range="1-100000000" />
169 <Limit name="frame-rate" range="1-480" />
170 <Feature name="adaptive-playback" />
171 <Feature name="low-latency" />
172 <Limit name="concurrent-instances" max="16" />
173 <Limit name="performance-point-4096x2304" value="30" />
174 <Limit name="performance-point-3840x2160" value="60" />
175 <Limit name="performance-point-1920x1080" value="240" />
176 <Limit name="performance-point-1280x720" value="480" />
177 </MediaCodec>
178 <MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
179 <Alias name="OMX.qcom.video.decoder.hevc.secure"/>
180 <Limit name="size" min="96x96" max="4096x2176" />
181 <Limit name="alignment" value="2x2" />
182 <Limit name="block-size" value="16x16" />
183 <Limit name="block-count" range="36-34816" />
184 <Limit name="blocks-per-second" min="36" max="1958400" />
185 <Limit name="bitrate" range="1-40000000" />
186 <Limit name="frame-rate" range="1-60" />
187 <Feature name="adaptive-playback" />
188 <Feature name="secure-playback" required="true" />
189 <Feature name="low-latency" />
190 <Limit name="concurrent-instances" max="3" />
191 <Limit name="performance-point-4096x2304" value="30" />
192 <Limit name="performance-point-3840x2160" value="60" />
193 </MediaCodec>
194 <MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
195 <Alias name="OMX.qcom.video.decoder.vp9"/>
196 <Limit name="size" min="96x96" max="4096x2176" />
197 <Limit name="alignment" value="2x2" />
198 <Limit name="block-size" value="16x16" />
199 <Limit name="block-count" range="36-34816" />
200 <Limit name="blocks-per-second" min="36" max="1958400" />
201 <Limit name="bitrate" range="1-100000000" />
202 <Limit name="frame-rate" range="1-60" />
203 <Feature name="adaptive-playback" />
204 <Limit name="concurrent-instances" max="3" />
205 <Limit name="performance-point-4096x2304" value="30" />
206 <Limit name="performance-point-3840x2160" value="60" />
207 </MediaCodec>
208 <MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
209 <Alias name="OMX.qcom.video.decoder.vp9.secure"/>
210 <Limit name="size" min="96x96" max="4096x2176" />
211 <Limit name="alignment" value="2x2" />
212 <Limit name="block-size" value="16x16" />
213 <Limit name="block-count" range="36-34816" />
214 <Limit name="blocks-per-second" min="36" max="1958400" />
215 <Limit name="bitrate" range="1-40000000" />
216 <Limit name="frame-rate" range="1-60" />
217 <Feature name="adaptive-playback" />
218 <Feature name="secure-playback" required="true" />
219 <Limit name="concurrent-instances" max="3" />
220 <Limit name="performance-point-4096x2304" value="30" />
221 <Limit name="performance-point-3840x2160" value="60" />
222 </MediaCodec>
223 <MediaCodec name="c2.qti.mpeg2.decoder" type="video/mpeg2" >
224 <Alias name="OMX.qcom.video.decoder.mpeg2"/>
225 <Limit name="size" min="96x96" max="1920x1088" />
226 <Limit name="alignment" value="2x2" />
227 <Limit name="block-size" value="16x16" />
228 <Limit name="block-count" range="36-8160" />
229 <Limit name="blocks-per-second" min="36" max="244800" />
230 <Limit name="bitrate" range="1-40000000" />
231 <Limit name="frame-rate" range="1-30" />
232 <Feature name="adaptive-playback" />
233 <Limit name="concurrent-instances" max="16" />
234 <Limit name="performance-point-1920x1080" value="30" />
235 </MediaCodec>
236 </Decoders>
merothhf25a4a72022-01-02 21:45:42 +0530237 <Encoders>
Michael Bestas25358082023-08-30 13:19:27 +0300238 <!-- C2 encoders -->
239 <MediaCodec name="c2.qti.avc.encoder" type="video/avc">
240 <Alias name="OMX.qcom.video.encoder.avc"/>
merothhf25a4a72022-01-02 21:45:42 +0530241 <Limit name="size" min="128x128" max="4096x2176" />
242 <Limit name="alignment" value="2x2" />
243 <Limit name="block-size" value="16x16" />
Michael Bestas25358082023-08-30 13:19:27 +0300244 <Limit name="blocks-per-second" min="64" max="1958400" />
245 <Limit name="block-count" range="64-34816" />
merothhf25a4a72022-01-02 21:45:42 +0530246 <Limit name="bitrate" range="1-100000000" />
Michael Bestas25358082023-08-30 13:19:27 +0300247 <Limit name="frame-rate" range="1-480" />
248 <Limit name="complexity" range="0-100" default="100" />
merothhf25a4a72022-01-02 21:45:42 +0530249 <Limit name="concurrent-instances" max="16" />
merothhf25a4a72022-01-02 21:45:42 +0530250 <Feature name="bitrate-modes" value="VBR,CBR" />
Michael Bestas25358082023-08-30 13:19:27 +0300251 <Limit name="performance-point-4096x2304" value="30" />
252 <Limit name="performance-point-3840x2160" value="60" />
253 <Limit name="performance-point-1920x1080" value="240" />
254 <Limit name="performance-point-1280x720" value="480" />
merothhf25a4a72022-01-02 21:45:42 +0530255 </MediaCodec>
Michael Bestas25358082023-08-30 13:19:27 +0300256 <MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
257 <Alias name="OMX.qcom.video.encoder.hevc"/>
258 <Limit name="size" min="128x128" max="4096x2176" />
259 <Limit name="alignment" value="2x2" />
260 <Limit name="block-size" value="16x16" />
261 <Limit name="blocks-per-second" min="64" max="1958400" />
262 <Limit name="block-count" range="64-34816" />
263 <Limit name="bitrate" range="1-100000000" />
264 <Limit name="frame-rate" range="1-480" />
265 <Limit name="complexity" range="0-100" default="100" />
266 <Limit name="concurrent-instances" max="16" />
267 <Feature name="bitrate-modes" value="VBR,CBR" />
268 <Limit name="performance-point-4096x2304" value="30" />
269 <Limit name="performance-point-3840x2160" value="60" />
270 <Limit name="performance-point-1920x1080" value="240" />
271 <Limit name="performance-point-1280x720" value="480" />
272 </MediaCodec>
273 <MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
274 <Alias name="OMX.qcom.video.encoder.hevc.cq"/>
merothhf25a4a72022-01-02 21:45:42 +0530275 <Limit name="size" min="128x128" max="512x512" />
Michael Bestas25358082023-08-30 13:19:27 +0300276 <Limit name="alignment" value="2x2" />
277 <Limit name="block-size" value="16x16" />
278 <Limit name="blocks-per-second" min="64" max="20480" />
279 <Limit name="bitrate" range="1-160000000" />
merothhf25a4a72022-01-02 21:45:42 +0530280 <Limit name="frame-rate" range="1-20" />
Michael Bestas25358082023-08-30 13:19:27 +0300281 <Limit name="complexity" range="0-100" default="100" />
merothhf25a4a72022-01-02 21:45:42 +0530282 <Limit name="concurrent-instances" max="16" />
283 <Limit name="quality" range="0-100" default="80" />
284 <Feature name="bitrate-modes" value="CQ" />
285 <Limit name="performance-point-512x512" value="2025" />
286 </MediaCodec>
Michael Bestas25358082023-08-30 13:19:27 +0300287 <MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
288 <Alias name="OMX.qcom.video.encoder.heic"/>
289 <Limit name="size" min="512x512" max="16384x16384" />
290 <Limit name="alignment" value="2x2" />
291 <Limit name="block-size" value="16x16" />
292 <Limit name="blocks-per-second" min="64" max="3916800" />
293 <Limit name="bitrate" range="1-160000000" />
merothhf25a4a72022-01-02 21:45:42 +0530294 <Limit name="frame-rate" range="1-20" />
Michael Bestas25358082023-08-30 13:19:27 +0300295 <Limit name="complexity" range="0-100" default="100" />
296 <Limit name="concurrent-instances" max="16" />
merothhf25a4a72022-01-02 21:45:42 +0530297 <Limit name="quality" range="0-100" default="80" />
298 <Feature name="bitrate-modes" value="CQ" />
Michael Bestas25358082023-08-30 13:19:27 +0300299 <Limit name="performance-point-16384x8192" value="3" />
merothhf25a4a72022-01-02 21:45:42 +0530300 <Limit name="performance-point-1920x1080" value="6" />
301 </MediaCodec>
merothhf25a4a72022-01-02 21:45:42 +0530302 </Encoders>
Michael Bestas25358082023-08-30 13:19:27 +0300303 <Include href="media_codecs_google_c2.xml" />
merothhf25a4a72022-01-02 21:45:42 +0530304</MediaCodecs>