media_codecs.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--
  3. Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
  4. All Rights Reserved.
  5. Confidential and Proprietary - Qualcomm Technologies, Inc.
  6. Not a Contribution.
  7. Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
  8. Copyright (C) 2012-2013 The Android Open Source Project
  9. Licensed under the Apache License, Version 2.0 (the "License");
  10. you may not use this file except in compliance with the License.
  11. You may obtain a copy of the License at
  12. http://www.apache.org/licenses/LICENSE-2.0
  13. Unless required by applicable law or agreed to in writing, software
  14. distributed under the License is distributed on an "AS IS" BASIS,
  15. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. See the License for the specific language governing permissions and
  17. limitations under the License.
  18. -->
  19. <!--
  20. "performance-point"
  21. Vendor-guaranteed performance advertised to the applications
  22. <Limit name="performance-point-widthxheight" value="fps" />
  23. -For each of the resolutions, the advertised fps is the max supported,
  24. with HW-friendly color format and considering video-only.
  25. -Performance for any intermediate resolution will be that of the
  26. next-higher-advertised-resolution.
  27. standard sizes: 480p/576p (SD), 720p (HD), 1080p (FHD), 2160p (UHD)
  28. standard frame rates: 24, 25, 30, 48+, 50, 60, 100*, 120*, 200*, 240* fps
  29. * HD+ only
  30. + SD only
  31. - All supported standard performance points are listed (unless they are
  32. covered by another listed standard performance point)
  33. - Non-standard performance points are listed along with all the standard
  34. performance points covered by them.
  35. - Mbps calculation: As macro block size given is 16x16 = 256
  36. Formula to calculate mbps: ((W*H)/256)*fps
  37. i.e. Size 3840x2160 with frame rate 120, ((3840*2160)/256)* 120 = 3888000
  38. -->
  39. <!--
  40. Non-Secure decoder capabilities
  41. (MB is defined as 16x16)
  42. _____________________________________________________________________
  43. | Codec | W H fps Mbps MB/s Max MB/s|
  44. |_____________|_____________________________________________________|
  45. | h264 | 1920 1088 480 220 3916800 7776000 |
  46. | | 3820 2160 240 220 7735500 |
  47. | | 4096 2160 120 220 4147200 |
  48. | | 7680 4320 60 220 7776000 |
  49. | hevc | 1920 1088 480 160 3916800 7776000 |
  50. | | 3820 2160 240 160 7735500 |
  51. | | 4096 2160 120 160 4147200 |
  52. | | 7680 4320 60 160 7776000 |
  53. | vp9 | 1280 720 200 100 720000 7776000 |
  54. | | 1920 1088 120 100 979200 |
  55. | | 3840 2160 60 100 1944000 |
  56. | | 4096 2160 60 100 2073600 |
  57. | | 7680 4320 60 100 7776000 |
  58. | av1 | 1920 1088 480 160 3916800 7776000 |
  59. | | 3820 2160 240 160 7735500 |
  60. | | 4096 2160 120 160 4147200 |
  61. | | 7680 4320 60 160 7776000 |
  62. |_____________|_____________________________________________________|
  63. Secure decoder capabilities
  64. (MB is defined as 16x16)
  65. __________________________________________________________________
  66. | Codec | W H fps Mbps MB/s Max MB/s|
  67. |__________|_____________________________________________________|
  68. | h264 | 1280 720 60 40 216000 2073600 |
  69. | | 1920 1088 60 40 489600 |
  70. | | 3840 2160 60 40 1944000 |
  71. | | 4096 2160 60 40 2073600 |
  72. | | 4096 2304 30 40 1105920 |
  73. | hevc | 1280 720 60 40 216000 2073600 |
  74. | | 1920 1088 60 40 489600 |
  75. | | 3840 2160 60 40 1944000 |
  76. | | 4096 2160 60 40 2073600 |
  77. | | 4096 2304 30 40 1105920 |
  78. | vp9 | 1280 720 60 40 216000 2073600 |
  79. | | 1920 1088 60 40 489600 |
  80. | | 3840 2160 60 40 1944000 |
  81. | | 4096 2160 60 40 2073600 |
  82. | | 4096 2304 30 40 1105920 |
  83. | av1 | 1280 720 60 40 216000 2073600 |
  84. | | 1920 1088 60 40 489600 |
  85. | | 3840 2160 60 40 1944000 |
  86. | | 4096 2160 60 40 2073600 |
  87. | | 4096 2304 30 40 1105920 |
  88. |__________|_____________________________________________________|
  89. Non-Secure encoder capabilities (Secure not supported)
  90. (MB is defined as 16x16)
  91. __________________________________________________________________
  92. | Codec | W H fps Mbps MB/s Max MB/s|
  93. |__________|_____________________________________________________|
  94. | h264 | 1280 720 480 220 1728000 3916800 |
  95. | | 1920 1088 480 220 3916800 |
  96. | | 3840 2160 120 220 3888000 |
  97. | | 4096 2160 60 220 2073600 |
  98. | | 8192 4320 24 220 3317760 |
  99. | hevc | 1280 720 480 160 1728000 3916800 |
  100. | | 1920 1088 480 160 3916800 |
  101. | | 3840 2160 120 160 3888000 |
  102. | | 4096 2160 60 160 2073600 |
  103. | | 8192 4320 24 160 3317760 |
  104. |__________|_____________________________________________________|
  105. -->
  106. <MediaCodecs>
  107. <Include href="media_codecs_c2_audio.xml" />
  108. <Settings>
  109. <Setting name="max-video-encoder-input-buffers" value="11" />
  110. </Settings>
  111. <Decoders>
  112. <!-- C2 decoders -->
  113. <MediaCodec name="c2.qti.avc.decoder" type="video/avc">
  114. <Alias name="OMX.qcom.video.decoder.avc"/>
  115. <Limit name="size" min="96x96" max="8192x8192" />
  116. <Limit name="alignment" value="2x2" />
  117. <Limit name="block-size" value="16x16" />
  118. <Limit name="block-count" range="36-138240" />
  119. <Limit name="blocks-per-second" range="36-7776000" />
  120. <Limit name="bitrate" range="1-220000000" />
  121. <Limit name="frame-rate" range="1-480" />
  122. <Limit name="concurrent-instances" max="16" />
  123. <Feature name="adaptive-playback" />
  124. <Limit name="performance-point-1920x1080" value="480" />
  125. <Limit name="performance-point-3840x2160" value="240" />
  126. <Limit name="performance-point-4096x2160" value="120" />
  127. <Limit name="performance-point-7680x4320" value="60" />
  128. <Limit name="performance-point-8192x4320" value="48" />
  129. </MediaCodec>
  130. <MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc">
  131. <Alias name="OMX.qcom.video.decoder.avc.low_latency"/>
  132. <Limit name="size" min="96x96" max="8192x8192" />
  133. <Limit name="alignment" value="2x2" />
  134. <Limit name="block-size" value="16x16" />
  135. <Limit name="block-count" range="36-138240" />
  136. <Limit name="blocks-per-second" range="36-3916800" />
  137. <Limit name="bitrate" range="1-70000000" />
  138. <Limit name="frame-rate" range="1-480" />
  139. <Limit name="concurrent-instances" max="16" />
  140. <Feature name="adaptive-playback" />
  141. <Feature name="low-latency" />
  142. <Limit name="performance-point-1280x720" value="480" />
  143. <Limit name="performance-point-1920x1080" value="240" />
  144. <Limit name="performance-point-3840x2160" value="120" />
  145. <Limit name="performance-point-4096x2160" value="120" />
  146. <Limit name="performance-point-7680x4320" value="30" />
  147. <Limit name="performance-point-8192x4320" value="15" />
  148. </MediaCodec>
  149. <MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" >
  150. <Alias name="OMX.qcom.video.decoder.avc.secure"/>
  151. <Limit name="size" min="96x96" max="4096x4096" />
  152. <Limit name="alignment" value="2x2" />
  153. <Limit name="block-size" value="16x16" />
  154. <Limit name="block-count" range="36-34560" />
  155. <Limit name="blocks-per-second" min="36" max="4147200" />
  156. <Limit name="bitrate" range="1-40000000" />
  157. <Limit name="frame-rate" range="1-120" />
  158. <Feature name="adaptive-playback" />
  159. <Feature name="secure-playback" required="true" />
  160. <Feature name="low-latency" />
  161. <Limit name="concurrent-instances" max="3" />
  162. <Limit name="performance-point-3840x2160" value="120" />
  163. <Limit name="performance-point-4096x2304" value="120" />
  164. </MediaCodec>
  165. <MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
  166. <Alias name="OMX.qcom.video.decoder.hevc"/>
  167. <Limit name="size" min="96x96" max="8192x8192" />
  168. <Limit name="alignment" value="2x2" />
  169. <Limit name="block-size" value="16x16" />
  170. <Limit name="block-count" range="36-138240" />
  171. <Limit name="blocks-per-second" min="36" max="7776000" />
  172. <Limit name="bitrate" range="1-160000000" />
  173. <Limit name="frame-rate" range="1-480" />
  174. <Feature name="adaptive-playback" />
  175. <Limit name="concurrent-instances" max="16" />
  176. <Limit name="performance-point-1920x1080" value="480" />
  177. <Limit name="performance-point-3840x2160" value="240" />
  178. <Limit name="performance-point-4096x2160" value="120" />
  179. <Limit name="performance-point-7680x4320" value="60" />
  180. <Limit name="performance-point-8192x4320" value="48" />
  181. </MediaCodec>
  182. <MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" >
  183. <Alias name="OMX.qcom.video.decoder.hevc.low_latency"/>
  184. <Limit name="size" min="96x96" max="8192x8192" />
  185. <Limit name="alignment" value="2x2" />
  186. <Limit name="block-size" value="16x16" />
  187. <Limit name="block-count" range="36-138240" />
  188. <Limit name="blocks-per-second" min="36" max="3916800" />
  189. <Limit name="bitrate" range="1-70000000" />
  190. <Limit name="frame-rate" range="1-480" />
  191. <Feature name="adaptive-playback" />
  192. <Feature name="low-latency" />
  193. <Limit name="concurrent-instances" max="16" />
  194. <Limit name="performance-point-1280x720" value="480" />
  195. <Limit name="performance-point-1920x1080" value="240" />
  196. <Limit name="performance-point-3840x2160" value="120" />
  197. <Limit name="performance-point-4096x2160" value="120" />
  198. <Limit name="performance-point-7680x4320" value="30" />
  199. <Limit name="performance-point-8192x4320" value="15" />
  200. </MediaCodec>
  201. <MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" >
  202. <Alias name="OMX.qcom.video.decoder.hevc.secure"/>
  203. <Limit name="size" min="96x96" max="4096x4096" />
  204. <Limit name="alignment" value="2x2" />
  205. <Limit name="block-size" value="16x16" />
  206. <Limit name="block-count" range="36-34560" />
  207. <Limit name="blocks-per-second" min="36" max="4147200" />
  208. <Limit name="bitrate" range="1-40000000" />
  209. <Limit name="frame-rate" range="1-120" />
  210. <Feature name="adaptive-playback" />
  211. <Feature name="secure-playback" required="true" />
  212. <Feature name="low-latency" />
  213. <Limit name="concurrent-instances" max="3" />
  214. <Limit name="performance-point-3840x2160" value="120" />
  215. <Limit name="performance-point-4096x2304" value="120" />
  216. </MediaCodec>
  217. <MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" >
  218. <Alias name="OMX.qcom.video.decoder.vp9"/>
  219. <Limit name="size" min="96x96" max="4096x4096" />
  220. <Limit name="alignment" value="1x1" />
  221. <Limit name="block-size" value="16x16" />
  222. <Limit name="block-count" range="36-36864" />
  223. <Limit name="blocks-per-second" min="36" max="2211840" />
  224. <Limit name="bitrate" range="1-100000000" />
  225. <Limit name="frame-rate" range="1-120" />
  226. <Feature name="adaptive-playback" />
  227. <Limit name="concurrent-instances" max="6" />
  228. <Limit name="performance-point-1920x1080" value="200" />
  229. <Limit name="performance-point-3840x2160" value="120" />
  230. <Limit name="performance-point-4096x2304" value="120" />
  231. </MediaCodec>
  232. <MediaCodec name="c2.qti.vp9.decoder.low_latency" type="video/x-vnd.on2.vp9" >
  233. <Alias name="OMX.qcom.video.decoder.vp9.low_latency"/>
  234. <Limit name="size" min="96x96" max="4096x4096" />
  235. <Limit name="alignment" value="1x1" />
  236. <Limit name="block-size" value="16x16" />
  237. <Limit name="block-count" range="36-36864" />
  238. <Limit name="blocks-per-second" min="36" max="2211840" />
  239. <Limit name="bitrate" range="1-30000000" />
  240. <Limit name="frame-rate" range="1-120" />
  241. <Feature name="adaptive-playback" />
  242. <Feature name="low-latency" />
  243. <Limit name="concurrent-instances" max="6" />
  244. <Limit name="performance-point-1920x1080" value="200" />
  245. <Limit name="performance-point-3840x2160" value="120" />
  246. <Limit name="performance-point-4096x2304" value="120" />
  247. </MediaCodec>
  248. <MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
  249. <Alias name="OMX.qcom.video.decoder.vp9.secure"/>
  250. <Limit name="size" min="96x96" max="4096x4096" />
  251. <Limit name="alignment" value="1x1" />
  252. <Limit name="block-size" value="16x16" />
  253. <Limit name="block-count" range="36-36864" />
  254. <Limit name="blocks-per-second" min="36" max="4147200" />
  255. <Limit name="bitrate" range="1-40000000" />
  256. <Limit name="frame-rate" range="1-120" />
  257. <Feature name="adaptive-playback" />
  258. <Feature name="secure-playback" required="true" />
  259. <Feature name="low-latency" />
  260. <Limit name="concurrent-instances" max="3" />
  261. <Limit name="performance-point-3840x2160" value="120" />
  262. <Limit name="performance-point-4096x2304" value="120" />
  263. </MediaCodec>
  264. <MediaCodec name="c2.qti.av1.decoder" type="video/av01" >
  265. <Limit name="size" min="96x96" max="8192x8192" />
  266. <Limit name="alignment" value="1x1" />
  267. <Limit name="block-size" value="16x16" />
  268. <Limit name="block-count" range="36-138240" />
  269. <Limit name="blocks-per-second" min="36" max="7776000" />
  270. <Limit name="bitrate" range="1-160000000" />
  271. <Limit name="frame-rate" range="1-480" />
  272. <Feature name="adaptive-playback" />
  273. <Limit name="concurrent-instances" max="16" />
  274. <Limit name="performance-point-1920x1080" value="480" />
  275. <Limit name="performance-point-3840x2160" value="240" />
  276. <Limit name="performance-point-4096x2160" value="120" />
  277. <Limit name="performance-point-7680x4320" value="60" />
  278. <Limit name="performance-point-8192x4320" value="48" />
  279. </MediaCodec>
  280. <MediaCodec name="c2.qti.av1.decoder.low_latency" type="video/av01" >
  281. <Limit name="size" min="96x96" max="8192x8192" />
  282. <Limit name="alignment" value="1x1" />
  283. <Limit name="block-size" value="16x16" />
  284. <Limit name="block-count" range="36-138240" />
  285. <Limit name="blocks-per-second" min="36" max="3916800" />
  286. <Limit name="bitrate" range="1-70000000" />
  287. <Limit name="frame-rate" range="1-480" />
  288. <Feature name="adaptive-playback" />
  289. <Feature name="low-latency" />
  290. <Limit name="concurrent-instances" max="16" />
  291. <Limit name="performance-point-1280x720" value="480" />
  292. <Limit name="performance-point-1920x1080" value="240" />
  293. <Limit name="performance-point-3840x2160" value="120" />
  294. <Limit name="performance-point-4096x2160" value="120" />
  295. <Limit name="performance-point-7680x4320" value="30" />
  296. <Limit name="performance-point-8192x4320" value="15" />
  297. </MediaCodec>
  298. <MediaCodec name="c2.qti.av1.decoder.secure" type="video/av01" >
  299. <Limit name="size" min="96x96" max="4096x4096" />
  300. <Limit name="alignment" value="1x1" />
  301. <Limit name="block-size" value="16x16" />
  302. <Limit name="block-count" range="36-34560" />
  303. <Limit name="blocks-per-second" min="36" max="4147200" />
  304. <Limit name="bitrate" range="1-40000000" />
  305. <Limit name="frame-rate" range="1-120" />
  306. <Feature name="adaptive-playback" />
  307. <Feature name="secure-playback" required="true" />
  308. <Feature name="low-latency" />
  309. <Limit name="concurrent-instances" max="3" />
  310. <Limit name="performance-point-3840x2160" value="120" />
  311. <Limit name="performance-point-4096x2304" value="120" />
  312. </MediaCodec>
  313. <!--
  314. <MediaCodec name="c2.qti.dv.decoder" type="video/dolby-vision" >
  315. <Limit name="size" min="96x96" max="8192x8192" />
  316. <Limit name="alignment" value="2x2" />
  317. <Limit name="block-size" value="16x16" />
  318. <Limit name="block-count" range="36-138240" />
  319. <Limit name="blocks-per-second" min="36" max="7776000" />
  320. <Limit name="bitrate" range="1-160000000" />
  321. <Limit name="frame-rate" range="1-480" />
  322. <Feature name="adaptive-playback" />
  323. <Limit name="concurrent-instances" max="16" />
  324. <Limit name="performance-point-1280x720" value="480" />
  325. <Limit name="performance-point-1920x1080" value="480" />
  326. <Limit name="performance-point-3840x2160" value="240" />
  327. <Limit name="performance-point-4096x2160" value="120" />
  328. <Limit name="performance-point-7680x4320" value="60" />
  329. <Limit name="performance-point-8192x4320" value="48" />
  330. </MediaCodec>
  331. <MediaCodec name="c2.qti.dv.decoder.secure" type="video/dolby-vision" >
  332. <Limit name="size" min="96x96" max="4096x4096" />
  333. <Limit name="alignment" value="2x2" />
  334. <Limit name="block-size" value="16x16" />
  335. <Limit name="block-count" range="36-34560" />
  336. <Limit name="blocks-per-second" min="36" max="4147200" />
  337. <Limit name="bitrate" range="1-40000000" />
  338. <Limit name="frame-rate" range="1-120" />
  339. <Feature name="adaptive-playback" />
  340. <Feature name="secure-playback" required="true" />
  341. <Feature name="low-latency" />
  342. <Limit name="concurrent-instances" max="3" />
  343. <Limit name="performance-point-3840x2160" value="120" />
  344. <Limit name="performance-point-4096x2304" value="120" />
  345. </MediaCodec>
  346. -->
  347. </Decoders>
  348. <Encoders>
  349. <!-- C2 encoders -->
  350. <MediaCodec name="c2.qti.avc.encoder" type="video/avc">
  351. <Alias name="OMX.qcom.video.encoder.avc"/>
  352. <Limit name="size" min="128x128" max="8192x8192" />
  353. <Limit name="alignment" value="2x2" />
  354. <Limit name="block-size" value="16x16" />
  355. <Limit name="blocks-per-second" min="64" max="3916800" />
  356. <Limit name="block-count" range="64-138240" />
  357. <Limit name="bitrate" range="1-220000000" />
  358. <Limit name="frame-rate" range="1-480" />
  359. <Limit name="complexity" range="0-100" default="100" />
  360. <Limit name="concurrent-instances" max="16" />
  361. <Feature name="bitrate-modes" value="VBR,CBR" />
  362. <Feature name="intra-refresh" />
  363. <Feature name="encoding-statistics" />
  364. <Feature name="video-minimum-quality" />
  365. <Limit name="performance-point-1920x1080" value="480" />
  366. <Limit name="performance-point-1920x1080" value="240" />
  367. <Limit name="performance-point-3840x2160" value="120" />
  368. <Limit name="performance-point-7680x4320" value="30" />
  369. </MediaCodec>
  370. <MediaCodec name="c2.qti.avc.encoder.secure" type="wfd/avc">
  371. <Alias name="OMX.qcom.video.encoder.avc.secure"/>
  372. <Limit name="size" min="128x128" max="8192x8192" />
  373. <Limit name="alignment" value="2x2" />
  374. <Limit name="block-size" value="16x16" />
  375. <Limit name="blocks-per-second" min="64" max="3916800" />
  376. <Limit name="block-count" range="64-138240" />
  377. <Limit name="bitrate" range="1-220000000" />
  378. <Limit name="frame-rate" range="1-480" />
  379. <Limit name="complexity" range="0-100" default="100" />
  380. <Limit name="concurrent-instances" max="16" />
  381. <Feature name="bitrate-modes" value="VBR,CBR" />
  382. <Feature name="intra-refresh" />
  383. <Feature name="encoding-statistics" />
  384. <Feature name="video-minimum-quality" />
  385. <Limit name="performance-point-1920x1080" value="480" />
  386. <Limit name="performance-point-1920x1080" value="240" />
  387. <Limit name="performance-point-3840x2160" value="120" />
  388. <Limit name="performance-point-7680x4320" value="30" />
  389. </MediaCodec>
  390. <MediaCodec name="c2.qti.hevc.encoder" type="video/hevc">
  391. <Alias name="OMX.qcom.video.encoder.hevc"/>
  392. <Limit name="size" min="96x96" max="8192x8192" />
  393. <Limit name="alignment" value="2x2" />
  394. <Limit name="block-size" value="16x16" />
  395. <Limit name="blocks-per-second" min="64" max="3916800" />
  396. <Limit name="block-count" range="36-138240" />
  397. <Limit name="bitrate" range="1-160000000" />
  398. <Limit name="frame-rate" range="1-480" />
  399. <Limit name="complexity" range="0-100" default="100" />
  400. <Limit name="concurrent-instances" max="16" />
  401. <Feature name="bitrate-modes" value="VBR,CBR" />
  402. <Feature name="intra-refresh" />
  403. <Feature name="encoding-statistics" />
  404. <Feature name="video-minimum-quality" />
  405. <Limit name="performance-point-1920x1080" value="480" />
  406. <Limit name="performance-point-1920x1080" value="240" />
  407. <Limit name="performance-point-3840x2160" value="120" />
  408. <Limit name="performance-point-7680x4320" value="30" />
  409. </MediaCodec>
  410. <MediaCodec name="c2.qti.hevc.encoder.secure" type="wfd/hevc">
  411. <Alias name="OMX.qcom.video.encoder.hevc.secure"/>
  412. <Limit name="size" min="96x96" max="8192x8192" />
  413. <Limit name="alignment" value="2x2" />
  414. <Limit name="block-size" value="16x16" />
  415. <Limit name="blocks-per-second" min="64" max="3916800" />
  416. <Limit name="block-count" range="36-138240" />
  417. <Limit name="bitrate" range="1-160000000" />
  418. <Limit name="frame-rate" range="1-480" />
  419. <Limit name="complexity" range="0-100" default="100" />
  420. <Limit name="concurrent-instances" max="16" />
  421. <Feature name="bitrate-modes" value="VBR,CBR" />
  422. <Feature name="intra-refresh" />
  423. <Feature name="encoding-statistics" />
  424. <Feature name="video-minimum-quality" />
  425. <Limit name="performance-point-1920x1080" value="480" />
  426. <Limit name="performance-point-1920x1080" value="240" />
  427. <Limit name="performance-point-3840x2160" value="120" />
  428. <Limit name="performance-point-7680x4320" value="30" />
  429. </MediaCodec>
  430. <MediaCodec name="c2.qti.hevc.encoder.hdr" type="video/hevc">
  431. <Limit name="size" min="128x128" max="4096x2176" />
  432. <Limit name="alignment" value="2x2" />
  433. <Limit name="block-size" value="16x16" />
  434. <Limit name="blocks-per-second" min="64" max="1958400" />
  435. <Limit name="block-count" range="36-34816" />
  436. <Limit name="bitrate" range="1-160000000" />
  437. <Limit name="frame-rate" range="1-480" />
  438. <Limit name="complexity" range="0-100" default="100" />
  439. <Limit name="concurrent-instances" max="16" />
  440. <Feature name="bitrate-modes" value="VBR,CBR" />
  441. <Feature name="intra-refresh" />
  442. <Feature name="hdr-editing" />
  443. <Feature name="encoding-statistics" />
  444. <Feature name="video-minimum-quality" />
  445. <Limit name="performance-point-1920x1080" value="480" />
  446. <Limit name="performance-point-1920x1080" value="240" />
  447. <Limit name="performance-point-3840x2160" value="120" />
  448. </MediaCodec>
  449. <MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc">
  450. <Alias name="OMX.qcom.video.encoder.hevc.cq"/>
  451. <Limit name="size" min="128x128" max="512x512" />
  452. <Limit name="alignment" value="2x2" />
  453. <Limit name="block-size" value="16x16" />
  454. <Limit name="blocks-per-second" min="64" max="3916800" />
  455. <Limit name="bitrate" range="1-160000000" />
  456. <Limit name="frame-rate" range="1-480" />
  457. <Limit name="concurrent-instances" max="16" />
  458. <Limit name="quality" range="0-100" default="80" />
  459. <Feature name="bitrate-modes" value="CQ" />
  460. <Limit name="performance-point-512x512" value="3825" />
  461. </MediaCodec>
  462. <MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
  463. <Alias name="OMX.qcom.video.encoder.heic"/>
  464. <Limit name="size" min="512x512" max="16384x16384" />
  465. <Limit name="alignment" value="2x2" />
  466. <Limit name="block-size" value="16x16" />
  467. <Limit name="blocks-per-second" min="64" max="3916800" />
  468. <Limit name="bitrate" range="1-160000000" />
  469. <Limit name="frame-rate" range="1-20" />
  470. <Limit name="concurrent-instances" max="16" />
  471. <Limit name="quality" range="0-100" default="80" />
  472. <Feature name="bitrate-modes" value="CQ" />
  473. <Limit name="performance-point-16384x8192" value="3" />
  474. <Limit name="performance-point-1920x1080" value="6" />
  475. </MediaCodec>
  476. <!--
  477. <MediaCodec name="c2.qti.dv.encoder" type="video/dolby-vision">
  478. <Limit name="size" min="96x96" max="8192x8192" />
  479. <Limit name="alignment" value="2x2" />
  480. <Limit name="block-size" value="16x16" />
  481. <Limit name="blocks-per-second" min="64" max="3916800" />
  482. <Limit name="block-count" range="36-138240" />
  483. <Limit name="bitrate" range="1-160000000" />
  484. <Limit name="frame-rate" range="1-480" />
  485. <Limit name="complexity" range="0-100" default="100" />
  486. <Limit name="concurrent-instances" max="16" />
  487. <Feature name="bitrate-modes" value="VBR,CBR" />
  488. <Feature name="intra-refresh" />
  489. <Feature name="encoding-statistics" />
  490. <Feature name="video-minimum-quality" />
  491. <Limit name="performance-point-1280x720" value="480" />
  492. <Limit name="performance-point-1920x1080" value="480" />
  493. <Limit name="performance-point-1920x1080" value="240" />
  494. <Limit name="performance-point-3840x2160" value="120" />
  495. <Limit name="performance-point-7680x4320" value="30" />
  496. </MediaCodec>
  497. -->
  498. </Encoders>
  499. </MediaCodecs>