123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?xml version="1.0" encoding="utf-8" ?>
- <!--
- Copyright (C) 2021 The Linux Foundation. All rights reserved
- Not a Contribution
- Copyright (C) 2014 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.
- -->
- <Included>
- <Decoders>
- <!-- C2 audio decoders -->
- <MediaCodec name="c2.qti.alac.sw.decoder" type="audio/alac" rank="0">
- <Limit name="channel-count" max="8" />
- <Limit name="sample-rate" ranges="8000-192000" />
- <Limit name="bitrate" range="1-100000000" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.ape.sw.decoder" type="audio/x-ape" rank="0">
- <Limit name="channel-count" max="2" />
- <Limit name="sample-rate" ranges="8000-192000" />
- <Limit name="bitrate" range="1-100000000" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.evrc.sw.decoder" type="audio/evrc" rank="0">
- <Limit name="channel-count" max="1" />
- <Limit name="sample-rate" ranges="8000" />
- <Limit name="bitrate" range="1-9600" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.qcelp.sw.decoder" type="audio/qcelp" rank="0">
- <Limit name="channel-count" max="1" />
- <Limit name="sample-rate" ranges="8000" />
- <Limit name="bitrate" range="1-9600" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.dsd.sw.decoder" type="audio/dsd" rank="0">
- <Limit name="channel-count" max="6" />
- <Limit name="sample-rate" ranges="8000-22579200" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.alac.hw.decoder" type="audio/alac" rank="1">
- <Limit name="channel-count" max="8" />
- <Limit name="sample-rate" ranges="8000-192000" />
- <Limit name="bitrate" range="1-100000000" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.wma.hw.decoder" type="audio/x-ms-wma" rank="0">
- <Limit name="channel-count" max="8" />
- <Limit name="sample-rate" ranges="8000-96000" />
- <Limit name="bitrate" range="8000-1536000" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.ape.hw.decoder" type="audio/x-ape" rank="1">
- <Limit name="channel-count" max="2" />
- <Limit name="sample-rate" ranges="8000-192000" />
- <Limit name="bitrate" range="1-100000000" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- <MediaCodec name="c2.qti.amrwbplus.hw.decoder" type="audio/amr-wb-plus" rank="0">
- <Limit name="channel-count" max="2" />
- <Limit name="sample-rate" ranges="8000-48000" />
- <Limit name="bitrate" range="5200-48000" />
- <Limit name="concurrent-instances" max="2" />
- </MediaCodec>
- </Decoders>
- <Encoders>
- <!-- C2 audio encoders -->
- <MediaCodec name="c2.qti.amrnb.hw.encoder" type="audio/3gpp">
- <Limit name="channel-count" max="1" />
- <Limit name="sample-rate" ranges="8000" />
- <Limit name="bitrate" range="4750-12200" />
- <Limit name="concurrent-instances" max="2" />
- <Feature name="special-codec" required="true" />
- </MediaCodec>
- <MediaCodec name="c2.qti.amrwb.hw.encoder" type="audio/amr-wb">
- <Limit name="channel-count" max="1" />
- <Limit name="sample-rate" ranges="16000" />
- <Limit name="bitrate" range="6600-23850" />
- <Limit name="concurrent-instances" max="2" />
- <Feature name="special-codec" required="true" />
- </MediaCodec>
- <MediaCodec name="c2.qti.aac.hw.encoder" type="audio/mp4a-latm">
- <Limit name="channel-count" max="2" />
- <Limit name="sample-rate" ranges="8000-48000" />
- <Limit name="bitrate" range="4000-192000" />
- <Limit name="concurrent-instances" max="2" />
- <Feature name="special-codec" required="true" />
- </MediaCodec>
- <MediaCodec name="c2.qti.evrc.hw.encoder" type="audio/evrc" rank="0">
- <Limit name="channel-count" max="1" />
- <Limit name="sample-rate" ranges="8000" />
- <Limit name="bitrate" range="1-9600" />
- <Limit name="concurrent-instances" max="2" />
- <Feature name="special-codec" required="true" />
- </MediaCodec>
- <MediaCodec name="c2.qti.qcelp.hw.encoder" type="audio/qcelp" rank="0">
- <Limit name="channel-count" max="1" />
- <Limit name="sample-rate" ranges="8000" />
- <Limit name="bitrate" range="1-13600" />
- <Limit name="concurrent-instances" max="2" />
- <Feature name="special-codec" required="true" />
- </MediaCodec>
- </Encoders>
- </Included>
|