tdav_codec_id_t.java 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 tdav_codec_id_t {
  10. tdav_codec_id_none(0x00000000),
  11. tdav_codec_id_amr_nb_oa(0x00000001 << 0),
  12. tdav_codec_id_amr_nb_be(0x00000001 << 1),
  13. tdav_codec_id_amr_wb_oa(0x00000001 << 2),
  14. tdav_codec_id_amr_wb_be(0x00000001 << 3),
  15. tdav_codec_id_gsm(0x00000001 << 4),
  16. tdav_codec_id_pcma(0x00000001 << 5),
  17. tdav_codec_id_pcmu(0x00000001 << 6),
  18. tdav_codec_id_ilbc(0x00000001 << 7),
  19. tdav_codec_id_speex_nb(0x00000001 << 8),
  20. tdav_codec_id_speex_wb(0x00000001 << 9),
  21. tdav_codec_id_speex_uwb(0x00000001 << 10),
  22. tdav_codec_id_bv16(0x00000001 << 11),
  23. tdav_codec_id_bv32(0x00000001 << 12),
  24. tdav_codec_id_opus(0x00000001 << 13),
  25. tdav_codec_id_g729ab(0x00000001 << 14),
  26. tdav_codec_id_g722(0x00000001 << 15),
  27. tdav_codec_id_h261(0x00010000 << 0),
  28. tdav_codec_id_h263(0x00010000 << 1),
  29. tdav_codec_id_h263p(0x00010000 << 2),
  30. tdav_codec_id_h263pp(0x00010000 << 3),
  31. tdav_codec_id_h264_bp(0x00010000 << 4),
  32. tdav_codec_id_h264_mp(0x00010000 << 5),
  33. tdav_codec_id_h264_hp(0x00010000 << 6),
  34. tdav_codec_id_h264_bp10(tdav_codec_id_h264_bp),
  35. tdav_codec_id_h264_bp20(tdav_codec_id_h264_bp),
  36. tdav_codec_id_h264_bp30(tdav_codec_id_h264_bp),
  37. tdav_codec_id_h264_svc(0x00010000 << 7),
  38. tdav_codec_id_theora(0x00010000 << 8),
  39. tdav_codec_id_mp4ves_es(0x00010000 << 9),
  40. tdav_codec_id_vp8(0x00010000 << 10),
  41. tdav_codec_id_t140(0x00010000 << 14),
  42. tdav_codec_id_red(0x00010000 << 15);
  43. public final int swigValue() {
  44. return swigValue;
  45. }
  46. public static tdav_codec_id_t swigToEnum(int swigValue) {
  47. tdav_codec_id_t[] swigValues = tdav_codec_id_t.class.getEnumConstants();
  48. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  49. return swigValues[swigValue];
  50. for (tdav_codec_id_t swigEnum : swigValues)
  51. if (swigEnum.swigValue == swigValue)
  52. return swigEnum;
  53. throw new IllegalArgumentException("No enum " + tdav_codec_id_t.class + " with value " + swigValue);
  54. }
  55. @SuppressWarnings("unused")
  56. private tdav_codec_id_t() {
  57. this.swigValue = SwigNext.next++;
  58. }
  59. @SuppressWarnings("unused")
  60. private tdav_codec_id_t(int swigValue) {
  61. this.swigValue = swigValue;
  62. SwigNext.next = swigValue+1;
  63. }
  64. @SuppressWarnings("unused")
  65. private tdav_codec_id_t(tdav_codec_id_t swigEnum) {
  66. this.swigValue = swigEnum.swigValue;
  67. SwigNext.next = this.swigValue+1;
  68. }
  69. private final int swigValue;
  70. private static class SwigNext {
  71. private static int next = 0;
  72. }
  73. }