Home | History | Annotate | Download | only in config
      1 <?xml version="1.0" encoding="utf-8" ?>
      2 <!--
      3 /*
      4 ** Copyright 2017, The Android Open Source Project.
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License");
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 
     20 <!-- The 'range' values below are based on tests run 2016-04-13 on Ubuntu 14.04
     21      x86-64, Xeon 2.8 GHz x 10
     22 
     23      The range values are set to (meas / sqrt(tolerance)) and
     24      (meas * sqrt(tolerance)).
     25      These values maximize the 'success' window for the tests performed in
     26      cts/libs/deviceutil/src/android/cts/util/MediaUtils.java.
     27      That file defines 'tolerance' as sqrt(12.1).
     28 
     29      Where multiple results were obtained, the geometric mean was used.
     30 
     31         OMX.google.h264.encoder  video/avc            320x 240 measured 1294.2
     32         OMX.google.h264.decoder  video/avc            320x 240 measured 7204.1, 9151.4
     33 
     34         OMX.google.h263.encoder  video/3gpp           176x 144 measured 2127.0
     35         OMX.google.h263.decoder  video/3gpp           176x 144 measured 7574.0
     36 
     37         OMX.google.mpeg4.encoder video/mp4v-es        176x 144 measured 2783.8
     38         OMX.google.mpeg4.decoder video/mp4v-es        176x 144 measured 6954.2
     39 
     40         OMX.google.vp8.encoder   video/x-vnd.on2.vp8 1280x 720 measured  195.0
     41         OMX.google.vp8.encoder   video/x-vnd.on2.vp8 1920x1080 measured   93.3,   91.1
     42         OMX.google.vp8.decoder   video/x-vnd.on2.vp8 1280x 720 measured 1196.1, 1211.3
     43         OMX.google.vp8.decoder   video/x-vnd.on2.vp8 1920x1080 measured  483.7,  497.6
     44 -->
     45 
     46 <MediaCodecs>
     47     <Encoders>
     48         <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
     49             <Limit name="measured-frame-rate-320x240" range="694-2414" />
     50         </MediaCodec>
     51         <MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
     52             <Limit name="measured-frame-rate-176x144" range="1140-3967" />
     53         </MediaCodec>
     54         <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
     55             <Limit name="measured-frame-rate-176x144" range="1493-5192" />
     56         </MediaCodec>
     57         <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
     58             <Limit name="measured-frame-rate-1280x720" range="105-364" />
     59             <Limit name="measured-frame-rate-1920x1080" range="49-172" />
     60         </MediaCodec>
     61     </Encoders>
     62     <Decoders>
     63         <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
     64             <Limit name="measured-frame-rate-320x240" range="4353-15114" />
     65         </MediaCodec>
     66         <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
     67             <Limit name="measured-frame-rate-176x144" range="4061-14126" />
     68         </MediaCodec>
     69         <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
     70           <Limit name="measured-frame-rate-352x288" range="1000-4000" />
     71           <Limit name="measured-frame-rate-720x480" range="500-2000" />
     72           <Limit name="measured-frame-rate-1280x720" range="100-1000" />
     73           <Limit name="measured-frame-rate-1920x1080" range="50-700" />
     74         </MediaCodec>
     75         <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true">
     76             <Limit name="measured-frame-rate-176x144" range="3729-12970" />
     77         </MediaCodec>
     78         <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
     79             <Limit name="measured-frame-rate-1280x720" range="645-2245" />
     80             <Limit name="measured-frame-rate-1920x1080" range="263-915" />
     81         </MediaCodec>
     82         <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
     83             <Limit name="measured-frame-rate-320x240" range="645-2245" />
     84             <Limit name="measured-frame-rate-640x360" range="500-3000" />
     85             <Limit name="measured-frame-rate-1280x720" range="350-1500" />
     86             <Limit name="measured-frame-rate-1920x1080" range="150-1000" />
     87         </MediaCodec>
     88     </Decoders>
     89 </MediaCodecs>
     90