1 /* 2 * Copyright (C) 2013 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 package android.video.cts; 18 19 import android.graphics.ImageFormat; 20 import android.graphics.Point; 21 import android.media.Image; 22 import android.media.Image.Plane; 23 import android.media.MediaCodec; 24 import android.media.MediaCodec.BufferInfo; 25 import android.media.MediaCodecInfo; 26 import android.media.MediaCodecInfo.CodecCapabilities; 27 import android.media.MediaFormat; 28 import android.media.cts.CodecImage; 29 import android.media.cts.CodecUtils; 30 import android.media.cts.TestArgs; 31 import android.media.cts.TestUtils; 32 import android.media.cts.YUVImage; 33 import android.os.Build; 34 import android.util.Log; 35 import android.util.Pair; 36 import android.util.Range; 37 38 import com.android.compatibility.common.util.CtsAndroidTestCase; 39 import com.android.compatibility.common.util.DeviceReportLog; 40 import com.android.compatibility.common.util.MediaPerfUtils; 41 import com.android.compatibility.common.util.MediaUtils; 42 import com.android.compatibility.common.util.ResultType; 43 import com.android.compatibility.common.util.ResultUnit; 44 import com.android.compatibility.common.util.Stat; 45 46 import java.io.IOException; 47 import java.nio.ByteBuffer; 48 import java.util.Arrays; 49 import java.util.LinkedList; 50 import java.util.Random; 51 import java.util.Scanner; 52 53 /** 54 * This tries to test video encoder / decoder performance by running encoding / decoding 55 * without displaying the raw data. To make things simpler, encoder is used to encode synthetic 56 * data and decoder is used to decode the encoded video. This approach does not work where 57 * there is only decoder. Performance index is total time taken for encoding and decoding 58 * the whole frames. 59 * To prevent sacrificing quality for faster encoding / decoding, randomly selected pixels are 60 * compared with the original image. As the pixel comparison can slow down the decoding process, 61 * only some randomly selected pixels are compared. As there can be only one performance index, 62 * error above certain threshold in pixel value will be treated as an error. 63 */ 64 public class VideoEncoderDecoderTest extends CtsAndroidTestCase { 65 private static final String TAG = "VideoEncoderDecoderTest"; 66 private static final String REPORT_LOG_NAME = "CtsVideoTestCases"; 67 // this wait time affects fps as too big value will work as a blocker if device fps 68 // is not very high. 69 private static final long VIDEO_CODEC_WAIT_TIME_US = 1000; 70 private static final boolean VERBOSE = false; 71 private static final int MAX_FPS = 30; // measure performance at 30fps, this is relevant for 72 // the meaning of bitrate 73 74 private static final String AVC = MediaFormat.MIMETYPE_VIDEO_AVC; 75 private static final String H263 = MediaFormat.MIMETYPE_VIDEO_H263; 76 private static final String HEVC = MediaFormat.MIMETYPE_VIDEO_HEVC; 77 private static final String MPEG2 = MediaFormat.MIMETYPE_VIDEO_MPEG2; 78 private static final String MPEG4 = MediaFormat.MIMETYPE_VIDEO_MPEG4; 79 private static final String VP8 = MediaFormat.MIMETYPE_VIDEO_VP8; 80 private static final String VP9 = MediaFormat.MIMETYPE_VIDEO_VP9; 81 82 private static final boolean GOOG = true; 83 private static final boolean OTHER = false; 84 85 // test results: 86 87 private int mCurrentTestRound = 0; 88 private double[][] mEncoderFrameTimeUsDiff; 89 private double[] mEncoderFpsResults; 90 91 private double[][] mDecoderFrameTimeUsDiff; 92 private double[] mDecoderFpsResults; 93 private double[] mTotalFpsResults; 94 private double[] mDecoderRmsErrorResults; 95 96 // i frame interval for encoder 97 private static final int KEY_I_FRAME_INTERVAL = 5; 98 private static final int MAX_TEST_TIMEOUT_MS = 300000; // 5 minutes 99 100 private static final int Y_CLAMP_MIN = 16; 101 private static final int Y_CLAMP_MAX = 235; 102 private static final int YUV_PLANE_ADDITIONAL_LENGTH = 200; 103 private ByteBuffer mYBuffer, mYDirectBuffer; 104 private ByteBuffer mUVBuffer, mUVDirectBuffer; 105 private int mSrcColorFormat; 106 private int mDstColorFormat; 107 private int mBufferWidth; 108 private int mBufferHeight; 109 private int mVideoWidth; 110 private int mVideoHeight; 111 private int mVideoStride; 112 private int mVideoVStride; 113 private int mFrameRate; 114 115 private MediaFormat mEncConfigFormat; 116 private MediaFormat mEncInputFormat; 117 private MediaFormat mEncOutputFormat; 118 private MediaFormat mDecOutputFormat; 119 120 private LinkedList<Pair<ByteBuffer, BufferInfo>> mEncodedOutputBuffer; 121 // check this many pixels per each decoded frame 122 // checking too many points decreases decoder frame rates a lot. 123 private static final int PIXEL_CHECK_PER_FRAME = 1000; 124 // RMS error in pixel values above this will be treated as error. 125 private static final double PIXEL_RMS_ERROR_MARGIN = 20.0; 126 private double mRmsErrorMargin; 127 private Random mRandom; 128 129 private boolean mUpdatedSwCodec = false; 130 131 private class TestConfig { 132 public boolean mTestPixels = true; 133 public boolean mReportFrameTime = false; 134 public int mTotalFrames = 300; 135 public int mMinNumFrames = 300; 136 public int mMaxTimeMs = 120000; // 2 minutes 137 public int mMinTimeMs = 10000; // 10 seconds 138 public int mNumberOfRepeat = 10; 139 initPerfTest()140 public void initPerfTest() { 141 mTestPixels = false; 142 mTotalFrames = 30000; 143 mMinNumFrames = 3000; 144 mNumberOfRepeat = 2; 145 } 146 } 147 148 private TestConfig mTestConfig; 149 isPreferredAbi()150 private static boolean isPreferredAbi() { 151 boolean prefers64Bit = false; 152 if (Build.SUPPORTED_64_BIT_ABIS.length > 0 && 153 Build.SUPPORTED_ABIS.length > 0 && 154 Build.SUPPORTED_ABIS[0].equals(Build.SUPPORTED_64_BIT_ABIS[0])) { 155 prefers64Bit = true; 156 } 157 return android.os.Process.is64Bit() ? prefers64Bit : !prefers64Bit; 158 } 159 160 @Override setUp()161 protected void setUp() throws Exception { 162 mEncodedOutputBuffer = new LinkedList<Pair<ByteBuffer, BufferInfo>>(); 163 mRmsErrorMargin = PIXEL_RMS_ERROR_MARGIN; 164 mUpdatedSwCodec = 165 !TestUtils.isMainlineModuleFactoryVersion("com.google.android.media.swcodec"); 166 // Use time as a seed, hoping to prevent checking pixels in the same pattern 167 long now = System.currentTimeMillis(); 168 mRandom = new Random(now); 169 mTestConfig = new TestConfig(); 170 super.setUp(); 171 } 172 173 @Override tearDown()174 protected void tearDown() throws Exception { 175 mEncodedOutputBuffer.clear(); 176 mEncodedOutputBuffer = null; 177 mYBuffer = null; 178 mUVBuffer = null; 179 mYDirectBuffer = null; 180 mUVDirectBuffer = null; 181 mRandom = null; 182 mTestConfig = null; 183 super.tearDown(); 184 } 185 count(String mime, int width, int height, int numGoog, int numOther)186 private void count(String mime, int width, int height, int numGoog, int numOther) 187 throws Exception { 188 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); 189 MediaUtils.verifyNumCodecs(numGoog, true /* isEncoder */, true /* isGoog */, format); 190 MediaUtils.verifyNumCodecs(numOther, true /* isEncoder */, false /* isGoog */, format); 191 } 192 193 /** run performance test. */ perf(String mimeType, int w, int h, boolean isGoog, int ix)194 private void perf(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { 195 doTest(mimeType, w, h, true /* isPerf */, isGoog, ix); 196 } 197 198 /** run quality test. */ qual(String mimeType, int w, int h, boolean isGoog, int ix)199 private void qual(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { 200 doTest(mimeType, w, h, false /* isPerf */, isGoog, ix); 201 } 202 203 /** run quality test but do not report error. */ qual(String mimeType, int w, int h, boolean isGoog, int ix, double margin)204 private void qual(String mimeType, int w, int h, boolean isGoog, int ix, double margin) 205 throws Exception { 206 mRmsErrorMargin = margin; 207 doTest(mimeType, w, h, false /* isPerf */, isGoog, ix); 208 } 209 210 // Poor man's Parametrized test as this test must still run on CTSv1 runner. 211 212 // The count tests are to ensure this Cts test covers all encoders. Add further 213 // tests and change the count if there can be more encoders. 214 215 // AVC tests testAvcCount0320x0240()216 public void testAvcCount0320x0240() throws Exception { count(AVC, 320, 240, 2, 4); } testAvcGoog0Qual0320x0240()217 public void testAvcGoog0Qual0320x0240() throws Exception { qual(AVC, 320, 240, GOOG, 0); } testAvcGoog0Perf0320x0240()218 public void testAvcGoog0Perf0320x0240() throws Exception { perf(AVC, 320, 240, GOOG, 0); } testAvcGoog1Qual0320x0240()219 public void testAvcGoog1Qual0320x0240() throws Exception { qual(AVC, 320, 240, GOOG, 1); } testAvcGoog1Perf0320x0240()220 public void testAvcGoog1Perf0320x0240() throws Exception { perf(AVC, 320, 240, GOOG, 1); } 221 testAvcOther0Qual0320x0240()222 public void testAvcOther0Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 0); } testAvcOther0Perf0320x0240()223 public void testAvcOther0Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 0); } testAvcOther1Qual0320x0240()224 public void testAvcOther1Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 1); } testAvcOther1Perf0320x0240()225 public void testAvcOther1Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 1); } testAvcOther2Qual0320x0240()226 public void testAvcOther2Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 2); } testAvcOther2Perf0320x0240()227 public void testAvcOther2Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 2); } testAvcOther3Qual0320x0240()228 public void testAvcOther3Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 3); } testAvcOther3Perf0320x0240()229 public void testAvcOther3Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 3); } testAvcCount0720x0480()230 public void testAvcCount0720x0480() throws Exception { count(AVC, 720, 480, 2, 4); } testAvcGoog0Qual0720x0480()231 public void testAvcGoog0Qual0720x0480() throws Exception { qual(AVC, 720, 480, GOOG, 0); } testAvcGoog0Perf0720x0480()232 public void testAvcGoog0Perf0720x0480() throws Exception { perf(AVC, 720, 480, GOOG, 0); } testAvcGoog1Qual0720x0480()233 public void testAvcGoog1Qual0720x0480() throws Exception { qual(AVC, 720, 480, GOOG, 1); } testAvcGoog1Perf0720x0480()234 public void testAvcGoog1Perf0720x0480() throws Exception { perf(AVC, 720, 480, GOOG, 1); } 235 testAvcOther0Qual0720x0480()236 public void testAvcOther0Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 0); } testAvcOther0Perf0720x0480()237 public void testAvcOther0Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 0); } testAvcOther1Qual0720x0480()238 public void testAvcOther1Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 1); } testAvcOther1Perf0720x0480()239 public void testAvcOther1Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 1); } testAvcOther2Qual0720x0480()240 public void testAvcOther2Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 2); } testAvcOther2Perf0720x0480()241 public void testAvcOther2Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 2); } testAvcOther3Qual0720x0480()242 public void testAvcOther3Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 3); } testAvcOther3Perf0720x0480()243 public void testAvcOther3Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 3); } testAvcCount1280x0720()244 public void testAvcCount1280x0720() throws Exception { count(AVC, 1280, 720, 2, 4); } testAvcGoog0Qual1280x0720()245 public void testAvcGoog0Qual1280x0720() throws Exception { qual(AVC, 1280, 720, GOOG, 0); } testAvcGoog0Perf1280x0720()246 public void testAvcGoog0Perf1280x0720() throws Exception { perf(AVC, 1280, 720, GOOG, 0); } testAvcGoog1Qual1280x0720()247 public void testAvcGoog1Qual1280x0720() throws Exception { qual(AVC, 1280, 720, GOOG, 1); } testAvcGoog1Perf1280x0720()248 public void testAvcGoog1Perf1280x0720() throws Exception { perf(AVC, 1280, 720, GOOG, 1); } 249 testAvcOther0Qual1280x0720()250 public void testAvcOther0Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 0); } testAvcOther0Perf1280x0720()251 public void testAvcOther0Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 0); } testAvcOther1Qual1280x0720()252 public void testAvcOther1Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 1); } testAvcOther1Perf1280x0720()253 public void testAvcOther1Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 1); } testAvcOther2Qual1280x0720()254 public void testAvcOther2Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 2); } testAvcOther2Perf1280x0720()255 public void testAvcOther2Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 2); } testAvcOther3Qual1280x0720()256 public void testAvcOther3Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 3); } testAvcOther3Perf1280x0720()257 public void testAvcOther3Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 3); } testAvcCount1920x1080()258 public void testAvcCount1920x1080() throws Exception { count(AVC, 1920, 1080, 2, 4); } testAvcGoog0Qual1920x1080()259 public void testAvcGoog0Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, GOOG, 0); } testAvcGoog0Perf1920x1080()260 public void testAvcGoog0Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, GOOG, 0); } testAvcGoog1Qual1920x1080()261 public void testAvcGoog1Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, GOOG, 1); } testAvcGoog1Perf1920x1080()262 public void testAvcGoog1Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, GOOG, 1); } 263 testAvcOther0Qual1920x1080()264 public void testAvcOther0Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 0); } testAvcOther0Perf1920x1080()265 public void testAvcOther0Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 0); } testAvcOther1Qual1920x1080()266 public void testAvcOther1Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 1); } testAvcOther1Perf1920x1080()267 public void testAvcOther1Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 1); } testAvcOther2Qual1920x1080()268 public void testAvcOther2Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 2); } testAvcOther2Perf1920x1080()269 public void testAvcOther2Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 2); } testAvcOther3Qual1920x1080()270 public void testAvcOther3Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 3); } testAvcOther3Perf1920x1080()271 public void testAvcOther3Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 3); } 272 273 // H263 tests testH263Count0176x0144()274 public void testH263Count0176x0144() throws Exception { count(H263, 176, 144, 2, 2); } testH263Goog0Qual0176x0144()275 public void testH263Goog0Qual0176x0144() throws Exception { qual(H263, 176, 144, GOOG, 0); } testH263Goog0Perf0176x0144()276 public void testH263Goog0Perf0176x0144() throws Exception { perf(H263, 176, 144, GOOG, 0); } testH263Goog1Qual0176x0144()277 public void testH263Goog1Qual0176x0144() throws Exception { qual(H263, 176, 144, GOOG, 1); } testH263Goog1Perf0176x0144()278 public void testH263Goog1Perf0176x0144() throws Exception { perf(H263, 176, 144, GOOG, 1); } 279 testH263Other0Qual0176x0144()280 public void testH263Other0Qual0176x0144() throws Exception { qual(H263, 176, 144, OTHER, 0); } testH263Other0Perf0176x0144()281 public void testH263Other0Perf0176x0144() throws Exception { perf(H263, 176, 144, OTHER, 0); } testH263Other1Qual0176x0144()282 public void testH263Other1Qual0176x0144() throws Exception { qual(H263, 176, 144, OTHER, 1); } testH263Other1Perf0176x0144()283 public void testH263Other1Perf0176x0144() throws Exception { perf(H263, 176, 144, OTHER, 1); } testH263Count0352x0288()284 public void testH263Count0352x0288() throws Exception { count(H263, 352, 288, 2, 2); } testH263Goog0Qual0352x0288()285 public void testH263Goog0Qual0352x0288() throws Exception { qual(H263, 352, 288, GOOG, 0); } testH263Goog0Perf0352x0288()286 public void testH263Goog0Perf0352x0288() throws Exception { perf(H263, 352, 288, GOOG, 0); } testH263Goog1Qual0352x0288()287 public void testH263Goog1Qual0352x0288() throws Exception { qual(H263, 352, 288, GOOG, 1); } testH263Goog1Perf0352x0288()288 public void testH263Goog1Perf0352x0288() throws Exception { perf(H263, 352, 288, GOOG, 1); } 289 testH263Other0Qual0352x0288()290 public void testH263Other0Qual0352x0288() throws Exception { qual(H263, 352, 288, OTHER, 0); } testH263Other0Perf0352x0288()291 public void testH263Other0Perf0352x0288() throws Exception { perf(H263, 352, 288, OTHER, 0); } testH263Other1Qual0352x0288()292 public void testH263Other1Qual0352x0288() throws Exception { qual(H263, 352, 288, OTHER, 1); } testH263Other1Perf0352x0288()293 public void testH263Other1Perf0352x0288() throws Exception { perf(H263, 352, 288, OTHER, 1); } testH263Count0704x0576()294 public void testH263Count0704x0576() throws Exception { count(H263, 704, 576, 2, 2); } testH263Goog0Qual0704x0576()295 public void testH263Goog0Qual0704x0576() throws Exception { qual(H263, 704, 576, GOOG, 0, 25); } testH263Goog0Perf0704x0576()296 public void testH263Goog0Perf0704x0576() throws Exception { perf(H263, 704, 576, GOOG, 0); } testH263Other0Qual0704x0576()297 public void testH263Other0Qual0704x0576() throws Exception { qual(H263, 704, 576, OTHER, 0, 25); } testH263Other0Perf0704x0576()298 public void testH263Other0Perf0704x0576() throws Exception { perf(H263, 704, 576, OTHER, 0); } testH263Other1Qual0704x0576()299 public void testH263Other1Qual0704x0576() throws Exception { qual(H263, 704, 576, OTHER, 1, 25); } testH263Other1Perf0704x0576()300 public void testH263Other1Perf0704x0576() throws Exception { perf(H263, 704, 576, OTHER, 1); } testH263Count1408x1152()301 public void testH263Count1408x1152() throws Exception { count(H263, 1408, 1152, 2, 2); } testH263Goog0Qual1408x1152()302 public void testH263Goog0Qual1408x1152() throws Exception { qual(H263, 1408, 1152, GOOG, 0, 25); } testH263Goog0Perf1408x1152()303 public void testH263Goog0Perf1408x1152() throws Exception { perf(H263, 1408, 1152, GOOG, 0); } testH263Other0Qual1408x1152()304 public void testH263Other0Qual1408x1152() throws Exception { qual(H263, 1408, 1152, OTHER, 0, 25); } testH263Other0Perf1408x1152()305 public void testH263Other0Perf1408x1152() throws Exception { perf(H263, 1408, 1152, OTHER, 0); } testH263Other1Qual1408x1152()306 public void testH263Other1Qual1408x1152() throws Exception { qual(H263, 1408, 1152, OTHER, 1, 25); } testH263Other1Perf1408x1152()307 public void testH263Other1Perf1408x1152() throws Exception { perf(H263, 1408, 1152, OTHER, 1); } 308 309 // HEVC tests testHevcCount0320x0240()310 public void testHevcCount0320x0240() throws Exception { count(HEVC, 320, 240, 2, 4); } testHevcGoog0Qual0320x0240()311 public void testHevcGoog0Qual0320x0240() throws Exception { qual(HEVC, 320, 240, GOOG, 0); } testHevcGoog0Perf0320x0240()312 public void testHevcGoog0Perf0320x0240() throws Exception { perf(HEVC, 320, 240, GOOG, 0); } testHevcGoog1Qual0320x0240()313 public void testHevcGoog1Qual0320x0240() throws Exception { qual(HEVC, 320, 240, GOOG, 1); } testHevcGoog1Perf0320x0240()314 public void testHevcGoog1Perf0320x0240() throws Exception { perf(HEVC, 320, 240, GOOG, 1); } 315 testHevcOther0Qual0320x0240()316 public void testHevcOther0Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 0); } testHevcOther0Perf0320x0240()317 public void testHevcOther0Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 0); } testHevcOther1Qual0320x0240()318 public void testHevcOther1Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 1); } testHevcOther1Perf0320x0240()319 public void testHevcOther1Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 1); } testHevcOther2Qual0320x0240()320 public void testHevcOther2Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 2); } testHevcOther2Perf0320x0240()321 public void testHevcOther2Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 2); } testHevcOther3Qual0320x0240()322 public void testHevcOther3Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 3); } testHevcOther3Perf0320x0240()323 public void testHevcOther3Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 3); } testHevcCount0720x0480()324 public void testHevcCount0720x0480() throws Exception { count(HEVC, 720, 480, 2, 4); } testHevcGoog0Qual0720x0480()325 public void testHevcGoog0Qual0720x0480() throws Exception { qual(HEVC, 720, 480, GOOG, 0); } testHevcGoog0Perf0720x0480()326 public void testHevcGoog0Perf0720x0480() throws Exception { perf(HEVC, 720, 480, GOOG, 0); } testHevcGoog1Qual0720x0480()327 public void testHevcGoog1Qual0720x0480() throws Exception { qual(HEVC, 720, 480, GOOG, 1); } testHevcGoog1Perf0720x0480()328 public void testHevcGoog1Perf0720x0480() throws Exception { perf(HEVC, 720, 480, GOOG, 1); } 329 testHevcOther0Qual0720x0480()330 public void testHevcOther0Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 0); } testHevcOther0Perf0720x0480()331 public void testHevcOther0Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 0); } testHevcOther1Qual0720x0480()332 public void testHevcOther1Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 1); } testHevcOther1Perf0720x0480()333 public void testHevcOther1Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 1); } testHevcOther2Qual0720x0480()334 public void testHevcOther2Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 2); } testHevcOther2Perf0720x0480()335 public void testHevcOther2Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 2); } testHevcOther3Qual0720x0480()336 public void testHevcOther3Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 3); } testHevcOther3Perf0720x0480()337 public void testHevcOther3Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 3); } testHevcCount1280x0720()338 public void testHevcCount1280x0720() throws Exception { count(HEVC, 1280, 720, 2, 4); } testHevcGoog0Qual1280x0720()339 public void testHevcGoog0Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, GOOG, 0); } testHevcGoog0Perf1280x0720()340 public void testHevcGoog0Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, GOOG, 0); } testHevcGoog1Qual1280x0720()341 public void testHevcGoog1Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, GOOG, 1); } testHevcGoog1Perf1280x0720()342 public void testHevcGoog1Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, GOOG, 1); } 343 testHevcOther0Qual1280x0720()344 public void testHevcOther0Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 0); } testHevcOther0Perf1280x0720()345 public void testHevcOther0Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 0); } testHevcOther1Qual1280x0720()346 public void testHevcOther1Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 1); } testHevcOther1Perf1280x0720()347 public void testHevcOther1Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 1); } testHevcOther2Qual1280x0720()348 public void testHevcOther2Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 2); } testHevcOther2Perf1280x0720()349 public void testHevcOther2Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 2); } testHevcOther3Qual1280x0720()350 public void testHevcOther3Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 3); } testHevcOther3Perf1280x0720()351 public void testHevcOther3Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 3); } testHevcCount1920x1080()352 public void testHevcCount1920x1080() throws Exception { count(HEVC, 1920, 1080, 2, 4); } testHevcGoog0Qual1920x1080()353 public void testHevcGoog0Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, GOOG, 0); } testHevcGoog0Perf1920x1080()354 public void testHevcGoog0Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, GOOG, 0); } testHevcGoog1Qual1920x1080()355 public void testHevcGoog1Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, GOOG, 1); } testHevcGoog1Perf1920x1080()356 public void testHevcGoog1Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, GOOG, 1); } 357 testHevcOther0Qual1920x1080()358 public void testHevcOther0Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 0); } testHevcOther0Perf1920x1080()359 public void testHevcOther0Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 0); } testHevcOther1Qual1920x1080()360 public void testHevcOther1Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 1); } testHevcOther1Perf1920x1080()361 public void testHevcOther1Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 1); } testHevcOther2Qual1920x1080()362 public void testHevcOther2Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 2); } testHevcOther2Perf1920x1080()363 public void testHevcOther2Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 2); } testHevcOther3Qual1920x1080()364 public void testHevcOther3Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 3); } testHevcOther3Perf1920x1080()365 public void testHevcOther3Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 3); } testHevcCount3840x2160()366 public void testHevcCount3840x2160() throws Exception { count(HEVC, 3840, 2160, 2, 4); } testHevcGoog0Qual3840x2160()367 public void testHevcGoog0Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, GOOG, 0); } testHevcGoog0Perf3840x2160()368 public void testHevcGoog0Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, GOOG, 0); } testHevcGoog1Qual3840x2160()369 public void testHevcGoog1Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, GOOG, 1); } testHevcGoog1Perf3840x2160()370 public void testHevcGoog1Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, GOOG, 1); } 371 testHevcOther0Qual3840x2160()372 public void testHevcOther0Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 0); } testHevcOther0Perf3840x2160()373 public void testHevcOther0Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 0); } testHevcOther1Qual3840x2160()374 public void testHevcOther1Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 1); } testHevcOther1Perf3840x2160()375 public void testHevcOther1Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 1); } testHevcOther2Qual3840x2160()376 public void testHevcOther2Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 2); } testHevcOther2Perf3840x2160()377 public void testHevcOther2Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 2); } testHevcOther3Qual3840x2160()378 public void testHevcOther3Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 3); } testHevcOther3Perf3840x2160()379 public void testHevcOther3Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 3); } 380 381 // MPEG2 tests testMpeg2Count0176x0144()382 public void testMpeg2Count0176x0144() throws Exception { count(MPEG2, 176, 144, 2, 4); } testMpeg2Goog0Qual0176x0144()383 public void testMpeg2Goog0Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, GOOG, 0); } testMpeg2Goog0Perf0176x0144()384 public void testMpeg2Goog0Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, GOOG, 0); } testMpeg2Goog1Qual0176x0144()385 public void testMpeg2Goog1Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, GOOG, 1); } testMpeg2Goog1Perf0176x0144()386 public void testMpeg2Goog1Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, GOOG, 1); } 387 testMpeg2Other0Qual0176x0144()388 public void testMpeg2Other0Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 0); } testMpeg2Other0Perf0176x0144()389 public void testMpeg2Other0Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 0); } testMpeg2Other1Qual0176x0144()390 public void testMpeg2Other1Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 1); } testMpeg2Other1Perf0176x0144()391 public void testMpeg2Other1Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 1); } testMpeg2Other2Qual0176x0144()392 public void testMpeg2Other2Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 2); } testMpeg2Other2Perf0176x0144()393 public void testMpeg2Other2Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 2); } testMpeg2Other3Qual0176x0144()394 public void testMpeg2Other3Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 3); } testMpeg2Other3Perf0176x0144()395 public void testMpeg2Other3Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 3); } testMpeg2Count0352x0288()396 public void testMpeg2Count0352x0288() throws Exception { count(MPEG2, 352, 288, 2, 4); } testMpeg2Goog0Qual0352x0288()397 public void testMpeg2Goog0Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, GOOG, 0); } testMpeg2Goog0Perf0352x0288()398 public void testMpeg2Goog0Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, GOOG, 0); } testMpeg2Goog1Qual0352x0288()399 public void testMpeg2Goog1Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, GOOG, 1); } testMpeg2Goog1Perf0352x0288()400 public void testMpeg2Goog1Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, GOOG, 1); } 401 testMpeg2Other0Qual0352x0288()402 public void testMpeg2Other0Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 0); } testMpeg2Other0Perf0352x0288()403 public void testMpeg2Other0Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 0); } testMpeg2Other1Qual0352x0288()404 public void testMpeg2Other1Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 1); } testMpeg2Other1Perf0352x0288()405 public void testMpeg2Other1Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 1); } testMpeg2Other2Qual0352x0288()406 public void testMpeg2Other2Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 2); } testMpeg2Other2Perf0352x0288()407 public void testMpeg2Other2Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 2); } testMpeg2Other3Qual0352x0288()408 public void testMpeg2Other3Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 3); } testMpeg2Other3Perf0352x0288()409 public void testMpeg2Other3Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 3); } testMpeg2Count0640x0480()410 public void testMpeg2Count0640x0480() throws Exception { count(MPEG2, 640, 480, 2, 4); } testMpeg2Goog0Qual0640x0480()411 public void testMpeg2Goog0Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, GOOG, 0); } testMpeg2Goog0Perf0640x0480()412 public void testMpeg2Goog0Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, GOOG, 0); } testMpeg2Goog1Qual0640x0480()413 public void testMpeg2Goog1Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, GOOG, 1); } testMpeg2Goog1Perf0640x0480()414 public void testMpeg2Goog1Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, GOOG, 1); } 415 testMpeg2Other0Qual0640x0480()416 public void testMpeg2Other0Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 0); } testMpeg2Other0Perf0640x0480()417 public void testMpeg2Other0Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 0); } testMpeg2Other1Qual0640x0480()418 public void testMpeg2Other1Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 1); } testMpeg2Other1Perf0640x0480()419 public void testMpeg2Other1Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 1); } testMpeg2Other2Qual0640x0480()420 public void testMpeg2Other2Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 2); } testMpeg2Other2Perf0640x0480()421 public void testMpeg2Other2Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 2); } testMpeg2Other3Qual0640x0480()422 public void testMpeg2Other3Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 3); } testMpeg2Other3Perf0640x0480()423 public void testMpeg2Other3Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 3); } testMpeg2Count1280x0720()424 public void testMpeg2Count1280x0720() throws Exception { count(MPEG2, 1280, 720, 2, 4); } testMpeg2Goog0Qual1280x0720()425 public void testMpeg2Goog0Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, GOOG, 0); } testMpeg2Goog0Perf1280x0720()426 public void testMpeg2Goog0Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, GOOG, 0); } testMpeg2Goog1Qual1280x0720()427 public void testMpeg2Goog1Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, GOOG, 1); } testMpeg2Goog1Perf1280x0720()428 public void testMpeg2Goog1Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, GOOG, 1); } 429 testMpeg2Other0Qual1280x0720()430 public void testMpeg2Other0Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 0); } testMpeg2Other0Perf1280x0720()431 public void testMpeg2Other0Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 0); } testMpeg2Other1Qual1280x0720()432 public void testMpeg2Other1Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 1); } testMpeg2Other1Perf1280x0720()433 public void testMpeg2Other1Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 1); } testMpeg2Other2Qual1280x0720()434 public void testMpeg2Other2Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 2); } testMpeg2Other2Perf1280x0720()435 public void testMpeg2Other2Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 2); } testMpeg2Other3Qual1280x0720()436 public void testMpeg2Other3Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 3); } testMpeg2Other3Perf1280x0720()437 public void testMpeg2Other3Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 3); } testMpeg2Count1920x1080()438 public void testMpeg2Count1920x1080() throws Exception { count(MPEG2, 1920, 1080, 2, 4); } testMpeg2Goog0Qual1920x1080()439 public void testMpeg2Goog0Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, GOOG, 0); } testMpeg2Goog0Perf1920x1080()440 public void testMpeg2Goog0Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, GOOG, 0); } testMpeg2Goog1Qual1920x1080()441 public void testMpeg2Goog1Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, GOOG, 1); } testMpeg2Goog1Perf1920x1080()442 public void testMpeg2Goog1Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, GOOG, 1); } 443 testMpeg2Other0Qual1920x1080()444 public void testMpeg2Other0Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 0); } testMpeg2Other0Perf1920x1080()445 public void testMpeg2Other0Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 0); } testMpeg2Other1Qual1920x1080()446 public void testMpeg2Other1Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 1); } testMpeg2Other1Perf1920x1080()447 public void testMpeg2Other1Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 1); } testMpeg2Other2Qual1920x1080()448 public void testMpeg2Other2Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 2); } testMpeg2Other2Perf1920x1080()449 public void testMpeg2Other2Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 2); } testMpeg2Other3Qual1920x1080()450 public void testMpeg2Other3Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 3); } testMpeg2Other3Perf1920x1080()451 public void testMpeg2Other3Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 3); } 452 453 // MPEG4 tests testMpeg4Count0176x0144()454 public void testMpeg4Count0176x0144() throws Exception { count(MPEG4, 176, 144, 2, 4); } testMpeg4Goog0Qual0176x0144()455 public void testMpeg4Goog0Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, GOOG, 0); } testMpeg4Goog0Perf0176x0144()456 public void testMpeg4Goog0Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, GOOG, 0); } testMpeg4Goog1Qual0176x0144()457 public void testMpeg4Goog1Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, GOOG, 1); } testMpeg4Goog1Perf0176x0144()458 public void testMpeg4Goog1Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, GOOG, 1); } 459 testMpeg4Other0Qual0176x0144()460 public void testMpeg4Other0Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 0); } testMpeg4Other0Perf0176x0144()461 public void testMpeg4Other0Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 0); } testMpeg4Other1Qual0176x0144()462 public void testMpeg4Other1Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 1); } testMpeg4Other1Perf0176x0144()463 public void testMpeg4Other1Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 1); } testMpeg4Other2Qual0176x0144()464 public void testMpeg4Other2Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 2); } testMpeg4Other2Perf0176x0144()465 public void testMpeg4Other2Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 2); } testMpeg4Other3Qual0176x0144()466 public void testMpeg4Other3Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 3); } testMpeg4Other3Perf0176x0144()467 public void testMpeg4Other3Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 3); } testMpeg4Count0352x0288()468 public void testMpeg4Count0352x0288() throws Exception { count(MPEG4, 352, 288, 2, 4); } testMpeg4Goog0Qual0352x0288()469 public void testMpeg4Goog0Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, GOOG, 0); } testMpeg4Goog0Perf0352x0288()470 public void testMpeg4Goog0Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, GOOG, 0); } testMpeg4Goog1Qual0352x0288()471 public void testMpeg4Goog1Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, GOOG, 1); } testMpeg4Goog1Perf0352x0288()472 public void testMpeg4Goog1Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, GOOG, 1); } 473 testMpeg4Other0Qual0352x0288()474 public void testMpeg4Other0Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 0); } testMpeg4Other0Perf0352x0288()475 public void testMpeg4Other0Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 0); } testMpeg4Other1Qual0352x0288()476 public void testMpeg4Other1Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 1); } testMpeg4Other1Perf0352x0288()477 public void testMpeg4Other1Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 1); } testMpeg4Other2Qual0352x0288()478 public void testMpeg4Other2Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 2); } testMpeg4Other2Perf0352x0288()479 public void testMpeg4Other2Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 2); } testMpeg4Other3Qual0352x0288()480 public void testMpeg4Other3Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 3); } testMpeg4Other3Perf0352x0288()481 public void testMpeg4Other3Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 3); } testMpeg4Count0640x0480()482 public void testMpeg4Count0640x0480() throws Exception { count(MPEG4, 640, 480, 2, 4); } testMpeg4Goog0Qual0640x0480()483 public void testMpeg4Goog0Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, GOOG, 0); } testMpeg4Goog0Perf0640x0480()484 public void testMpeg4Goog0Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, GOOG, 0); } testMpeg4Goog1Qual0640x0480()485 public void testMpeg4Goog1Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, GOOG, 1); } testMpeg4Goog1Perf0640x0480()486 public void testMpeg4Goog1Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, GOOG, 1); } 487 testMpeg4Other0Qual0640x0480()488 public void testMpeg4Other0Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 0); } testMpeg4Other0Perf0640x0480()489 public void testMpeg4Other0Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 0); } testMpeg4Other1Qual0640x0480()490 public void testMpeg4Other1Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 1); } testMpeg4Other1Perf0640x0480()491 public void testMpeg4Other1Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 1); } testMpeg4Other2Qual0640x0480()492 public void testMpeg4Other2Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 2); } testMpeg4Other2Perf0640x0480()493 public void testMpeg4Other2Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 2); } testMpeg4Other3Qual0640x0480()494 public void testMpeg4Other3Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 3); } testMpeg4Other3Perf0640x0480()495 public void testMpeg4Other3Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 3); } testMpeg4Count1280x0720()496 public void testMpeg4Count1280x0720() throws Exception { count(MPEG4, 1280, 720, 2, 4); } testMpeg4Goog0Qual1280x0720()497 public void testMpeg4Goog0Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, GOOG, 0); } testMpeg4Goog0Perf1280x0720()498 public void testMpeg4Goog0Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, GOOG, 0); } testMpeg4Goog1Qual1280x0720()499 public void testMpeg4Goog1Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, GOOG, 1); } testMpeg4Goog1Perf1280x0720()500 public void testMpeg4Goog1Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, GOOG, 1); } 501 testMpeg4Other0Qual1280x0720()502 public void testMpeg4Other0Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 0); } testMpeg4Other0Perf1280x0720()503 public void testMpeg4Other0Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 0); } testMpeg4Other1Qual1280x0720()504 public void testMpeg4Other1Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 1); } testMpeg4Other1Perf1280x0720()505 public void testMpeg4Other1Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 1); } testMpeg4Other2Qual1280x0720()506 public void testMpeg4Other2Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 2); } testMpeg4Other2Perf1280x0720()507 public void testMpeg4Other2Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 2); } testMpeg4Other3Qual1280x0720()508 public void testMpeg4Other3Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 3); } testMpeg4Other3Perf1280x0720()509 public void testMpeg4Other3Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 3); } 510 511 // VP8 tests testVp8Count0320x0180()512 public void testVp8Count0320x0180() throws Exception { count(VP8, 320, 180, 2, 2); } testVp8Goog0Qual0320x0180()513 public void testVp8Goog0Qual0320x0180() throws Exception { qual(VP8, 320, 180, GOOG, 0); } testVp8Goog0Perf0320x0180()514 public void testVp8Goog0Perf0320x0180() throws Exception { perf(VP8, 320, 180, GOOG, 0); } testVp8Goog1Qual0320x0180()515 public void testVp8Goog1Qual0320x0180() throws Exception { qual(VP8, 320, 180, GOOG, 1); } testVp8Goog1Perf0320x0180()516 public void testVp8Goog1Perf0320x0180() throws Exception { perf(VP8, 320, 180, GOOG, 1); } 517 testVp8Other0Qual0320x0180()518 public void testVp8Other0Qual0320x0180() throws Exception { qual(VP8, 320, 180, OTHER, 0); } testVp8Other0Perf0320x0180()519 public void testVp8Other0Perf0320x0180() throws Exception { perf(VP8, 320, 180, OTHER, 0); } testVp8Other1Qual0320x0180()520 public void testVp8Other1Qual0320x0180() throws Exception { qual(VP8, 320, 180, OTHER, 1); } testVp8Other1Perf0320x0180()521 public void testVp8Other1Perf0320x0180() throws Exception { perf(VP8, 320, 180, OTHER, 1); } testVp8Count0640x0360()522