Add documentation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
755
docs/research/tv-dump/media_codecs-mt5896.xml
Normal file
755
docs/research/tv-dump/media_codecs-mt5896.xml
Normal file
@@ -0,0 +1,755 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright (C) 2012 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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!DOCTYPE MediaCodecs [
|
||||
<!ELEMENT MediaCodecs (Decoders,Encoders)>
|
||||
<!ELEMENT Decoders (MediaCodec*)>
|
||||
<!ELEMENT Encoders (MediaCodec*)>
|
||||
<!ELEMENT MediaCodec (Type*,Quirk*)>
|
||||
<!ATTLIST MediaCodec name CDATA #REQUIRED>
|
||||
<!ATTLIST MediaCodec type CDATA>
|
||||
<!ELEMENT Type EMPTY>
|
||||
<!ATTLIST Type name CDATA #REQUIRED>
|
||||
<!ELEMENT Quirk EMPTY>
|
||||
<!ATTLIST Quirk name CDATA #REQUIRED>
|
||||
]>
|
||||
|
||||
There's a simple and a complex syntax to declare the availability of a
|
||||
media codec:
|
||||
|
||||
A codec that properly follows the OpenMax spec and therefore doesn't have any
|
||||
quirks and that only supports a single content type can be declared like so:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" type="something/interesting" />
|
||||
|
||||
If a codec has quirks OR supports multiple content types, the following syntax
|
||||
can be used:
|
||||
|
||||
<MediaCodec name="OMX.foo.bar" >
|
||||
<Type name="something/interesting" />
|
||||
<Type name="something/else" />
|
||||
...
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Quirk name="output-buffers-are-unreadable" />
|
||||
</MediaCodec>
|
||||
|
||||
Only the three quirks included above are recognized at this point:
|
||||
|
||||
"requires-allocate-on-input-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of input buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"requires-allocate-on-output-ports"
|
||||
must be advertised if the component does not properly support specification
|
||||
of output buffers using the OMX_UseBuffer(...) API but instead requires
|
||||
OMX_AllocateBuffer to be used.
|
||||
|
||||
"output-buffers-are-unreadable"
|
||||
must be advertised if the emitted output buffers of a decoder component
|
||||
are not readable, i.e. use a custom format even though abusing one of
|
||||
the official OMX colorspace constants.
|
||||
Clients of such decoders will not be able to access the decoded data,
|
||||
naturally making the component much less useful. The only use for
|
||||
a component with this quirk is to render the output to the screen.
|
||||
Audio decoders MUST NOT advertise this quirk.
|
||||
Video decoders that advertise this quirk must be accompanied by a
|
||||
corresponding color space converter for thumbnail extraction,
|
||||
matching surfaceflinger support that can render the custom format to
|
||||
a texture and possibly other code, so just DON'T USE THIS QUIRK.
|
||||
|
||||
-->
|
||||
|
||||
<MediaCodecs>
|
||||
<Settings>
|
||||
<Setting name="max-video-encoder-input-buffers" value="1" />
|
||||
<Setting name="supports-multiple-secure-codecs" value="true" />
|
||||
<Setting name="supports-secure-with-non-secure-codec" value="true" />
|
||||
</Settings>
|
||||
|
||||
<Decoders>
|
||||
<MediaCodec name="c2.mtk.atv.decoder" type="tv/atv" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.hdmi.decoder" type="tv/hdmi" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.component.decoder" type="tv/component" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.composite.decoder" type="tv/composite" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-7680x4320" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.avc.decoder.secure" type="video/avc" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-7680x4320" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.hevc.decoder" type="video/hevc" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-7680x4320" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.hevc.decoder.secure" type="video/hevc" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-7680x4320" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.shvc.decoder" type="video/vnd.shvc" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.shvc.decoder.secure" type="video/vnd.shvc" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.mpeg4.decoder" type="video/mp4v-es" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="16x16" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.h263.decoder" type="video/3gpp" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="16x16" max="1408x1152" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1280x720" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.mpeg2.decoder" type="video/mpeg2" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="16x16" max="1920x1088" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.mpeg2.decoder.secure" type="video/mpeg2" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="16x16" max="1920x1088" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.vp8.decoder" type="video/x-vnd.on2.vp8" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="128x128" max="1920x1088" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.vp9.decoder" type="video/x-vnd.on2.vp9" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-7680x4320" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="30" />
|
||||
<Limit name="performance-point-7680x4320" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.av1.decoder" type="video/av01" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-7680x4320" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.av1.decoder.secure" type="video/av01" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="64x64" max="7680x4320" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-7680x4320" value="60" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.mjpeg.decoder" type="video/x-motion-jpeg" >
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="size" min="8x8" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.vc1.decoder" type="video/VC1" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="32x32" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.flv.decoder" type="video/flv" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="16x16" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.avs.decoder" type="video/avs" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.avs2.decoder" type="video/avs2" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2160" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.wmv3.decoder" type="video/x-ms-wmv" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="32x32" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.rv.decoder" type="video/vnd.rn-realvideo" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="32x32" max="1920x1088" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
</MediaCodec>
|
||||
<!--
|
||||
<MediaCodec name="c2.mtk.dvav.per.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav.per.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav.pen.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav.pen.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.der.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.der.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.den.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.den.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.dtr.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.dtr.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.stn.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.stn.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.dth.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.dth.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.dtb.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.dtb.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.st.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvhe.st.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav.se.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav.se.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav1.10.decoder" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dvav1.10.decoder.secure" type="video/dolby-vision" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="64x64" max="4096x2176" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="tunneled-playback" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="performance-point-3840x2160" value="60" />
|
||||
<Limit name="performance-point-4096x2176" value="60" />
|
||||
</MediaCodec>
|
||||
-->
|
||||
<MediaCodec name="c2.mtk.hdmi.capture" type="audio/vnd.hdmicap">
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
<Limit name="bitrate" range="8000-960000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.atv.capture" type="audio/vnd.atvcap">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.analog.capture" type="audio/vnd.analogcap">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.ac3.decoder">
|
||||
<Type name="audio/ac3">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/eac3">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/eac3-joc">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.dts.decoder">
|
||||
<Type name="audio/vnd.dts">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/vnd.dts.hd">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/vnd.dts.hd;profile=lbr">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/vnd.dts.uhd;profile=p2">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.adts.decoder">
|
||||
<Type name="audio/aac-adts">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/mp4a-latm-hw">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.mpeg.decoder">
|
||||
<Type name="audio/mpeg-L1">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/mpeg-L2">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.wma.decoder">
|
||||
<Type name="audio/x-ms-wmapro">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
<Type name="audio/x-ms-wma">
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</Type>
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.adpcmima.decoder" type="audio/x-adpcm-dvi-ima" >
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.adpcmms.decoder" type="audio/x-adpcm-ms" >
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.cook.decoder" type="audio/vnd.rn-realaudio" >
|
||||
<Limit name="channel-count" max="2" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.heif.decoder" type="image/vnd.android.heic" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="16383x16383" />
|
||||
<Limit name="blocks-per-second" min="1" max="2088960" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.jpeg.decoder" type="image/jpeg" >
|
||||
<Limit name="concurrent-instances" max="1" />
|
||||
<Limit name="alignment" value="32x16" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="8x8" max="16383x16383" />
|
||||
<Limit name="blocks-per-second" min="1" max="2088960" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.mtk.frame.filter" type="image/vnd.android.filter" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="size" min="64x64" max="16383x16383" />
|
||||
<Limit name="blocks-per-second" min="1" max="2088960" />
|
||||
<Limit name="performance-point-1920x1088" value="30" />
|
||||
</MediaCodec>
|
||||
|
||||
<MediaCodec name="OMX.MS.MP1.Decoder" >
|
||||
<Type name="audio/mpeg-L1">
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
|
||||
<MediaCodec name="OMX.MS.MP2.Decoder" >
|
||||
<Type name="audio/mpeg-L2">
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
|
||||
<MediaCodec name="OMX.MS.MP3.Decoder" >
|
||||
<Type name="audio/mpeg">
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
|
||||
<MediaCodec name="OMX.MS.AAC.Decoder" type="audio/mp4a-latm-hw" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.VORBIS.Decoder" type="audio/vorbis" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.ADPCM.Decoder">
|
||||
<Type name="audio/adpcm" />
|
||||
<Type name="audio/x-adpcm-ms" />
|
||||
<Type name="audio/x-adpcm-ima" />
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.LPCM.Decoder" type="audio/lpcm" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.RA.Decoder" type="audio/vnd.rn-realaudio" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.WMA.Decoder" >
|
||||
<Type name="audio/x-ms-wma" />
|
||||
<Type name="audio/x-ms-wmapro" />
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.AC3.Decoder" >
|
||||
<Type name="audio/ac3">
|
||||
<Limit name="channel-count" max="6" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
<Type name="audio/eac3">
|
||||
<Limit name="channel-count" max="6" />
|
||||
<Limit name="sample-rate" ranges="8000-48000" />
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
<Type name="audio/ac3p">
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
</Type>
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.DTS.Decoder" >
|
||||
<Type name="audio/dts" />
|
||||
<Type name="audio/dts-hd" />
|
||||
<Type name="audio/dts-lbr" />
|
||||
<Type name="audio/vnd.dts" />
|
||||
<Type name="audio/vnd.dts.hd" />
|
||||
<Type name="audio/vnd.dts.hd;profile=lbr" />
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.DRA.Decoder" type="audio/dra" >
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="OMX.MS.FLAC.Decoder" type="audio/flac" >
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
</MediaCodec>
|
||||
|
||||
</Decoders>
|
||||
<Encoders>
|
||||
<MediaCodec name="c2.mtk.avc.encoder" type="video/avc">
|
||||
<Limit name="concurrent-instances" max="2" />
|
||||
<Limit name="size" min="176x144" max="1920x1088" />
|
||||
<!--<Limit name="aspect-ratio" in="blocks" range="11:9-16:9" />-->
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<Limit name="bitrate" range="102400-28000000" />
|
||||
<!--<Quirk name="kAvoidMemcopyInputRecordingFrames" />-->
|
||||
<Quirk name="requires-allocate-on-input-ports" />
|
||||
<Quirk name="requires-allocate-on-output-ports" />
|
||||
<Limit name="performance-point-1920x1088" value="60" />
|
||||
<Limit name="blocks-per-second" range="1-489600" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
</MediaCodec>
|
||||
</Encoders>
|
||||
</MediaCodecs>
|
||||
Reference in New Issue
Block a user