Home | History | Annotate | Download | only in dragon
      1 <?xml version="1.0" encoding="utf-8" ?>
      2 <!-- Copyright 2016 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <MediaCodecs>
     18     <Encoders>
     19         <MediaCodec name="OMX.Nvidia.h264.encoder" type="video/avc" update="true">
     20             <Limit name="measured-frame-rate-320x240" range="305-330" /> <!-- N=240 v98%=1.3 -->
     21             <Limit name="measured-frame-rate-720x480" range="195-202" /> <!-- N=240 v98%=1.3 -->
     22             <Limit name="measured-frame-rate-1280x720" range="114-114" /> <!-- N=235 v98%=1.2 -->
     23             <Limit name="measured-frame-rate-1920x1080" range="68-68" /> <!-- N=234 v98%=1.6 -->
     24         </MediaCodec>
     25         <MediaCodec name="OMX.Nvidia.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
     26             <Limit name="measured-frame-rate-320x180" range="288-288" /> <!-- N=239 v98%=1.2 -->
     27             <Limit name="measured-frame-rate-640x360" range="218-228" /> <!-- N=239 v98%=1.2 -->
     28             <Limit name="measured-frame-rate-1280x720" range="111-111" /> <!-- N=240 v98%=1.2 -->
     29             <Limit name="measured-frame-rate-1920x1080" range="57-57" /> <!-- N=240 v98%=1.2 -->
     30         </MediaCodec>
     31         <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
     32             <Limit name="measured-frame-rate-176x144" range="455-455" /> <!-- N=244 v98%=1.4 -->
     33         </MediaCodec>
     34         <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
     35             <Limit name="measured-frame-rate-320x240" range="310-310" /> <!-- N=240 v98%=1.8 -->
     36             <Limit name="measured-frame-rate-720x480" range="103-103" /> <!-- N=240 v98%=1.7 -->
     37             <Limit name="measured-frame-rate-1280x720" range="51-51" /> <!-- N=239 v98%=1.7 -->
     38             <Limit name="measured-frame-rate-1920x1080" range="25-25" /> <!-- N=236 v98%=1.5 -->
     39         </MediaCodec>
     40         <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
     41             <Limit name="measured-frame-rate-176x144" range="488-488" /> <!-- N=240 v98%=1.4 -->
     42         </MediaCodec>
     43         <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
     44             <Limit name="measured-frame-rate-320x180" range="132-132" /> <!-- N=240 v98%=1.3 -->
     45             <Limit name="measured-frame-rate-640x360" range="67-67" /> <!-- N=240 v98%=1.3 -->
     46             <Limit name="measured-frame-rate-1280x720" range="28-28" /> <!-- N=240 v98%=1.4 -->
     47             <Limit name="measured-frame-rate-1920x1080" range="15-15" /> <!-- N=240 v98%=1.4 -->
     48         </MediaCodec>
     49     </Encoders>
     50     <Decoders>
     51         <MediaCodec name="OMX.Nvidia.h263.decode" type="video/3gpp" update="true">
     52             <Limit name="measured-frame-rate-176x144" range="1497-1604" /> <!-- N=241 v98%=1.7 -->
     53             <Limit name="measured-frame-rate-352x288" range="1531-1550" /> <!-- N=242 v98%=1.6 -->
     54         </MediaCodec>
     55         <MediaCodec name="OMX.Nvidia.h264.decode" type="video/avc" update="true">
     56             <Limit name="measured-frame-rate-320x240" range="1469-1469" /> <!-- N=242 v98%=1.5 -->
     57             <!-- measured 98%:213-1018 med:973 FLAKY(mn=187.3 < 214 - 1018 < mx=1021.5) variance:2.2 -->
     58             <Limit name="measured-frame-rate-720x480" range="427-509" /> <!-- N=244 -->
     59             <!-- measured 98%:83-480 med:465 FLAKY(83 - 480) variance:2.4 -->
     60             <Limit name="measured-frame-rate-1280x720" range="166-240" /> <!-- N=244 -->
     61             <!-- measured 98%:38-226 med:208 variance:2.4 -->
     62             <Limit name="measured-frame-rate-1920x1088" range="76-113" /> <!-- N=244 -->
     63         </MediaCodec>
     64         <MediaCodec name="OMX.Nvidia.h265.decode" type="video/hevc" update="true">
     65             <Limit name="measured-frame-rate-352x288" range="1536-1612" /> <!-- N=244 v98%=1.6 -->
     66             <Limit name="measured-frame-rate-640x368" range="1436-1436" /> <!-- N=243 v98%=1.6 -->
     67             <!-- measured 98%:457-1842 med:1321 FLAKY(mn=456.2 < 457 - 1842 < mx=1901.1) variance:2.0 -->
     68             <Limit name="measured-frame-rate-720x480" range="914-921" /> <!-- N=243 -->
     69             <!-- measured 98%:115-720 med:691 FLAKY(mn=105.5 < 116 - 720 < mx=723.1) variance:2.5 -->
     70             <Limit name="measured-frame-rate-1280x720" range="231-360" /> <!-- N=243 -->
     71             <!-- measured 90%:37-362 med:352 FLAKY(mn=35.7 < 42 - 362) RG.VARIANCE:2.1 -->
     72             <Limit name="measured-frame-rate-1920x1088" range="83-181" /> <!-- N=244 v90%=3.1 -->
     73             <!-- measured 90%:10-91 med:89 FLAKY(mn=10.4 < 11 - 92) RG.VARIANCE:2.0 -->
     74             <Limit name="measured-frame-rate-3840x2160" range="21-46" /> <!-- N=242 v90%=2.9 -->
     75         </MediaCodec>
     76         <MediaCodec name="OMX.Nvidia.mp4.decode" type="video/mp4v-es" update="true">
     77             <Limit name="measured-frame-rate-176x144" range="1501-1576" /> <!-- N=243 v98%=1.6 -->
     78             <Limit name="measured-frame-rate-480x368" range="1515-1553" /> <!-- N=244 v98%=1.7 -->
     79         </MediaCodec>
     80         <MediaCodec name="OMX.Nvidia.vp8.decode" type="video/x-vnd.on2.vp8" update="true">
     81             <Limit name="measured-frame-rate-320x192" range="1548-1548" /> <!-- N=243 v98%=1.7 -->
     82             <!-- measured 98%:299-2037 med:1372 FLAKY(mn=294.6 < 299 - 2038 < mx=2074.7) variance:2.6 -->
     83             <Limit name="measured-frame-rate-640x368" range="598-1019" /> <!-- N=244 -->
     84             <Limit name="measured-frame-rate-1280x720" range="425-425" /> <!-- N=222 v98%=1.5 -->
     85             <Limit name="measured-frame-rate-1920x1088" range="208-208" /> <!-- N=222 v98%=1.4 -->
     86         </MediaCodec>
     87         <MediaCodec name="OMX.Nvidia.vp9.decode" type="video/x-vnd.on2.vp9" update="true">
     88             <Limit name="measured-frame-rate-320x180" range="1265-1415" /> <!-- N=244 v98%=1.5 -->
     89             <!-- measured 98%:343-1722 med:1181 FLAKY(mn=330.9 < 343 - 1722 < mx=1821.5) variance:2.2 -->
     90             <Limit name="measured-frame-rate-640x360" range="686-861" /> <!-- N=244 -->
     91             <!-- measured 98%:66-518 med:442 FLAKY(mn=60.7 < 66 - 518 < mx=519.5) variance:2.8 -->
     92             <Limit name="measured-frame-rate-1280x720" range="132-259" /> <!-- N=244 -->
     93             <!-- measured 90%:33-301 med:245 FLAKY(mn=30.9 < 35 - 300 < mx=302.5) RG.VARIANCE:2.1 -->
     94             <Limit name="measured-frame-rate-1920x1080" range="69-150" /> <!-- N=242 v90%=3.0 -->
     95             <!-- measured 90%:8-71 med:63 FLAKY(mn=7.9 < 8 - 70 < mx=70.6) RG.VARIANCE:2.1 -->
     96             <Limit name="measured-frame-rate-3840x2160" range="16-35" /> <!-- N=240 v90%=3.0 -->
     97         </MediaCodec>
     98         <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
     99             <Limit name="measured-frame-rate-176x144" range="825-870" /> <!-- N=244 v98%=1.4 -->
    100         </MediaCodec>
    101         <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
    102             <!-- measured 98%:140-618 med:352 FLAKY(mn=106.1 < 140 - 618 < mx=629.3) variance:2.1 -->
    103             <Limit name="measured-frame-rate-320x240" range="280-309" /> <!-- N=243 -->
    104             <Limit name="measured-frame-rate-720x480" range="111-118" /> <!-- N=243 v98%=1.6 -->
    105             <Limit name="measured-frame-rate-1280x720" range="41-44" /> <!-- N=244 v98%=1.6 -->
    106             <Limit name="measured-frame-rate-1920x1080" range="18-19" /> <!-- N=244 v98%=1.6 -->
    107         </MediaCodec>
    108         <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
    109             <!-- measured 98%:144-676 med:285 FLAKY(mn=113.1 < 142 - 676 < mx=709.7) variance:2.2 -->
    110             <Limit name="measured-frame-rate-352x288" range="284-338" /> <!-- N=244 -->
    111             <Limit name="measured-frame-rate-640x360" range="159-171" /> <!-- N=240 v98%=1.9 -->
    112             <Limit name="measured-frame-rate-720x480" range="122-140" /> <!-- N=244 v98%=1.9 -->
    113             <Limit name="measured-frame-rate-1280x720" range="50-55" /> <!-- N=243 v98%=1.9 -->
    114             <Limit name="measured-frame-rate-1920x1080" range="26-29" /> <!-- N=244 v98%=1.7 -->
    115         </MediaCodec>
    116         <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
    117             <Limit name="measured-frame-rate-176x144" range="936-950" /> <!-- N=244 v98%=1.3 -->
    118         </MediaCodec>
    119         <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
    120             <Limit name="measured-frame-rate-320x180" range="626-628" /> <!-- N=244 v98%=1.5 -->
    121             <Limit name="measured-frame-rate-640x360" range="189-219" /> <!-- N=242 v98%=1.5 -->
    122             <Limit name="measured-frame-rate-1280x720" range="38-47" /> <!-- N=244 v98%=1.4 -->
    123             <Limit name="measured-frame-rate-1920x1080" range="15-19" /> <!-- N=244 v98%=1.4 -->
    124         </MediaCodec>
    125         <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
    126             <Limit name="measured-frame-rate-320x180" range="426-454" /> <!-- N=244 v98%=1.5 -->
    127             <!-- measured 98%:83-321 med:187 FLAKY(82 - 326 < mx=331.8) -->
    128             <Limit name="measured-frame-rate-640x360" range="163-163" /> <!-- N=244 v98%=2.0 -->
    129             <Limit name="measured-frame-rate-1280x720" range="49-49" /> <!-- N=244 v98%=1.9 -->
    130             <Limit name="measured-frame-rate-1920x1080" range="29-30" /> <!-- N=243 v98%=1.7 -->
    131         </MediaCodec>
    132     </Decoders>
    133 </MediaCodecs>
    134