tmedia_chroma_t.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 2.0.9
  4. *
  5. * Do not make changes to this file unless you know what you are doing--modify
  6. * the SWIG interface file instead.
  7. * ----------------------------------------------------------------------------- */
  8. package org.doubango.tinyWRAP;
  9. public enum tmedia_chroma_t {
  10. tmedia_chroma_none(0),
  11. tmedia_chroma_rgb24,
  12. tmedia_chroma_bgr24,
  13. tmedia_chroma_rgb32,
  14. tmedia_chroma_rgb565le,
  15. tmedia_chroma_rgb565be,
  16. tmedia_chroma_nv12,
  17. tmedia_chroma_nv21,
  18. tmedia_chroma_yuv422p,
  19. tmedia_chroma_uyvy422,
  20. tmedia_chroma_yuv420p,
  21. tmedia_chroma_mjpeg,
  22. tmedia_chroma_yuyv422;
  23. public final int swigValue() {
  24. return swigValue;
  25. }
  26. public static tmedia_chroma_t swigToEnum(int swigValue) {
  27. tmedia_chroma_t[] swigValues = tmedia_chroma_t.class.getEnumConstants();
  28. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  29. return swigValues[swigValue];
  30. for (tmedia_chroma_t swigEnum : swigValues)
  31. if (swigEnum.swigValue == swigValue)
  32. return swigEnum;
  33. throw new IllegalArgumentException("No enum " + tmedia_chroma_t.class + " with value " + swigValue);
  34. }
  35. @SuppressWarnings("unused")
  36. private tmedia_chroma_t() {
  37. this.swigValue = SwigNext.next++;
  38. }
  39. @SuppressWarnings("unused")
  40. private tmedia_chroma_t(int swigValue) {
  41. this.swigValue = swigValue;
  42. SwigNext.next = swigValue+1;
  43. }
  44. @SuppressWarnings("unused")
  45. private tmedia_chroma_t(tmedia_chroma_t swigEnum) {
  46. this.swigValue = swigEnum.swigValue;
  47. SwigNext.next = this.swigValue+1;
  48. }
  49. private final int swigValue;
  50. private static class SwigNext {
  51. private static int next = 0;
  52. }
  53. }