|
Urbi SDK Remote for Java
2.7.3
|
00001 /* ---------------------------------------------------------------------------- 00002 * This file was automatically generated by SWIG (http://www.swig.org). 00003 * Version 2.0.4 00004 * 00005 * Do not make changes to this file unless you know what you are doing--modify 00006 * the SWIG interface file instead. 00007 * ----------------------------------------------------------------------------- */ 00008 00009 package urbi; 00010 00011 public enum UImageFormat { 00012 IMAGE_UNKNOWN(0), 00013 IMAGE_RGB(1), 00014 IMAGE_YCbCr(2), 00015 IMAGE_YUV(2), 00016 IMAGE_JPEG(3), 00017 IMAGE_PPM(4), 00018 IMAGE_YUV422(5), 00019 IMAGE_GREY8(6), 00020 IMAGE_GREY4(7), 00021 IMAGE_YUV411_PLANAR(8), 00022 IMAGE_NV12(9), 00023 IMAGE_YUV420_PLANAR(10); 00024 00025 public final int swigValue() { 00026 return swigValue; 00027 } 00028 00029 public static UImageFormat swigToEnum(int swigValue) { 00030 UImageFormat[] swigValues = UImageFormat.class.getEnumConstants(); 00031 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) 00032 return swigValues[swigValue]; 00033 for (UImageFormat swigEnum : swigValues) 00034 if (swigEnum.swigValue == swigValue) 00035 return swigEnum; 00036 throw new IllegalArgumentException("No enum " + UImageFormat.class + " with value " + swigValue); 00037 } 00038 00039 @SuppressWarnings("unused") 00040 private UImageFormat() { 00041 this.swigValue = SwigNext.next++; 00042 } 00043 00044 @SuppressWarnings("unused") 00045 private UImageFormat(int swigValue) { 00046 this.swigValue = swigValue; 00047 SwigNext.next = swigValue+1; 00048 } 00049 00050 @SuppressWarnings("unused") 00051 private UImageFormat(UImageFormat swigEnum) { 00052 this.swigValue = swigEnum.swigValue; 00053 SwigNext.next = this.swigValue+1; 00054 } 00055 00056 private final int swigValue; 00057 00058 private static class SwigNext { 00059 private static int next = 0; 00060 } 00061 } 00062