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.h263.encoder" type="video/3gpp" update="true"> 49 <!-- 3 runs, min 849 max 1008 gmean 943 --> 50 <Limit name="measured-frame-rate-176x144" range="849-1008" /> 51 </MediaCodec> 52 <MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true"> 53 <!-- 3 runs, min 496 max 629 gmean 565 --> 54 <Limit name="measured-frame-rate-320x240" range="496-629" /> 55 <!-- 2 runs, min 197 max 203 gmean 201 --> 56 <Limit name="measured-frame-rate-720x480" range="197-203" /> 57 <!-- 2 runs, min 93 max 97 gmean 95 --> 58 <Limit name="measured-frame-rate-1280x720" range="93-97" /> 59 <!-- 2 runs, min 45 max 47 gmean 46 --> 60 <Limit name="measured-frame-rate-1920x1080" range="45-47" /> 61 </MediaCodec> 62 <MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true"> 63 <!-- 3 runs, min 881 max 1142 gmean 994 --> 64 <Limit name="measured-frame-rate-176x144" range="881-1142" /> 65 </MediaCodec> 66 <MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true"> 67 <!-- 3 runs, min 249 max 285 gmean 264 --> 68 <Limit name="measured-frame-rate-320x180" range="249-285" /> 69 <!-- 3 runs, min 104 max 115 gmean 109 --> 70 <Limit name="measured-frame-rate-640x360" range="104-115" /> 71 <!-- 3 runs, min 34 max 35 gmean 34 --> 72 <Limit name="measured-frame-rate-1280x720" range="34-35" /> 73 <!-- 3 runs, min 26 max 29 gmean 27 --> 74 <Limit name="measured-frame-rate-1920x1080" range="26-29" /> 75 </MediaCodec> 76 </Encoders> 77 <Decoders> 78 <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true"> 79 <!-- 3 runs, min 1246 max 1390 gmean 1342 --> 80 <Limit name="measured-frame-rate-176x144" range="1246-1390" /> 81 </MediaCodec> 82 <MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true"> 83 <!-- 5 runs, min 299 max 629 gmean 567 --> 84 <Limit name="measured-frame-rate-320x240" range="299-629" /> 85 <!-- 4 runs, min 215 max 250 gmean 232 --> 86 <Limit name="measured-frame-rate-720x480" range="215-250" /> 87 <!-- 4 runs, min 75 max 85 gmean 78 --> 88 <Limit name="measured-frame-rate-1280x720" range="75-85" /> 89 <!-- 4 runs, min 31 max 34 gmean 33 --> 90 <Limit name="measured-frame-rate-1920x1080" range="31-34" /> 91 </MediaCodec> 92 <MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true"> 93 <!-- 4 runs, min 754 max 817 gmean 775 --> 94 <Limit name="measured-frame-rate-352x288" range="754-817" /> 95 <!-- 4 runs, min 323 max 394 gmean 373 --> 96 <Limit name="measured-frame-rate-640x360" range="323-394" /> 97 <!-- 4 runs, min 349 max 372 gmean 358 --> 98 <Limit name="measured-frame-rate-720x480" range="349-372" /> 99 <!-- 4 runs, min 144 max 157 gmean 151 --> 100 <Limit name="measured-frame-rate-1280x720" range="144-157" /> 101 <!-- 4 runs, min 74 max 85 gmean 80 --> 102 <Limit name="measured-frame-rate-1920x1080" range="74-85" /> 103 </MediaCodec> 104 <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" update="true"> 105 <!-- 4 runs, min 1439 max 1625 gmean 1523 --> 106 <Limit name="measured-frame-rate-176x144" range="1439-1625" /> 107 </MediaCodec> 108 <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true"> 109 <!-- 3 runs, min 1129 max 1261 gmean 1190 --> 110 <Limit name="measured-frame-rate-320x180" range="1129-1261" /> 111 <!-- 3 runs, min 471 max 525 gmean 504 --> 112 <Limit name="measured-frame-rate-640x360" range="471-525" /> 113 <!-- 3 runs, min 126 max 145 gmean 132 --> 114 <Limit name="measured-frame-rate-1280x720" range="126-145" /> 115 <!-- 3 runs, min 48 max 51 gmean 49 --> 116 <Limit name="measured-frame-rate-1920x1080" range="48-51" /> 117 </MediaCodec> 118 <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true"> 119 <!-- 2 runs, min 968 max 1101 gmean 1044 --> 120 <Limit name="measured-frame-rate-320x180" range="968-1101" /> 121 <!-- 3 runs, min 291 max 338 gmean 319 --> 122 <Limit name="measured-frame-rate-640x360" range="291-338" /> 123 <!-- Those values are from buildbots --> 124 <Limit name="measured-frame-rate-1280x720" range="280-400" /> 125 <!-- Buildbot gets ~180 if it is in the first run, ~230 if it is the second run --> 126 <Limit name="measured-frame-rate-1920x1080" range="178-240" /> 127 </MediaCodec> 128 </Decoders> 129</MediaCodecs> 130