Xml文件  |  117行  |  8.05 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.Nvidia.h264.encoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="202-253" /> <!-- N=152 v98%=1.5 -->
            <Limit name="measured-frame-rate-720x480" range="85-85" /> <!-- N=152 v97%=1.2 -->
            <!-- measured 93%:69-90 med:82 FLAKY(mn=24.2 < 40 - 158) -->
            <Limit name="measured-frame-rate-1280x720" range="79-79" /> <!-- N=152 v93%=1.1 -->
            <!-- measured 93%:33-43 med:38 FLAKY(mn=11.7 < 19 - 74) -->
            <Limit name="measured-frame-rate-1920x1080" range="37-37" /> <!-- N=152 v93%=1.1 -->
        </MediaCodec>
        <MediaCodec name="OMX.Nvidia.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="188-208" /> <!-- N=146 v98%=1.2 -->
            <Limit name="measured-frame-rate-640x360" range="91-108" /> <!-- N=146 v98%=1.3 -->
            <Limit name="measured-frame-rate-1280x720" range="68-68" /> <!-- N=144 v98%=1.2 -->
            <Limit name="measured-frame-rate-1920x1080" range="31-31" /> <!-- N=143 v98%=1.2 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="473-473" /> <!-- N=150 v98%=1.6 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
            <!-- measured 98%:106-418 med:199 FLAKY(mn=98.9 < 100 - 422 < mx=425.0) -->
            <Limit name="measured-frame-rate-320x240" range="199-211" /> <!-- N=168 v98%=2.0 -->
            <Limit name="measured-frame-rate-720x480" range="73-92" /> <!-- N=167 v98%=1.7 -->
            <Limit name="measured-frame-rate-1280x720" range="38-49" /> <!-- N=168 v98%=1.6 -->
            <!-- measured 96%:12-40 med:21 FLAKY(mn=6.5 < 11 - 44) -->
            <Limit name="measured-frame-rate-1920x1080" range="21-22" /> <!-- N=168 v96%=1.8 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
            <!-- measured 98%:312-800 med:713 FLAKY(mn=195.5 < 250 - 1000) -->
            <Limit name="measured-frame-rate-176x144" range="500-500" /> <!-- N=162 v98%=1.6 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
            <!-- measured 98%:52-168 med:116 FLAKY(mn=44.8 < 47 - 186) -->
            <Limit name="measured-frame-rate-320x180" range="93-93" /> <!-- N=160 v98%=1.8 -->
            <Limit name="measured-frame-rate-640x360" range="38-49" /> <!-- N=146 v98%=1.3 -->
            <Limit name="measured-frame-rate-1280x720" range="18-24" /> <!-- N=146 v98%=1.5 -->
            <Limit name="measured-frame-rate-1920x1080" range="8-12" /> <!-- N=146 v98%=1.5 -->
        </MediaCodec>
    </Encoders>
    <Decoders>
        <MediaCodec name="OMX.Nvidia.h263.decode" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="707-924" /> <!-- N=160 v98%=1.5 -->
            <Limit name="measured-frame-rate-352x288" range="675-712" /> <!-- N=160 v98%=1.5 -->
        </MediaCodec>
        <MediaCodec name="OMX.Nvidia.h264.decode" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="877-1171" /> <!-- N=159 v98%=1.5 -->
            <Limit name="measured-frame-rate-720x480" range="719-719" /> <!-- N=152 v98%=1.1 -->
            <Limit name="measured-frame-rate-1280x720" range="315-315" /> <!-- N=152 v98%=1.0 -->
            <Limit name="measured-frame-rate-1920x1088" range="135-136" /> <!-- N=151 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.Nvidia.mp4.decode" type="video/mp4v-es" update="true">
            <!-- measured 98%:494-1322 med:788 FLAKY(mn=376.9 < 394 - 1616) -->
            <Limit name="measured-frame-rate-176x144" range="788-808" /> <!-- N=158 v98%=1.6 -->
            <Limit name="measured-frame-rate-480x368" range="614-617" /> <!-- N=150 v98%=1.3 -->
        </MediaCodec>
        <MediaCodec name="OMX.Nvidia.vp8.decode" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x192" range="824-945" /> <!-- N=158 v98%=1.3 -->
            <Limit name="measured-frame-rate-640x368" range="690-690" /> <!-- N=150 v98%=1.2 -->
            <Limit name="measured-frame-rate-1280x720" range="254-261" /> <!-- N=150 v98%=1.1 -->
            <Limit name="measured-frame-rate-1920x1088" range="128-130" /> <!-- N=149 v98%=1.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
            <Limit name="measured-frame-rate-176x144" range="423-601" /> <!-- N=160 v98%=2.0 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
            <Limit name="measured-frame-rate-320x240" range="280-304" /> <!-- N=165 v98%=1.8 -->
            <Limit name="measured-frame-rate-720x480" range="88-98" /> <!-- N=166 v98%=1.9 -->
            <Limit name="measured-frame-rate-1280x720" range="32-39" /> <!-- N=158 v98%=1.7 -->
            <!-- measured 96%:12-28 med:14 FLAKY(mn=5.1 < 7 - 36) -->
            <Limit name="measured-frame-rate-1920x1080" range="13-18" /> <!-- N=159 v96%=1.5 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
            <!-- measured 98%:89-475 med:127 FLAKY(64 - 476 < mx=481.9) variance:2.3 -->
            <Limit name="measured-frame-rate-352x288" range="127-238" /> <!-- N=142 -->
            <!-- measured 98%:60-275 med:71 FLAKY(36 - 276 < mx=288.9) variance:2.1 -->
            <Limit name="measured-frame-rate-640x360" range="71-138" /> <!-- N=159 -->
            <!-- measured 98%:55-232 med:64 FLAKY(mn=26.7 < 32 - 232 < mx=233.0) variance:2.0 -->
            <Limit name="measured-frame-rate-720x480" range="63-116" /> <!-- N=158 -->
            <Limit name="measured-frame-rate-1280x720" range="33-48" /> <!-- N=158 v98%=1.8 -->
            <Limit name="measured-frame-rate-1920x1080" range="19-28" /> <!-- N=158 v98%=1.6 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
            <!-- measured 90%:408-574 med:469 FLAKY(235 - 968 < mx=1445.1) -->
            <Limit name="measured-frame-rate-176x144" range="469-484" /> <!-- N=140 v90%=1.2 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
            <Limit name="measured-frame-rate-320x180" range="386-475" /> <!-- N=158 v98%=1.7 -->
            <Limit name="measured-frame-rate-640x360" range="146-202" /> <!-- N=158 v98%=1.5 -->
            <Limit name="measured-frame-rate-1280x720" range="35-49" /> <!-- N=158 v98%=1.5 -->
            <Limit name="measured-frame-rate-1920x1080" range="14-21" /> <!-- N=158 v98%=1.5 -->
        </MediaCodec>
        <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
            <Limit name="measured-frame-rate-320x180" range="277-307" /> <!-- N=157 v98%=1.9 -->
            <Limit name="measured-frame-rate-640x360" range="108-135" /> <!-- N=160 v98%=1.8 -->
            <Limit name="measured-frame-rate-1280x720" range="36-41" /> <!-- N=160 v98%=1.9 -->
            <!-- measured 96%:15-43 med:23 FLAKY(mn=5.6 < 11 - 52) -->
            <Limit name="measured-frame-rate-1920x1080" range="22-26" /> <!-- N=158 v96%=1.7 -->
        </MediaCodec>
    </Decoders>
</MediaCodecs>