| <?xml version="1.0" encoding="utf-8" ?> |
| <!-- Copyright 2018 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> |
| <Settings> |
| <Setting name="max-video-encoder-input-buffers" value="4" /> |
| </Settings> |
| <Encoders> |
| <MediaCodec name="c2.vea.avc.encoder" type="video/avc"> |
| <Limit name="size" min="32x32" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" range="1-983040" /> |
| <Limit name="bitrate" range="1-40000000" /> |
| </MediaCodec> |
| </Encoders> |
| <Decoders> |
| <MediaCodec name="c2.vda.avc.decoder" type="video/avc" > |
| <Limit name="size" min="16x16" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" min="1" max="2586720" /> |
| <Limit name="bitrate" range="1-62500000" /> |
| <Limit name="concurrent-instances" max="8" /> |
| <Feature name="adaptive-playback" /> |
| </MediaCodec> |
| <MediaCodec name="c2.vda.avc.decoder.secure" type="video/avc" > |
| <Limit name="size" min="16x16" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" min="1" max="2586720" /> |
| <Limit name="bitrate" range="1-62500000" /> |
| <Limit name="concurrent-instances" max="8" /> |
| <Feature name="adaptive-playback" /> |
| <Feature name="secure-playback" required="true" /> |
| </MediaCodec> |
| <MediaCodec name="c2.vda.vp8.decoder" type="video/x-vnd.on2.vp8" > |
| <Limit name="size" min="16x16" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" min="1" max="2341920" /> |
| <Limit name="bitrate" range="1-62500000" /> |
| <Limit name="concurrent-instances" max="8" /> |
| <Feature name="adaptive-playback" /> |
| </MediaCodec> |
| <MediaCodec name="c2.vda.vp8.decoder.secure" type="video/x-vnd.on2.vp8" > |
| <Limit name="size" min="16x16" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" min="1" max="2341920" /> |
| <Limit name="bitrate" range="1-62500000" /> |
| <Limit name="concurrent-instances" max="8" /> |
| <Feature name="adaptive-playback" /> |
| <Feature name="secure-playback" required="true" /> |
| </MediaCodec> |
| <MediaCodec name="c2.vda.vp9.decoder" type="video/x-vnd.on2.vp9" > |
| <Limit name="size" min="16x16" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" min="1" max="2721600" /> |
| <Limit name="bitrate" range="1-62500000" /> |
| <Limit name="concurrent-instances" max="8" /> |
| <Feature name="adaptive-playback" /> |
| </MediaCodec> |
| <MediaCodec name="c2.vda.vp9.decoder.secure" type="video/x-vnd.on2.vp9" > |
| <Limit name="size" min="16x16" max="4096x4096" /> |
| <Limit name="alignment" value="2x2" /> |
| <Limit name="block-size" value="16x16" /> |
| <Limit name="blocks-per-second" min="1" max="2721600" /> |
| <Limit name="bitrate" range="1-62500000" /> |
| <Limit name="concurrent-instances" max="8" /> |
| <Feature name="adaptive-playback" /> |
| <Feature name="secure-playback" required="true" /> |
| </MediaCodec> |
| </Decoders> |
| </MediaCodecs> |