• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3    Copyright (c) 2018-2019 Qualcomm Technologies, Inc.
4    All Rights Reserved.
5    Confidential and Proprietary - Qualcomm Technologies, Inc.
6
7    Not a Contribution.
8
9    Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
10    Copyright (C) 2012-2013 The Android Open Source Project
11
12    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.
23-->
24
25<!--
26 7250 Non-Secure decoder capabilities
27 _________________________________________________________
28 | Codec       | W       H       fps     Mbps    MB/s    |
29 |_____________|_________________________________________|
30 | h264        | 4096    2160    60      120     2073600 |
31 |             | (4096)  (2304)  (30)    (120)           |
32 | hevc        | 4096    2160    60      120     2073600 |
33 |             | (4096)  (2304)  (30)    (120)           |
34 | vp8         | 4096    2160    30      120     1036800 |
35 |             | (4096)  (2304)  (24)    (120)           |
36 | vp9         | 4096    2160    60      120     2073600 |
37 |             | (4096)  (2304)  (30)    (120)           |
38 |_____________|_________________________________________|
39
40 7250 Secure decoder capabilities
41 ______________________________________________________
42 | Codec    | W       H       fps     Mbps    MB/s    |
43 |__________|_________________________________________|
44 | h264     | 4096    2160    60      40      2073600 |
45 |          | (4096)  (2304)  (30)    (40)            |
46 | vp9      | 4096    2160    60      40      2073600 |
47 |          | (4096)  (2304)  (30)    (40)            |
48 | hevc     | 4096    2160    60      40      2073600 |
49 |          | (4096)  (2304)  (30)    (40)            |
50 |__________|_________________________________________|
51
52 7250 Non-Secure encoder capabilities (Secure not supported)
53 ______________________________________________________
54 | Codec    | W       H       fps     Mbps    MB/s    |
55 |__________|_________________________________________|
56 | h264     | 4096    2160    60      120     2073600 |
57 |          | (4096)  (2304)  (30)    (120)           |
58 | hevc     | 4096    2160    60      120     2073600 |
59 |          | (4096)  (2304)  (30)    (120)           |
60 | vp8      | 4096    2160    30      120     1036800 |
61 |          | (4096)  (2304)  (24)    (120)           |
62 |__________|_________________________________________|
63-->
64
65<Included>
66    <Decoders>
67        <!-- C2 decoders -->
68        <MediaCodec name="c2.qti.avc.decoder" type="video/avc">
69            <Alias name="OMX.qcom.video.decoder.avc" />
70            <Limit name="size" min="96x96" max="4096x2160" />
71            <Limit name="alignment" value="2x2" />
72            <Limit name="block-size" value="16x16" />
73            <Limit name="blocks-per-second" range="24-2073600" />
74            <Limit name="bitrate" range="1-120000000" />
75            <Limit name="frame-rate" range="1-480" />
76            <Limit name="concurrent-instances" max="16" />
77            <Limit name="performance-point-4096x2160" value="24" />
78            <Limit name="performance-point-3840x2160" value="30" />
79            <Limit name="performance-point-1920x1080" value="120" />
80            <Limit name="performance-point-1280x720" value="240" />
81            <Feature name="adaptive-playback" />
82        </MediaCodec>
83        <MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
84            <Limit name="size" min="96x96" max="4096x2160" />
85            <Limit name="alignment" value="2x2" />
86            <Limit name="block-size" value="16x16" />
87            <Limit name="blocks-per-second" range="24-2073600" />
88            <Limit name="bitrate" range="1-60000000" />
89            <Limit name="frame-rate" range="1-480" />
90            <Limit name="performance-point-4096x2160" value="24" />
91            <Limit name="performance-point-3840x2160" value="30" />
92            <Limit name="performance-point-1920x1080" value="120" />
93            <Limit name="performance-point-1280x720" value="240" />
94            <Feature name="adaptive-playback" />
95            <Feature name="low-latency" />
96            <Limit name="concurrent-instances" max="16" />
97        </MediaCodec>
98        <MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
99            <Alias name="OMX.qcom.video.decoder.avc.secure" />
100            <Limit name="size" min="96x96" max="4096x2160" />
101            <Limit name="alignment" value="2x2" />
102            <Limit name="block-size" value="16x16" />
103            <Limit name="blocks-per-second" min="1" max="1958400" />
104            <Limit name="bitrate" range="1-40000000" />
105            <Limit name="frame-rate" range="1-240" />
106            <Limit name="performance-point-4096x2160" value="24" />
107            <Limit name="performance-point-3840x2160" value="30" />
108            <Limit name="performance-point-1920x1080" value="60" />
109            <Feature name="adaptive-playback" />
110            <Feature name="secure-playback" required="true" />
111            <Limit name="concurrent-instances" max="4" />
112        </MediaCodec>
113        <MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
114            <Alias name="OMX.qcom.video.decoder.hevc" />
115            <Limit name="size" min="96x96" max="4096x2160" />
116            <Limit name="alignment" value="2x2" />
117            <Limit name="block-size" value="16x16" />
118            <Limit name="blocks-per-second" min="24" max="2073600" />
119            <Limit name="bitrate" range="1-120000000" />
120            <Limit name="frame-rate" range="1-480" />
121            <Limit name="performance-point-4096x2160" value="24" />
122            <Limit name="performance-point-3840x2160" value="30" />
123            <Limit name="performance-point-1920x1080" value="120" />
124            <Limit name="performance-point-1280x720" value="240" />
125            <Feature name="adaptive-playback" />
126            <Limit name="concurrent-instances" max="16" />
127        </MediaCodec>
128        <MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
129            <Limit name="size" min="96x96" max="4096x2160" />
130            <Limit name="alignment" value="2x2" />
131            <Limit name="block-size" value="16x16" />
132            <Limit name="blocks-per-second" min="24" max="2073600" />
133            <Limit name="bitrate" range="1-60000000" />
134            <Limit name="frame-rate" range="1-480" />
135            <Limit name="performance-point-4096x2160" value="24" />
136            <Limit name="performance-point-3840x2160" value="30" />
137            <Limit name="performance-point-1920x1080" value="120" />
138            <Limit name="performance-point-1280x720" value="240" />
139            <Feature name="adaptive-playback" />
140            <Feature name="low-latency" />
141            <Limit name="concurrent-instances" max="16" />
142        </MediaCodec>
143        <MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
144            <Alias name="OMX.qcom.video.decoder.hevc.secure" />
145            <Limit name="size" min="96x96" max="4096x2160" />
146            <Limit name="alignment" value="2x2" />
147            <Limit name="block-size" value="16x16" />
148            <Limit name="blocks-per-second" min="24" max="2073600" />
149            <Limit name="bitrate" range="1-40000000" />
150            <Limit name="frame-rate" range="1-480" />
151            <Limit name="performance-point-4096x2160" value="24" />
152            <Limit name="performance-point-3840x2160" value="30" />
153            <Limit name="performance-point-1920x1080" value="60" />
154            <Feature name="adaptive-playback" />
155            <Feature name="secure-playback" required="true" />
156            <Limit name="concurrent-instances" max="4" />
157        </MediaCodec>
158        <MediaCodec name="c2.qti.vp8.decoder" type="video/x-vnd.on2.vp8" >
159            <Alias name="OMX.qcom.video.decoder.vp8" />
160            <Limit name="size" min="96x96" max="1920x1088" />
161            <Limit name="alignment" value="2x2" />
162            <Limit name="block-size" value="16x16" />
163            <Limit name="blocks-per-second" min="24" max="1036800" />
164            <Limit name="bitrate" range="1-120000000" />
165            <Limit name="frame-rate" range="1-240" />
166            <Limit name="performance-point-1920x1080" value="120" />
167            <Limit name="performance-point-1280x720" value="240" />
168            <Feature name="adaptive-playback" />
169            <Limit name="concurrent-instances" max="16" />
170        </MediaCodec>
171        <MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
172            <Alias name="OMX.qcom.video.decoder.vp9" />
173            <Limit name="size" min="96x96" max="4096x2160" />
174            <Limit name="alignment" value="2x2" />
175            <Limit name="block-size" value="16x16" />
176            <Limit name="blocks-per-second" min="24" max="2073600" />
177            <Limit name="bitrate" range="1-120000000" />
178            <Limit name="frame-rate" range="1-480" />
179            <Limit name="performance-point-4096x2304" value="24" />
180            <Limit name="performance-point-3840x2160" value="30" />
181            <Limit name="performance-point-1920x1080" value="120" />
182            <Limit name="performance-point-1280x720" value="240" />
183            <Feature name="adaptive-playback" />
184            <Limit name="concurrent-instances" max="7" />
185        </MediaCodec>
186        <MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
187            <Limit name="size" min="96x96" max="4096x2160" />
188            <Limit name="alignment" value="2x2" />
189            <Limit name="block-size" value="16x16" />
190            <Limit name="blocks-per-second" min="24" max="2073600" />
191            <Limit name="bitrate" range="1-40000000" />
192            <Limit name="frame-rate" range="1-480" />
193            <Limit name="performance-point-4096x2304" value="24" />
194            <Limit name="performance-point-3840x2160" value="30" />
195            <Limit name="performance-point-1920x1080" value="60" />
196            <Feature name="adaptive-playback" />
197            <Feature name="secure-playback" required="true" />
198            <Limit name="concurrent-instances" max="4" />
199        </MediaCodec>
200    </Decoders>
201
202    <Encoders>
203        <!-- C2 encoders -->
204        <MediaCodec name="c2.qti.avc.encoder" type="video/avc">
205            <Alias name="OMX.qcom.video.encoder.avc" />
206            <Limit name="size" min="96x96" max="4096x2160" />
207            <Limit name="alignment" value="2x2" />
208            <Limit name="block-size" value="16x16" />
209            <Limit name="blocks-per-second" min="24" max="2073600" />
210            <Limit name="bitrate" range="1-120000000" />
211            <Limit name="frame-rate" range="1-480" />
212            <Limit name="concurrent-instances" max="16" />
213            <Limit name="performance-point-4096x2160" value="24" />
214            <Limit name="performance-point-3840x2160" value="30" />
215            <Limit name="performance-point-1920x1080" value="120" />
216            <Limit name="performance-point-1280x720" value="240" />
217            <Feature name="bitrate-modes" value="VBR,CBR" />
218        </MediaCodec>
219        <MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
220            <Alias name="OMX.qcom.video.encoder.hevc" />
221            <Limit name="size" min="96x96" max="4096x2160" />
222            <Limit name="alignment" value="2x2" />
223            <Limit name="block-size" value="16x16" />
224            <Limit name="blocks-per-second" min="24" max="2073600" />
225            <Limit name="bitrate" range="1-120000000" />
226            <Limit name="frame-rate" range="1-480" />
227            <Limit name="concurrent-instances" max="16" />
228            <Limit name="quality" range="0-100" default="80" />
229            <Limit name="performance-point-4096x2160" value="24" />
230            <Limit name="performance-point-3840x2160" value="30" />
231            <Limit name="performance-point-1920x1080" value="120" />
232            <Limit name="performance-point-1280x720" value="240" />
233            <Feature name="bitrate-modes" value="VBR,CBR,CQ" />
234        </MediaCodec>
235        <MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
236            <Limit name="size" min="512x512" max="512x512" />
237            <Limit name="alignment" value="2x2" />
238            <Limit name="block-size" value="16x16" />
239            <Limit name="blocks-per-second" min="24" max="2073600" />
240            <Limit name="bitrate" range="1-160000000" />
241            <Limit name="frame-rate" range="1-20" />
242            <Limit name="concurrent-instances" max="16" />
243            <Limit name="quality" range="0-100" default="80" />
244            <Limit name="performance-point-512x512" value="480" />
245            <Feature name="bitrate-modes" value="CQ" />
246        </MediaCodec>
247        <MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
248            <Limit name="size" min="512x512" max="4096x2160" />
249            <Limit name="block-count" range="1024-138240" /> <!--max-spatial: 8192x4320 -->
250            <Limit name="alignment" value="2x2" />
251            <Limit name="block-size" value="16x16" />
252            <Limit name="blocks-per-second" min="24" max="2073600" />
253            <Limit name="frame-rate" range="1-20" />
254            <Limit name="concurrent-instances" max="6" />
255            <Limit name="quality" range="0-100" default="80" />
256            <Limit name="performance-point-4096x2160" value="12" />
257            <Limit name="performance-point-1920x1080" value="40" />
258            <Limit name="performance-point-1920x1080" value="30" />
259            <Limit name="performance-point-1280x720" value="80" />
260            <Limit name="performance-point-1280x720" value="60" />
261            <Limit name="performance-point-720x480" value="240" />
262            <Feature name="bitrate-modes" value="CQ" />
263        </MediaCodec>
264        <MediaCodec name="c2.qti.vp8.encoder" type="video/x-vnd.on2.vp8">
265            <Alias name="OMX.qcom.video.encoder.vp8" />
266            <Limit name="size" min="96x96" max="1920x1088" />
267            <Limit name="alignment" value="2x2" />
268            <Limit name="block-size" value="16x16" />
269            <Limit name="blocks-per-second" min="24" max="2073600" />
270            <Limit name="bitrate" range="1-120000000" />
271            <Limit name="frame-rate" range="1-480" />
272            <Limit name="concurrent-instances" max="16" />
273            <Limit name="performance-point-1920x1080" value="120" />
274            <Limit name="performance-point-1280x720" value="240" />
275            <Feature name="bitrate-modes" value="VBR,CBR" />
276        </MediaCodec>
277    </Encoders>
278</Included>
279