clover: media: move device unrelated media configs to common
This commit is contained in:
parent
ca56485ac6
commit
44689a3729
3 changed files with 0 additions and 530 deletions
|
@ -52,9 +52,6 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(DEVICE_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
|
||||||
$(DEVICE_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
|
|
||||||
$(DEVICE_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
||||||
$(DEVICE_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
$(DEVICE_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
||||||
|
|
||||||
# Permissions
|
# Permissions
|
||||||
|
|
|
@ -1,381 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!-- Copyright (C) 2012-2018 The Linux Foundation. All rights reserved.
|
|
||||||
Not a contribution.
|
|
||||||
|
|
||||||
Copyright (C) 2012-2013 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<!DOCTYPE MediaCodecs [
|
|
||||||
<!ELEMENT Include EMPTY>
|
|
||||||
<!ATTLIST Include href CDATA #REQUIRED>
|
|
||||||
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
|
|
||||||
<!ELEMENT Decoders (MediaCodec|Include)*>
|
|
||||||
<!ELEMENT Encoders (MediaCodec|Include)*>
|
|
||||||
<!ELEMENT MediaCodec (Type|Quirk|Include)*>
|
|
||||||
<!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.
|
|
||||||
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Non secure decoder capabilities for sdm660
|
|
||||||
__________ _________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| hevc | 3840 2160 30 100 972000 |
|
|
||||||
| h264 | 3840 2160 30 100 972000 |
|
|
||||||
| h263 | 864 480 30 2 48600 |
|
|
||||||
| mpeg4 | 1920 1088 60 60 489600 |
|
|
||||||
| mpeg2 | 1920 1088 30 40 244800 |
|
|
||||||
| vc1 | 1920 1088 60 60 489600 |
|
|
||||||
| vp8 | 3840 2160 30 100 972000 |
|
|
||||||
| vp9 | 3840 2160 30 100 972000 |
|
|
||||||
| divx3 | 720 480 30 2 40500 |
|
|
||||||
| div4/5/6 | 1920 1088 30 10 244800 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
|
|
||||||
sdm660 secure decoder capabilities
|
|
||||||
______________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| h264 | 3840 2160 30 35 972000 |
|
|
||||||
| hevc | 3840 2160 30 35 972000 |
|
|
||||||
| VP9 | 3840 2160 30 35 979200 |
|
|
||||||
| vc1 | 1920 1088 30 20 489600 |
|
|
||||||
| mpeg2 | 1920 1088 30 20 244800 |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Encoder capabilities for sdm660
|
|
||||||
____________________________________________________
|
|
||||||
| Codec | W H fps Mbps MB/s |
|
|
||||||
|__________|_________________________________________|
|
|
||||||
| hevc | 3840 2160 30 100 972000 |
|
|
||||||
| h264 | 3840 2160 30 100 972000 |
|
|
||||||
| h263 | 864 480 30 2 48600 |
|
|
||||||
| mpeg4 | 1920 1088 30 40 244800 |
|
|
||||||
| vp8 | 1920 1088 30 40 244800 |
|
|
||||||
|____________________________________________________|
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Include href="media_codecs_google_audio.xml" />
|
|
||||||
<Include href="media_codecs_google_telephony.xml" />
|
|
||||||
<Settings>
|
|
||||||
<Setting name="max-video-encoder-input-buffers" value="11" />
|
|
||||||
</Settings>
|
|
||||||
<Encoders>
|
|
||||||
<!-- Video Hardware -->
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
|
||||||
<Limit name="size" min="176x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
|
||||||
<Limit name="size" min="96x96" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
<Feature name="can-swap-width-height" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
|
||||||
<Limit name="size" min="96x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
|
||||||
<Limit name="size" min="96x64" max="864x480" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="48600" />
|
|
||||||
<Limit name="bitrate" range="1-2000000" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Quirk name="requires-loaded-to-idle-after-allocation" />
|
|
||||||
<Limit name="size" min="96x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="intra-refresh" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
<Decoders>
|
|
||||||
<!-- Video Hardware -->
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
<Feature name="can-swap-width-height" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-40000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-20000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="864x480" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="48600" />
|
|
||||||
<Limit name="bitrate" range="1-2000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-60000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vc1.secure" type="video/x-ms-wmv" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="489600" />
|
|
||||||
<Limit name="bitrate" range="1-20000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="7" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-10000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.divx311" type="video/divx311" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="720x480" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="40500" />
|
|
||||||
<Limit name="bitrate" range="1-2000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.divx4" type="video/divx4" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="1920x1088" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="244800" />
|
|
||||||
<Limit name="bitrate" range="1-10000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="979200" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Limit name="frame-rate" range="1-30" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-100000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Limit name="concurrent-instances" max="16" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
|
|
||||||
<Quirk name="requires-allocate-on-input-ports" />
|
|
||||||
<Quirk name="requires-allocate-on-output-ports" />
|
|
||||||
<Limit name="size" min="64x64" max="3840x2160" />
|
|
||||||
<Limit name="alignment" value="2x2" />
|
|
||||||
<Limit name="block-size" value="16x16" />
|
|
||||||
<Limit name="blocks-per-second" min="1" max="972000" />
|
|
||||||
<Limit name="bitrate" range="1-35000000" />
|
|
||||||
<Feature name="adaptive-playback" />
|
|
||||||
<Feature name="secure-playback" required="true" />
|
|
||||||
<Limit name="concurrent-instances" max="6" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
<Include href="media_codecs_google_video.xml" />
|
|
||||||
</MediaCodecs>
|
|
|
@ -1,146 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!-- Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
|
|
||||||
|
|
||||||
Not a Contribution.
|
|
||||||
|
|
||||||
Copyright 2015 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<MediaCodecs>
|
|
||||||
<Encoders>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="294-294" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="80-90" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="32-37" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="40-40" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="226-226" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="121-121" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="49-49" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="16-45" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="6-24" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="400-400" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="261-261" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="351-351" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="263-263" />
|
|
||||||
<Limit name="measured-frame-rate-640x480" range="144-144" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="312-312" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="175-174" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="30-40" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-25" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="185-185" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="87-87" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="45-45" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="28-28" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="354-354" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="385-385" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="100-120" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="45-50" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="30-35" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.vp9.encoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x180" range="140-180" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="45-60" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="12-15" />
|
|
||||||
</MediaCodec>
|
|
||||||
</Encoders>
|
|
||||||
<Decoders>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="409-409" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="239-239" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="197-197" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="88-88" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="434-434" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="338-338" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="241-241" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1088" range="90-100" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="30-40" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="400-400" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="323-323" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="635-650" />
|
|
||||||
<Limit name="measured-frame-rate-480x360" range="295-302" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="430-430" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="303-303" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="389-389" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="199-199" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="250-270" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="230-250" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="190-210" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="170-190" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="48-48" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="320-350" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="100-130" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="50-58" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="20-30" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="458-458" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="210-215" />
|
|
||||||
<Limit name="measured-frame-rate-720x480" range="120-125" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="70-85" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="24-26" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="190-210" />
|
|
||||||
<Limit name="measured-frame-rate-352x288" range="170-182" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="575-580" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="200-220" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="45-55" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="18-22" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
|
|
||||||
<Limit name="measured-frame-rate-320x240" range="580-604" />
|
|
||||||
<Limit name="measured-frame-rate-640x360" range="180-185" />
|
|
||||||
<Limit name="measured-frame-rate-1280x720" range="88-92" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="47-52" />
|
|
||||||
</MediaCodec>
|
|
||||||
<MediaCodec name="OMX.google.mpeg4.decoder" update="true">
|
|
||||||
<Type name="video/mp4v-es">
|
|
||||||
<Limit name="measured-frame-rate-176x144" range="380-400" />
|
|
||||||
</Type>
|
|
||||||
</MediaCodec>
|
|
||||||
</Decoders>
|
|
||||||
</MediaCodecs>
|
|
||||||
|
|
Loading…
Reference in a new issue