QoS.java 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 class QoS {
  10. private long swigCPtr;
  11. protected boolean swigCMemOwn;
  12. protected QoS(long cPtr, boolean cMemoryOwn) {
  13. swigCMemOwn = cMemoryOwn;
  14. swigCPtr = cPtr;
  15. }
  16. protected static long getCPtr(QoS obj) {
  17. return (obj == null) ? 0 : obj.swigCPtr;
  18. }
  19. protected void finalize() {
  20. delete();
  21. }
  22. public synchronized void delete() {
  23. if (swigCPtr != 0) {
  24. if (swigCMemOwn) {
  25. swigCMemOwn = false;
  26. tinyWRAPJNI.delete_QoS(swigCPtr);
  27. }
  28. swigCPtr = 0;
  29. }
  30. }
  31. public float getQavg() {
  32. return tinyWRAPJNI.QoS_getQavg(swigCPtr, this);
  33. }
  34. public float getQ1() {
  35. return tinyWRAPJNI.QoS_getQ1(swigCPtr, this);
  36. }
  37. public float getQ2() {
  38. return tinyWRAPJNI.QoS_getQ2(swigCPtr, this);
  39. }
  40. public float getQ3() {
  41. return tinyWRAPJNI.QoS_getQ3(swigCPtr, this);
  42. }
  43. public float getQ4() {
  44. return tinyWRAPJNI.QoS_getQ4(swigCPtr, this);
  45. }
  46. public float getQ5() {
  47. return tinyWRAPJNI.QoS_getQ5(swigCPtr, this);
  48. }
  49. public long getVideoInWidth() {
  50. return tinyWRAPJNI.QoS_getVideoInWidth(swigCPtr, this);
  51. }
  52. public long getVideoOutWidth() {
  53. return tinyWRAPJNI.QoS_getVideoOutWidth(swigCPtr, this);
  54. }
  55. public long getVideoInHeight() {
  56. return tinyWRAPJNI.QoS_getVideoInHeight(swigCPtr, this);
  57. }
  58. public long getVideoOutHeight() {
  59. return tinyWRAPJNI.QoS_getVideoOutHeight(swigCPtr, this);
  60. }
  61. public long getBandwidthDownKbps() {
  62. return tinyWRAPJNI.QoS_getBandwidthDownKbps(swigCPtr, this);
  63. }
  64. public long getBandwidthUpKbps() {
  65. return tinyWRAPJNI.QoS_getBandwidthUpKbps(swigCPtr, this);
  66. }
  67. public long getVideoInAvgFps() {
  68. return tinyWRAPJNI.QoS_getVideoInAvgFps(swigCPtr, this);
  69. }
  70. public long getVideoDecAvgTime() {
  71. return tinyWRAPJNI.QoS_getVideoDecAvgTime(swigCPtr, this);
  72. }
  73. public long getVideoEncAvgTime() {
  74. return tinyWRAPJNI.QoS_getVideoEncAvgTime(swigCPtr, this);
  75. }
  76. }