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 @Override setUp()147 protected void setUp() throws Exception { 148 mEncodedOutputBuffer = new LinkedList<Pair<ByteBuffer, BufferInfo>>(); 149 mRmsErrorMargin = PIXEL_RMS_ERROR_MARGIN; 150 // Use time as a seed, hoping to prevent checking pixels in the same pattern 151 long now = System.currentTimeMillis(); 152 mRandom = new Random(now); 153 mTestConfig = new TestConfig(); 154 super.setUp(); 155 } 156 157 @Override tearDown()158 protected void tearDown() throws Exception { 159 mEncodedOutputBuffer.clear(); 160 mEncodedOutputBuffer = null; 161 mYBuffer = null; 162 mUVBuffer = null; 163 mYDirectBuffer = null; 164 mUVDirectBuffer = null; 165 mRandom = null; 166 mTestConfig = null; 167 super.tearDown(); 168 } 169 count(String mime, int width, int height, int numGoog, int numOther)170 private void count(String mime, int width, int height, int numGoog, int numOther) 171 throws Exception { 172 MediaFormat format = MediaFormat.createVideoFormat(mime, width, height); 173 MediaUtils.verifyNumCodecs(numGoog, true /* isEncoder */, true /* isGoog */, format); 174 MediaUtils.verifyNumCodecs(numOther, true /* isEncoder */, false /* isGoog */, format); 175 } 176 177 /** run performance test. */ perf(String mimeType, int w, int h, boolean isGoog, int ix)178 private void perf(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { 179 doTest(mimeType, w, h, true /* isPerf */, isGoog, ix); 180 } 181 182 /** run quality test. */ qual(String mimeType, int w, int h, boolean isGoog, int ix)183 private void qual(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { 184 doTest(mimeType, w, h, false /* isPerf */, isGoog, ix); 185 } 186 187 /** run quality test but do not report error. */ qual(String mimeType, int w, int h, boolean isGoog, int ix, double margin)188 private void qual(String mimeType, int w, int h, boolean isGoog, int ix, double margin) 189 throws Exception { 190 mRmsErrorMargin = margin; 191 doTest(mimeType, w, h, false /* isPerf */, isGoog, ix); 192 } 193 194 // Poor man's Parametrized test as this test must still run on CTSv1 runner. 195 196 // The count tests are to ensure this Cts test covers all encoders. Add further 197 // tests and change the count if there can be more encoders. 198 199 // AVC tests testAvcCount0320x0240()200 public void testAvcCount0320x0240() throws Exception { count(AVC, 320, 240, 2, 4); } testAvcGoog0Qual0320x0240()201 public void testAvcGoog0Qual0320x0240() throws Exception { qual(AVC, 320, 240, GOOG, 0); } testAvcGoog0Perf0320x0240()202 public void testAvcGoog0Perf0320x0240() throws Exception { perf(AVC, 320, 240, GOOG, 0); } testAvcGoog1Qual0320x0240()203 public void testAvcGoog1Qual0320x0240() throws Exception { qual(AVC, 320, 240, GOOG, 1); } testAvcGoog1Perf0320x0240()204 public void testAvcGoog1Perf0320x0240() throws Exception { perf(AVC, 320, 240, GOOG, 1); } 205 testAvcOther0Qual0320x0240()206 public void testAvcOther0Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 0); } testAvcOther0Perf0320x0240()207 public void testAvcOther0Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 0); } testAvcOther1Qual0320x0240()208 public void testAvcOther1Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 1); } testAvcOther1Perf0320x0240()209 public void testAvcOther1Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 1); } testAvcOther2Qual0320x0240()210 public void testAvcOther2Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 2); } testAvcOther2Perf0320x0240()211 public void testAvcOther2Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 2); } testAvcOther3Qual0320x0240()212 public void testAvcOther3Qual0320x0240() throws Exception { qual(AVC, 320, 240, OTHER, 3); } testAvcOther3Perf0320x0240()213 public void testAvcOther3Perf0320x0240() throws Exception { perf(AVC, 320, 240, OTHER, 3); } testAvcCount0720x0480()214 public void testAvcCount0720x0480() throws Exception { count(AVC, 720, 480, 2, 4); } testAvcGoog0Qual0720x0480()215 public void testAvcGoog0Qual0720x0480() throws Exception { qual(AVC, 720, 480, GOOG, 0); } testAvcGoog0Perf0720x0480()216 public void testAvcGoog0Perf0720x0480() throws Exception { perf(AVC, 720, 480, GOOG, 0); } testAvcGoog1Qual0720x0480()217 public void testAvcGoog1Qual0720x0480() throws Exception { qual(AVC, 720, 480, GOOG, 1); } testAvcGoog1Perf0720x0480()218 public void testAvcGoog1Perf0720x0480() throws Exception { perf(AVC, 720, 480, GOOG, 1); } 219 testAvcOther0Qual0720x0480()220 public void testAvcOther0Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 0); } testAvcOther0Perf0720x0480()221 public void testAvcOther0Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 0); } testAvcOther1Qual0720x0480()222 public void testAvcOther1Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 1); } testAvcOther1Perf0720x0480()223 public void testAvcOther1Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 1); } testAvcOther2Qual0720x0480()224 public void testAvcOther2Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 2); } testAvcOther2Perf0720x0480()225 public void testAvcOther2Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 2); } testAvcOther3Qual0720x0480()226 public void testAvcOther3Qual0720x0480() throws Exception { qual(AVC, 720, 480, OTHER, 3); } testAvcOther3Perf0720x0480()227 public void testAvcOther3Perf0720x0480() throws Exception { perf(AVC, 720, 480, OTHER, 3); } testAvcCount1280x0720()228 public void testAvcCount1280x0720() throws Exception { count(AVC, 1280, 720, 2, 4); } testAvcGoog0Qual1280x0720()229 public void testAvcGoog0Qual1280x0720() throws Exception { qual(AVC, 1280, 720, GOOG, 0); } testAvcGoog0Perf1280x0720()230 public void testAvcGoog0Perf1280x0720() throws Exception { perf(AVC, 1280, 720, GOOG, 0); } testAvcGoog1Qual1280x0720()231 public void testAvcGoog1Qual1280x0720() throws Exception { qual(AVC, 1280, 720, GOOG, 1); } testAvcGoog1Perf1280x0720()232 public void testAvcGoog1Perf1280x0720() throws Exception { perf(AVC, 1280, 720, GOOG, 1); } 233 testAvcOther0Qual1280x0720()234 public void testAvcOther0Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 0); } testAvcOther0Perf1280x0720()235 public void testAvcOther0Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 0); } testAvcOther1Qual1280x0720()236 public void testAvcOther1Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 1); } testAvcOther1Perf1280x0720()237 public void testAvcOther1Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 1); } testAvcOther2Qual1280x0720()238 public void testAvcOther2Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 2); } testAvcOther2Perf1280x0720()239 public void testAvcOther2Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 2); } testAvcOther3Qual1280x0720()240 public void testAvcOther3Qual1280x0720() throws Exception { qual(AVC, 1280, 720, OTHER, 3); } testAvcOther3Perf1280x0720()241 public void testAvcOther3Perf1280x0720() throws Exception { perf(AVC, 1280, 720, OTHER, 3); } testAvcCount1920x1080()242 public void testAvcCount1920x1080() throws Exception { count(AVC, 1920, 1080, 2, 4); } testAvcGoog0Qual1920x1080()243 public void testAvcGoog0Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, GOOG, 0); } testAvcGoog0Perf1920x1080()244 public void testAvcGoog0Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, GOOG, 0); } testAvcGoog1Qual1920x1080()245 public void testAvcGoog1Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, GOOG, 1); } testAvcGoog1Perf1920x1080()246 public void testAvcGoog1Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, GOOG, 1); } 247 testAvcOther0Qual1920x1080()248 public void testAvcOther0Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 0); } testAvcOther0Perf1920x1080()249 public void testAvcOther0Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 0); } testAvcOther1Qual1920x1080()250 public void testAvcOther1Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 1); } testAvcOther1Perf1920x1080()251 public void testAvcOther1Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 1); } testAvcOther2Qual1920x1080()252 public void testAvcOther2Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 2); } testAvcOther2Perf1920x1080()253 public void testAvcOther2Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 2); } testAvcOther3Qual1920x1080()254 public void testAvcOther3Qual1920x1080() throws Exception { qual(AVC, 1920, 1080, OTHER, 3); } testAvcOther3Perf1920x1080()255 public void testAvcOther3Perf1920x1080() throws Exception { perf(AVC, 1920, 1080, OTHER, 3); } 256 257 // H263 tests testH263Count0176x0144()258 public void testH263Count0176x0144() throws Exception { count(H263, 176, 144, 2, 2); } testH263Goog0Qual0176x0144()259 public void testH263Goog0Qual0176x0144() throws Exception { qual(H263, 176, 144, GOOG, 0); } testH263Goog0Perf0176x0144()260 public void testH263Goog0Perf0176x0144() throws Exception { perf(H263, 176, 144, GOOG, 0); } testH263Goog1Qual0176x0144()261 public void testH263Goog1Qual0176x0144() throws Exception { qual(H263, 176, 144, GOOG, 1); } testH263Goog1Perf0176x0144()262 public void testH263Goog1Perf0176x0144() throws Exception { perf(H263, 176, 144, GOOG, 1); } 263 testH263Other0Qual0176x0144()264 public void testH263Other0Qual0176x0144() throws Exception { qual(H263, 176, 144, OTHER, 0); } testH263Other0Perf0176x0144()265 public void testH263Other0Perf0176x0144() throws Exception { perf(H263, 176, 144, OTHER, 0); } testH263Other1Qual0176x0144()266 public void testH263Other1Qual0176x0144() throws Exception { qual(H263, 176, 144, OTHER, 1); } testH263Other1Perf0176x0144()267 public void testH263Other1Perf0176x0144() throws Exception { perf(H263, 176, 144, OTHER, 1); } testH263Count0352x0288()268 public void testH263Count0352x0288() throws Exception { count(H263, 352, 288, 2, 2); } testH263Goog0Qual0352x0288()269 public void testH263Goog0Qual0352x0288() throws Exception { qual(H263, 352, 288, GOOG, 0); } testH263Goog0Perf0352x0288()270 public void testH263Goog0Perf0352x0288() throws Exception { perf(H263, 352, 288, GOOG, 0); } testH263Goog1Qual0352x0288()271 public void testH263Goog1Qual0352x0288() throws Exception { qual(H263, 352, 288, GOOG, 1); } testH263Goog1Perf0352x0288()272 public void testH263Goog1Perf0352x0288() throws Exception { perf(H263, 352, 288, GOOG, 1); } 273 testH263Other0Qual0352x0288()274 public void testH263Other0Qual0352x0288() throws Exception { qual(H263, 352, 288, OTHER, 0); } testH263Other0Perf0352x0288()275 public void testH263Other0Perf0352x0288() throws Exception { perf(H263, 352, 288, OTHER, 0); } testH263Other1Qual0352x0288()276 public void testH263Other1Qual0352x0288() throws Exception { qual(H263, 352, 288, OTHER, 1); } testH263Other1Perf0352x0288()277 public void testH263Other1Perf0352x0288() throws Exception { perf(H263, 352, 288, OTHER, 1); } testH263Count0704x0576()278 public void testH263Count0704x0576() throws Exception { count(H263, 704, 576, 2, 2); } testH263Goog0Qual0704x0576()279 public void testH263Goog0Qual0704x0576() throws Exception { qual(H263, 704, 576, GOOG, 0, 25); } testH263Goog0Perf0704x0576()280 public void testH263Goog0Perf0704x0576() throws Exception { perf(H263, 704, 576, GOOG, 0); } testH263Other0Qual0704x0576()281 public void testH263Other0Qual0704x0576() throws Exception { qual(H263, 704, 576, OTHER, 0, 25); } testH263Other0Perf0704x0576()282 public void testH263Other0Perf0704x0576() throws Exception { perf(H263, 704, 576, OTHER, 0); } testH263Other1Qual0704x0576()283 public void testH263Other1Qual0704x0576() throws Exception { qual(H263, 704, 576, OTHER, 1, 25); } testH263Other1Perf0704x0576()284 public void testH263Other1Perf0704x0576() throws Exception { perf(H263, 704, 576, OTHER, 1); } testH263Count1408x1152()285 public void testH263Count1408x1152() throws Exception { count(H263, 1408, 1152, 2, 2); } testH263Goog0Qual1408x1152()286 public void testH263Goog0Qual1408x1152() throws Exception { qual(H263, 1408, 1152, GOOG, 0, 25); } testH263Goog0Perf1408x1152()287 public void testH263Goog0Perf1408x1152() throws Exception { perf(H263, 1408, 1152, GOOG, 0); } testH263Other0Qual1408x1152()288 public void testH263Other0Qual1408x1152() throws Exception { qual(H263, 1408, 1152, OTHER, 0, 25); } testH263Other0Perf1408x1152()289 public void testH263Other0Perf1408x1152() throws Exception { perf(H263, 1408, 1152, OTHER, 0); } testH263Other1Qual1408x1152()290 public void testH263Other1Qual1408x1152() throws Exception { qual(H263, 1408, 1152, OTHER, 1, 25); } testH263Other1Perf1408x1152()291 public void testH263Other1Perf1408x1152() throws Exception { perf(H263, 1408, 1152, OTHER, 1); } 292 293 // HEVC tests testHevcCount0320x0240()294 public void testHevcCount0320x0240() throws Exception { count(HEVC, 320, 240, 2, 4); } testHevcGoog0Qual0320x0240()295 public void testHevcGoog0Qual0320x0240() throws Exception { qual(HEVC, 320, 240, GOOG, 0); } testHevcGoog0Perf0320x0240()296 public void testHevcGoog0Perf0320x0240() throws Exception { perf(HEVC, 320, 240, GOOG, 0); } testHevcGoog1Qual0320x0240()297 public void testHevcGoog1Qual0320x0240() throws Exception { qual(HEVC, 320, 240, GOOG, 1); } testHevcGoog1Perf0320x0240()298 public void testHevcGoog1Perf0320x0240() throws Exception { perf(HEVC, 320, 240, GOOG, 1); } 299 testHevcOther0Qual0320x0240()300 public void testHevcOther0Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 0); } testHevcOther0Perf0320x0240()301 public void testHevcOther0Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 0); } testHevcOther1Qual0320x0240()302 public void testHevcOther1Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 1); } testHevcOther1Perf0320x0240()303 public void testHevcOther1Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 1); } testHevcOther2Qual0320x0240()304 public void testHevcOther2Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 2); } testHevcOther2Perf0320x0240()305 public void testHevcOther2Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 2); } testHevcOther3Qual0320x0240()306 public void testHevcOther3Qual0320x0240() throws Exception { qual(HEVC, 320, 240, OTHER, 3); } testHevcOther3Perf0320x0240()307 public void testHevcOther3Perf0320x0240() throws Exception { perf(HEVC, 320, 240, OTHER, 3); } testHevcCount0720x0480()308 public void testHevcCount0720x0480() throws Exception { count(HEVC, 720, 480, 2, 4); } testHevcGoog0Qual0720x0480()309 public void testHevcGoog0Qual0720x0480() throws Exception { qual(HEVC, 720, 480, GOOG, 0); } testHevcGoog0Perf0720x0480()310 public void testHevcGoog0Perf0720x0480() throws Exception { perf(HEVC, 720, 480, GOOG, 0); } testHevcGoog1Qual0720x0480()311 public void testHevcGoog1Qual0720x0480() throws Exception { qual(HEVC, 720, 480, GOOG, 1); } testHevcGoog1Perf0720x0480()312 public void testHevcGoog1Perf0720x0480() throws Exception { perf(HEVC, 720, 480, GOOG, 1); } 313 testHevcOther0Qual0720x0480()314 public void testHevcOther0Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 0); } testHevcOther0Perf0720x0480()315 public void testHevcOther0Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 0); } testHevcOther1Qual0720x0480()316 public void testHevcOther1Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 1); } testHevcOther1Perf0720x0480()317 public void testHevcOther1Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 1); } testHevcOther2Qual0720x0480()318 public void testHevcOther2Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 2); } testHevcOther2Perf0720x0480()319 public void testHevcOther2Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 2); } testHevcOther3Qual0720x0480()320 public void testHevcOther3Qual0720x0480() throws Exception { qual(HEVC, 720, 480, OTHER, 3); } testHevcOther3Perf0720x0480()321 public void testHevcOther3Perf0720x0480() throws Exception { perf(HEVC, 720, 480, OTHER, 3); } testHevcCount1280x0720()322 public void testHevcCount1280x0720() throws Exception { count(HEVC, 1280, 720, 2, 4); } testHevcGoog0Qual1280x0720()323 public void testHevcGoog0Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, GOOG, 0); } testHevcGoog0Perf1280x0720()324 public void testHevcGoog0Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, GOOG, 0); } testHevcGoog1Qual1280x0720()325 public void testHevcGoog1Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, GOOG, 1); } testHevcGoog1Perf1280x0720()326 public void testHevcGoog1Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, GOOG, 1); } 327 testHevcOther0Qual1280x0720()328 public void testHevcOther0Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 0); } testHevcOther0Perf1280x0720()329 public void testHevcOther0Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 0); } testHevcOther1Qual1280x0720()330 public void testHevcOther1Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 1); } testHevcOther1Perf1280x0720()331 public void testHevcOther1Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 1); } testHevcOther2Qual1280x0720()332 public void testHevcOther2Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 2); } testHevcOther2Perf1280x0720()333 public void testHevcOther2Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 2); } testHevcOther3Qual1280x0720()334 public void testHevcOther3Qual1280x0720() throws Exception { qual(HEVC, 1280, 720, OTHER, 3); } testHevcOther3Perf1280x0720()335 public void testHevcOther3Perf1280x0720() throws Exception { perf(HEVC, 1280, 720, OTHER, 3); } testHevcCount1920x1080()336 public void testHevcCount1920x1080() throws Exception { count(HEVC, 1920, 1080, 2, 4); } testHevcGoog0Qual1920x1080()337 public void testHevcGoog0Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, GOOG, 0); } testHevcGoog0Perf1920x1080()338 public void testHevcGoog0Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, GOOG, 0); } testHevcGoog1Qual1920x1080()339 public void testHevcGoog1Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, GOOG, 1); } testHevcGoog1Perf1920x1080()340 public void testHevcGoog1Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, GOOG, 1); } 341 testHevcOther0Qual1920x1080()342 public void testHevcOther0Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 0); } testHevcOther0Perf1920x1080()343 public void testHevcOther0Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 0); } testHevcOther1Qual1920x1080()344 public void testHevcOther1Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 1); } testHevcOther1Perf1920x1080()345 public void testHevcOther1Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 1); } testHevcOther2Qual1920x1080()346 public void testHevcOther2Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 2); } testHevcOther2Perf1920x1080()347 public void testHevcOther2Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 2); } testHevcOther3Qual1920x1080()348 public void testHevcOther3Qual1920x1080() throws Exception { qual(HEVC, 1920, 1080, OTHER, 3); } testHevcOther3Perf1920x1080()349 public void testHevcOther3Perf1920x1080() throws Exception { perf(HEVC, 1920, 1080, OTHER, 3); } testHevcCount3840x2160()350 public void testHevcCount3840x2160() throws Exception { count(HEVC, 3840, 2160, 2, 4); } testHevcGoog0Qual3840x2160()351 public void testHevcGoog0Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, GOOG, 0); } testHevcGoog0Perf3840x2160()352 public void testHevcGoog0Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, GOOG, 0); } testHevcGoog1Qual3840x2160()353 public void testHevcGoog1Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, GOOG, 1); } testHevcGoog1Perf3840x2160()354 public void testHevcGoog1Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, GOOG, 1); } 355 testHevcOther0Qual3840x2160()356 public void testHevcOther0Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 0); } testHevcOther0Perf3840x2160()357 public void testHevcOther0Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 0); } testHevcOther1Qual3840x2160()358 public void testHevcOther1Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 1); } testHevcOther1Perf3840x2160()359 public void testHevcOther1Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 1); } testHevcOther2Qual3840x2160()360 public void testHevcOther2Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 2); } testHevcOther2Perf3840x2160()361 public void testHevcOther2Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 2); } testHevcOther3Qual3840x2160()362 public void testHevcOther3Qual3840x2160() throws Exception { qual(HEVC, 3840, 2160, OTHER, 3); } testHevcOther3Perf3840x2160()363 public void testHevcOther3Perf3840x2160() throws Exception { perf(HEVC, 3840, 2160, OTHER, 3); } 364 365 // MPEG2 tests testMpeg2Count0176x0144()366 public void testMpeg2Count0176x0144() throws Exception { count(MPEG2, 176, 144, 2, 4); } testMpeg2Goog0Qual0176x0144()367 public void testMpeg2Goog0Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, GOOG, 0); } testMpeg2Goog0Perf0176x0144()368 public void testMpeg2Goog0Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, GOOG, 0); } testMpeg2Goog1Qual0176x0144()369 public void testMpeg2Goog1Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, GOOG, 1); } testMpeg2Goog1Perf0176x0144()370 public void testMpeg2Goog1Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, GOOG, 1); } 371 testMpeg2Other0Qual0176x0144()372 public void testMpeg2Other0Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 0); } testMpeg2Other0Perf0176x0144()373 public void testMpeg2Other0Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 0); } testMpeg2Other1Qual0176x0144()374 public void testMpeg2Other1Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 1); } testMpeg2Other1Perf0176x0144()375 public void testMpeg2Other1Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 1); } testMpeg2Other2Qual0176x0144()376 public void testMpeg2Other2Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 2); } testMpeg2Other2Perf0176x0144()377 public void testMpeg2Other2Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 2); } testMpeg2Other3Qual0176x0144()378 public void testMpeg2Other3Qual0176x0144() throws Exception { qual(MPEG2, 176, 144, OTHER, 3); } testMpeg2Other3Perf0176x0144()379 public void testMpeg2Other3Perf0176x0144() throws Exception { perf(MPEG2, 176, 144, OTHER, 3); } testMpeg2Count0352x0288()380 public void testMpeg2Count0352x0288() throws Exception { count(MPEG2, 352, 288, 2, 4); } testMpeg2Goog0Qual0352x0288()381 public void testMpeg2Goog0Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, GOOG, 0); } testMpeg2Goog0Perf0352x0288()382 public void testMpeg2Goog0Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, GOOG, 0); } testMpeg2Goog1Qual0352x0288()383 public void testMpeg2Goog1Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, GOOG, 1); } testMpeg2Goog1Perf0352x0288()384 public void testMpeg2Goog1Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, GOOG, 1); } 385 testMpeg2Other0Qual0352x0288()386 public void testMpeg2Other0Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 0); } testMpeg2Other0Perf0352x0288()387 public void testMpeg2Other0Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 0); } testMpeg2Other1Qual0352x0288()388 public void testMpeg2Other1Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 1); } testMpeg2Other1Perf0352x0288()389 public void testMpeg2Other1Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 1); } testMpeg2Other2Qual0352x0288()390 public void testMpeg2Other2Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 2); } testMpeg2Other2Perf0352x0288()391 public void testMpeg2Other2Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 2); } testMpeg2Other3Qual0352x0288()392 public void testMpeg2Other3Qual0352x0288() throws Exception { qual(MPEG2, 352, 288, OTHER, 3); } testMpeg2Other3Perf0352x0288()393 public void testMpeg2Other3Perf0352x0288() throws Exception { perf(MPEG2, 352, 288, OTHER, 3); } testMpeg2Count0640x0480()394 public void testMpeg2Count0640x0480() throws Exception { count(MPEG2, 640, 480, 2, 4); } testMpeg2Goog0Qual0640x0480()395 public void testMpeg2Goog0Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, GOOG, 0); } testMpeg2Goog0Perf0640x0480()396 public void testMpeg2Goog0Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, GOOG, 0); } testMpeg2Goog1Qual0640x0480()397 public void testMpeg2Goog1Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, GOOG, 1); } testMpeg2Goog1Perf0640x0480()398 public void testMpeg2Goog1Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, GOOG, 1); } 399 testMpeg2Other0Qual0640x0480()400 public void testMpeg2Other0Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 0); } testMpeg2Other0Perf0640x0480()401 public void testMpeg2Other0Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 0); } testMpeg2Other1Qual0640x0480()402 public void testMpeg2Other1Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 1); } testMpeg2Other1Perf0640x0480()403 public void testMpeg2Other1Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 1); } testMpeg2Other2Qual0640x0480()404 public void testMpeg2Other2Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 2); } testMpeg2Other2Perf0640x0480()405 public void testMpeg2Other2Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 2); } testMpeg2Other3Qual0640x0480()406 public void testMpeg2Other3Qual0640x0480() throws Exception { qual(MPEG2, 640, 480, OTHER, 3); } testMpeg2Other3Perf0640x0480()407 public void testMpeg2Other3Perf0640x0480() throws Exception { perf(MPEG2, 640, 480, OTHER, 3); } testMpeg2Count1280x0720()408 public void testMpeg2Count1280x0720() throws Exception { count(MPEG2, 1280, 720, 2, 4); } testMpeg2Goog0Qual1280x0720()409 public void testMpeg2Goog0Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, GOOG, 0); } testMpeg2Goog0Perf1280x0720()410 public void testMpeg2Goog0Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, GOOG, 0); } testMpeg2Goog1Qual1280x0720()411 public void testMpeg2Goog1Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, GOOG, 1); } testMpeg2Goog1Perf1280x0720()412 public void testMpeg2Goog1Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, GOOG, 1); } 413 testMpeg2Other0Qual1280x0720()414 public void testMpeg2Other0Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 0); } testMpeg2Other0Perf1280x0720()415 public void testMpeg2Other0Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 0); } testMpeg2Other1Qual1280x0720()416 public void testMpeg2Other1Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 1); } testMpeg2Other1Perf1280x0720()417 public void testMpeg2Other1Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 1); } testMpeg2Other2Qual1280x0720()418 public void testMpeg2Other2Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 2); } testMpeg2Other2Perf1280x0720()419 public void testMpeg2Other2Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 2); } testMpeg2Other3Qual1280x0720()420 public void testMpeg2Other3Qual1280x0720() throws Exception { qual(MPEG2, 1280, 720, OTHER, 3); } testMpeg2Other3Perf1280x0720()421 public void testMpeg2Other3Perf1280x0720() throws Exception { perf(MPEG2, 1280, 720, OTHER, 3); } testMpeg2Count1920x1080()422 public void testMpeg2Count1920x1080() throws Exception { count(MPEG2, 1920, 1080, 2, 4); } testMpeg2Goog0Qual1920x1080()423 public void testMpeg2Goog0Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, GOOG, 0); } testMpeg2Goog0Perf1920x1080()424 public void testMpeg2Goog0Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, GOOG, 0); } testMpeg2Goog1Qual1920x1080()425 public void testMpeg2Goog1Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, GOOG, 1); } testMpeg2Goog1Perf1920x1080()426 public void testMpeg2Goog1Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, GOOG, 1); } 427 testMpeg2Other0Qual1920x1080()428 public void testMpeg2Other0Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 0); } testMpeg2Other0Perf1920x1080()429 public void testMpeg2Other0Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 0); } testMpeg2Other1Qual1920x1080()430 public void testMpeg2Other1Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 1); } testMpeg2Other1Perf1920x1080()431 public void testMpeg2Other1Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 1); } testMpeg2Other2Qual1920x1080()432 public void testMpeg2Other2Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 2); } testMpeg2Other2Perf1920x1080()433 public void testMpeg2Other2Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 2); } testMpeg2Other3Qual1920x1080()434 public void testMpeg2Other3Qual1920x1080() throws Exception { qual(MPEG2, 1920, 1080, OTHER, 3); } testMpeg2Other3Perf1920x1080()435 public void testMpeg2Other3Perf1920x1080() throws Exception { perf(MPEG2, 1920, 1080, OTHER, 3); } 436 437 // MPEG4 tests testMpeg4Count0176x0144()438 public void testMpeg4Count0176x0144() throws Exception { count(MPEG4, 176, 144, 2, 4); } testMpeg4Goog0Qual0176x0144()439 public void testMpeg4Goog0Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, GOOG, 0); } testMpeg4Goog0Perf0176x0144()440 public void testMpeg4Goog0Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, GOOG, 0); } testMpeg4Goog1Qual0176x0144()441 public void testMpeg4Goog1Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, GOOG, 1); } testMpeg4Goog1Perf0176x0144()442 public void testMpeg4Goog1Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, GOOG, 1); } 443 testMpeg4Other0Qual0176x0144()444 public void testMpeg4Other0Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 0); } testMpeg4Other0Perf0176x0144()445 public void testMpeg4Other0Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 0); } testMpeg4Other1Qual0176x0144()446 public void testMpeg4Other1Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 1); } testMpeg4Other1Perf0176x0144()447 public void testMpeg4Other1Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 1); } testMpeg4Other2Qual0176x0144()448 public void testMpeg4Other2Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 2); } testMpeg4Other2Perf0176x0144()449 public void testMpeg4Other2Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 2); } testMpeg4Other3Qual0176x0144()450 public void testMpeg4Other3Qual0176x0144() throws Exception { qual(MPEG4, 176, 144, OTHER, 3); } testMpeg4Other3Perf0176x0144()451 public void testMpeg4Other3Perf0176x0144() throws Exception { perf(MPEG4, 176, 144, OTHER, 3); } testMpeg4Count0352x0288()452 public void testMpeg4Count0352x0288() throws Exception { count(MPEG4, 352, 288, 2, 4); } testMpeg4Goog0Qual0352x0288()453 public void testMpeg4Goog0Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, GOOG, 0); } testMpeg4Goog0Perf0352x0288()454 public void testMpeg4Goog0Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, GOOG, 0); } testMpeg4Goog1Qual0352x0288()455 public void testMpeg4Goog1Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, GOOG, 1); } testMpeg4Goog1Perf0352x0288()456 public void testMpeg4Goog1Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, GOOG, 1); } 457 testMpeg4Other0Qual0352x0288()458 public void testMpeg4Other0Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 0); } testMpeg4Other0Perf0352x0288()459 public void testMpeg4Other0Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 0); } testMpeg4Other1Qual0352x0288()460 public void testMpeg4Other1Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 1); } testMpeg4Other1Perf0352x0288()461 public void testMpeg4Other1Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 1); } testMpeg4Other2Qual0352x0288()462 public void testMpeg4Other2Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 2); } testMpeg4Other2Perf0352x0288()463 public void testMpeg4Other2Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 2); } testMpeg4Other3Qual0352x0288()464 public void testMpeg4Other3Qual0352x0288() throws Exception { qual(MPEG4, 352, 288, OTHER, 3); } testMpeg4Other3Perf0352x0288()465 public void testMpeg4Other3Perf0352x0288() throws Exception { perf(MPEG4, 352, 288, OTHER, 3); } testMpeg4Count0640x0480()466 public void testMpeg4Count0640x0480() throws Exception { count(MPEG4, 640, 480, 2, 4); } testMpeg4Goog0Qual0640x0480()467 public void testMpeg4Goog0Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, GOOG, 0); } testMpeg4Goog0Perf0640x0480()468 public void testMpeg4Goog0Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, GOOG, 0); } testMpeg4Goog1Qual0640x0480()469 public void testMpeg4Goog1Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, GOOG, 1); } testMpeg4Goog1Perf0640x0480()470 public void testMpeg4Goog1Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, GOOG, 1); } 471 testMpeg4Other0Qual0640x0480()472 public void testMpeg4Other0Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 0); } testMpeg4Other0Perf0640x0480()473 public void testMpeg4Other0Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 0); } testMpeg4Other1Qual0640x0480()474 public void testMpeg4Other1Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 1); } testMpeg4Other1Perf0640x0480()475 public void testMpeg4Other1Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 1); } testMpeg4Other2Qual0640x0480()476 public void testMpeg4Other2Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 2); } testMpeg4Other2Perf0640x0480()477 public void testMpeg4Other2Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 2); } testMpeg4Other3Qual0640x0480()478 public void testMpeg4Other3Qual0640x0480() throws Exception { qual(MPEG4, 640, 480, OTHER, 3); } testMpeg4Other3Perf0640x0480()479 public void testMpeg4Other3Perf0640x0480() throws Exception { perf(MPEG4, 640, 480, OTHER, 3); } testMpeg4Count1280x0720()480 public void testMpeg4Count1280x0720() throws Exception { count(MPEG4, 1280, 720, 2, 4); } testMpeg4Goog0Qual1280x0720()481 public void testMpeg4Goog0Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, GOOG, 0); } testMpeg4Goog0Perf1280x0720()482 public void testMpeg4Goog0Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, GOOG, 0); } testMpeg4Goog1Qual1280x0720()483 public void testMpeg4Goog1Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, GOOG, 1); } testMpeg4Goog1Perf1280x0720()484 public void testMpeg4Goog1Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, GOOG, 1); } 485 testMpeg4Other0Qual1280x0720()486 public void testMpeg4Other0Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 0); } testMpeg4Other0Perf1280x0720()487 public void testMpeg4Other0Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 0); } testMpeg4Other1Qual1280x0720()488 public void testMpeg4Other1Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 1); } testMpeg4Other1Perf1280x0720()489 public void testMpeg4Other1Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 1); } testMpeg4Other2Qual1280x0720()490 public void testMpeg4Other2Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 2); } testMpeg4Other2Perf1280x0720()491 public void testMpeg4Other2Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 2); } testMpeg4Other3Qual1280x0720()492 public void testMpeg4Other3Qual1280x0720() throws Exception { qual(MPEG4, 1280, 720, OTHER, 3); } testMpeg4Other3Perf1280x0720()493 public void testMpeg4Other3Perf1280x0720() throws Exception { perf(MPEG4, 1280, 720, OTHER, 3); } 494 495 // VP8 tests testVp8Count0320x0180()496 public void testVp8Count0320x0180() throws Exception { count(VP8, 320, 180, 2, 2); } testVp8Goog0Qual0320x0180()497 public void testVp8Goog0Qual0320x0180() throws Exception { qual(VP8, 320, 180, GOOG, 0); } testVp8Goog0Perf0320x0180()498 public void testVp8Goog0Perf0320x0180() throws Exception { perf(VP8, 320, 180, GOOG, 0); } testVp8Goog1Qual0320x0180()499 public void testVp8Goog1Qual0320x0180() throws Exception { qual(VP8, 320, 180, GOOG, 1); } testVp8Goog1Perf0320x0180()500 public void testVp8Goog1Perf0320x0180() throws Exception { perf(VP8, 320, 180, GOOG, 1); } 501 testVp8Other0Qual0320x0180()502 public void testVp8Other0Qual0320x0180() throws Exception { qual(VP8, 320, 180, OTHER, 0); } testVp8Other0Perf0320x0180()503 public void testVp8Other0Perf0320x0180() throws Exception { perf(VP8, 320, 180, OTHER, 0); } testVp8Other1Qual0320x0180()504 public void testVp8Other1Qual0320x0180() throws Exception { qual(VP8, 320, 180, OTHER, 1); } testVp8Other1Perf0320x0180()505 public void testVp8Other1Perf0320x0180() throws Exception { perf(VP8, 320, 180, OTHER, 1); } testVp8Count0640x0360()506