tmedia_codec_id_t.java 2.9 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 tmedia_codec_id_t {
  10. tmedia_codec_id_none(0x00000000),
  11. tmedia_codec_id_amr_nb_oa(0x00000001 << 0),
  12. tmedia_codec_id_amr_nb_be(0x00000001 << 1),
  13. tmedia_codec_id_amr_wb_oa(0x00000001 << 2),
  14. tmedia_codec_id_amr_wb_be(0x00000001 << 3),
  15. tmedia_codec_id_gsm(0x00000001 << 4),
  16. tmedia_codec_id_pcma(0x00000001 << 5),
  17. tmedia_codec_id_pcmu(0x00000001 << 6),
  18. tmedia_codec_id_ilbc(0x00000001 << 7),
  19. tmedia_codec_id_speex_nb(0x00000001 << 8),
  20. tmedia_codec_id_speex_wb(0x00000001 << 9),
  21. tmedia_codec_id_speex_uwb(0x00000001 << 10),
  22. tmedia_codec_id_bv16(0x00000001 << 11),
  23. tmedia_codec_id_bv32(0x00000001 << 12),
  24. tmedia_codec_id_opus(0x00000001 << 13),
  25. tmedia_codec_id_g729ab(0x00000001 << 14),
  26. tmedia_codec_id_g722(0x00000001 << 15),
  27. tmedia_codec_id_h261(0x00010000 << 0),
  28. tmedia_codec_id_h263(0x00010000 << 1),
  29. tmedia_codec_id_h263p(0x00010000 << 2),
  30. tmedia_codec_id_h263pp(0x00010000 << 3),
  31. tmedia_codec_id_h264_bp(0x00010000 << 4),
  32. tmedia_codec_id_h264_mp(0x00010000 << 5),
  33. tmedia_codec_id_h264_hp(0x00010000 << 6),
  34. tmedia_codec_id_h264_bp10(tmedia_codec_id_h264_bp),
  35. tmedia_codec_id_h264_bp20(tmedia_codec_id_h264_bp),
  36. tmedia_codec_id_h264_bp30(tmedia_codec_id_h264_bp),
  37. tmedia_codec_id_h264_svc(0x00010000 << 7),
  38. tmedia_codec_id_theora(0x00010000 << 8),
  39. tmedia_codec_id_mp4ves_es(0x00010000 << 9),
  40. tmedia_codec_id_vp8(0x00010000 << 10),
  41. tmedia_codec_id_t140(0x00010000 << 14),
  42. tmedia_codec_id_red(0x00010000 << 15);
  43. public final int swigValue() {
  44. return swigValue;
  45. }
  46. public static tmedia_codec_id_t swigToEnum(int swigValue) {
  47. tmedia_codec_id_t[] swigValues = tmedia_codec_id_t.class.getEnumConstants();
  48. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  49. return swigValues[swigValue];
  50. for (tmedia_codec_id_t swigEnum : swigValues)
  51. if (swigEnum.swigValue == swigValue)
  52. return swigEnum;
  53. throw new IllegalArgumentException("No enum " + tmedia_codec_id_t.class + " with value " + swigValue);
  54. }
  55. @SuppressWarnings("unused")
  56. private tmedia_codec_id_t() {
  57. this.swigValue = SwigNext.next++;
  58. }
  59. @SuppressWarnings("unused")
  60. private tmedia_codec_id_t(int swigValue) {
  61. this.swigValue = swigValue;
  62. SwigNext.next = swigValue+1;
  63. }
  64. @SuppressWarnings("unused")
  65. private tmedia_codec_id_t(tmedia_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. }