Xml文件  |  129行  |  9.01 KB

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 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.h263" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="404-404" /> <!-- N=92 v98%=1.3 -->
            <Limit name="measured-frame-rate-352x288" range="237-239" /> <!-- N=92 v98%=1.3 -->
            <!-- measured 93%:58-67 med:60 FLAKY(30 - 126 < mx=130.9) -->
            <Limit name="measured-frame-rate-704x576" range="60-63" /> <!-- N=92 v93%=1.1 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="276-276" /> <!-- N=92 v98%=1.2 -->
            <Limit name="measured-frame-rate-720x480" range="71-82" /> <!-- N=92 v98%=1.2 -->
            <Limit name="measured-frame-rate-1280x720" range="44-53" /> <!-- N=92 v98%=1.3 -->
            <Limit name="measured-frame-rate-1920x1080" range="22-26" /> <!-- N=92 v98%=1.3 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="358-358" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-352x288" range="199-199" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-640x480" range="79-79" /> <!-- N=88 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="113-115" /> <!-- N=88 v98%=1.0 -->
            <Limit name="measured-frame-rate-640x360" range="108-109" /> <!-- N=88 v98%=1.0 -->
            <Limit name="measured-frame-rate-1280x720" range="38-38" /> <!-- N=88 v98%=1.0 -->
            <Limit name="measured-frame-rate-1920x1080" range="15-15" /> <!-- N=88 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="235-235" /> <!-- N=92 v98%=1.2 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="130-153" /> <!-- N=92 v98%=1.5 -->
            <!-- measured 95%:28-71 med:46 FLAKY(mn=13.1 < 23 - 90) -->
            <Limit name="measured-frame-rate-720x480" range="45-45" /> <!-- N=92 v95%=1.6 -->
            <!-- measured 98%:18-27 med:22 FLAKY(mn=10.9 < 11 - 44) -->
            <Limit name="measured-frame-rate-1280x720" range="22-22" /> <!-- N=92 v98%=1.2 -->
            <Limit name="measured-frame-rate-1920x1080" range="11-11" /> <!-- N=92 v98%=1.2 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="292-294" /> <!-- N=88 v98%=1.2 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="85-85" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-640x360" range="37-37" /> <!-- N=88 v98%=1.0 -->
            <Limit name="measured-frame-rate-1280x720" range="18-18" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-1920x1080" range="8-8" /> <!-- N=88 v98%=1.2 -->
        </MediaCodec>
    </Encoders>
    <Decoders>
        <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="633-633" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-352x288" range="655-655" /> <!-- N=88 v98%=1.2 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="363-363" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-720x480" range="254-275" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-1280x720" range="155-155" /> <!-- N=88 v98%=1.0 -->
            <Limit name="measured-frame-rate-1920x1088" range="69-69" /> <!-- N=88 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-352x288" range="478-478" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-640x360" range="343-343" /> <!-- N=88 v98%=1.3 -->
            <Limit name="measured-frame-rate-720x480" range="323-323" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-1280x720" range="185-202" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-1920x1080" range="115-119" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-3840x2160" range="32-32" /> <!-- N=88 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" update="true">
            <Limit name="measured-frame-rate-176x144" range="623-623" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-480x360" range="572-572" /> <!-- N=88 v98%=1.1 -->
        </MediaCodec>
        <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="377-377" /> <!-- N=87 v98%=1.1 -->
            <Limit name="measured-frame-rate-640x360" range="338-338" /> <!-- N=86 v98%=1.1 -->
            <Limit name="measured-frame-rate-1280x720" range="376-376" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-1920x1080" range="246-246" /> <!-- N=86 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
            <!-- measured 98%:99-414 med:122 FLAKY(mn=98.6 < 61 - 414 < mx=422.5) variance:2.0 -->
            <Limit name="measured-frame-rate-176x144" range="121-207" /> <!-- N=88 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
            <!-- measured 98%:175-366 med:330 FLAKY(mn=113.4 < 127 - 506) -->
            <Limit name="measured-frame-rate-320x240" range="253-253" /> <!-- N=88 v98%=1.4 -->
            <Limit name="measured-frame-rate-720x480" range="93-93" /> <!-- N=88 v98%=1.2 -->
            <!-- measured 98%:33-43 med:42 FLAKY(mn=17.4 < 19 - 74) -->
            <Limit name="measured-frame-rate-1280x720" range="37-37" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-1920x1080" range="16-16" /> <!-- N=88 v98%=1.1 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
            <Limit name="measured-frame-rate-352x288" range="205-205" /> <!-- N=88 v98%=1.5 -->
            <Limit name="measured-frame-rate-640x360" range="99-99" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-720x480" range="83-83" /> <!-- N=88 v98%=1.3 -->
            <Limit name="measured-frame-rate-1280x720" range="42-42" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-1920x1080" range="24-24" /> <!-- N=88 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
            <!-- measured 98%:134-383 med:163 FLAKY(81 - 454 < mx=484.0) -->
            <Limit name="measured-frame-rate-176x144" range="162-227" /> <!-- N=88 v98%=1.7 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="608-608" /> <!-- N=88 v98%=1.5 -->
            <Limit name="measured-frame-rate-640x360" range="111-174" /> <!-- N=88 v98%=1.6 -->
            <Limit name="measured-frame-rate-1280x720" range="25-26" /> <!-- N=88 v98%=1.0 -->
            <Limit name="measured-frame-rate-1920x1080" range="10-13" /> <!-- N=88 v98%=1.3 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
            <Limit name="measured-frame-rate-320x180" range="249-249" /> <!-- N=88 v98%=1.1 -->
            <Limit name="measured-frame-rate-640x360" range="108-108" /> <!-- N=86 v98%=1.0 -->
            <Limit name="measured-frame-rate-1280x720" range="39-39" /> <!-- N=88 v98%=1.2 -->
            <Limit name="measured-frame-rate-1920x1080" range="23-23" /> <!-- N=86 v98%=1.1 -->
        </MediaCodec>
    </Decoders>
</MediaCodecs>