switch(testName) {
case LEVELS_VEC3_RELAXED:
return new LevelsV4(false, false);
case LEVELS_VEC4_RELAXED:
return new LevelsV4(false, true);
case LEVELS_VEC3_FULL:
return new LevelsV4(true, false);
case LEVELS_VEC4_FULL:
return new LevelsV4(true, true);
case BLUR_RADIUS_25:
return new Blur25(false);
case INTRINSIC_BLUR_RADIUS_25:
return new Blur25(true);
case GREYSCALE:
return new Greyscale();
case GRAIN:
return new Grain();
case FISHEYE_FULL:
return new Fisheye(false, false);
case FISHEYE_RELAXED:
return new Fisheye(false, true);
case FISHEYE_APPROXIMATE_FULL:
return new Fisheye(true, false);
case FISHEYE_APPROXIMATE_RELAXED:
return new Fisheye(true, true);
case VIGNETTE_FULL:
return new Vignette(false, false);
case VIGNETTE_RELAXED:
return new Vignette(false, true);
case VIGNETTE_APPROXIMATE_FULL:
return new Vignette(true, false);
case VIGNETTE_APPROXIMATE_RELAXED:
return new Vignette(true, true);
case GROUP_TEST_EMULATED:
return new GroupTest(false);
case GROUP_TEST_NATIVE:
return new GroupTest(true);
case CONVOLVE_3X3:
return new Convolve3x3(false);
case INTRINSICS_CONVOLVE_3X3:
return new Convolve3x3(true);
case COLOR_MATRIX:
return new ColorMatrix(false, false);
case INTRINSICS_COLOR_MATRIX:
return new ColorMatrix(true, false);
case INTRINSICS_COLOR_MATRIX_GREY:
return new ColorMatrix(true, true);
case COPY:
return new Copy();
case CROSS_PROCESS_USING_LUT:
return new CrossProcess();
case CONVOLVE_5X5:
return new Convolve5x5(false);
case INTRINSICS_CONVOLVE_5X5:
return new Convolve5x5(true);
case MANDELBROT_FLOAT:
return new Mandelbrot(false);
case MANDELBROT_DOUBLE:
return new Mandelbrot(true);
case INTRINSICS_BLEND:
return new Blend();
case INTRINSICS_BLUR_25G:
return new Blur25G();
case VIBRANCE:
return new Vibrance();
case BW_FILTER:
return new BWFilter();
case SHADOWS:
return new Shadows();
case CONTRAST:
return new Contrast();
case EXPOSURE:
return new Exposure();
case WHITE_BALANCE:
return new WhiteBalance();
case COLOR_CUBE:
return new ColorCube(false);
case COLOR_CUBE_3D_INTRINSIC:
return new ColorCube(true);
case ARTISTIC1:
return new Artistic1();
case RESIZE_BI_SCRIPT:
return new Resize(false);
case RESIZE_BI_INTRINSIC:
return new Resize(true);
case POSTERIZE_INVOKE:
return new Posterize(true);
case POSTERIZE_SET:
return new Posterize(false);
}
return null;