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