QoS.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. namespace org.doubango.tinyWRAP {
  9. using System;
  10. using System.Runtime.InteropServices;
  11. public class QoS : IDisposable {
  12. private HandleRef swigCPtr;
  13. protected bool swigCMemOwn;
  14. internal QoS(IntPtr cPtr, bool cMemoryOwn) {
  15. swigCMemOwn = cMemoryOwn;
  16. swigCPtr = new HandleRef(this, cPtr);
  17. }
  18. internal static HandleRef getCPtr(QoS obj) {
  19. return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  20. }
  21. ~QoS() {
  22. Dispose();
  23. }
  24. public virtual void Dispose() {
  25. lock(this) {
  26. if (swigCPtr.Handle != IntPtr.Zero) {
  27. if (swigCMemOwn) {
  28. swigCMemOwn = false;
  29. tinyWRAPPINVOKE.delete_QoS(swigCPtr);
  30. }
  31. swigCPtr = new HandleRef(null, IntPtr.Zero);
  32. }
  33. GC.SuppressFinalize(this);
  34. }
  35. }
  36. public float getQavg() {
  37. float ret = tinyWRAPPINVOKE.QoS_getQavg(swigCPtr);
  38. return ret;
  39. }
  40. public float getQ1() {
  41. float ret = tinyWRAPPINVOKE.QoS_getQ1(swigCPtr);
  42. return ret;
  43. }
  44. public float getQ2() {
  45. float ret = tinyWRAPPINVOKE.QoS_getQ2(swigCPtr);
  46. return ret;
  47. }
  48. public float getQ3() {
  49. float ret = tinyWRAPPINVOKE.QoS_getQ3(swigCPtr);
  50. return ret;
  51. }
  52. public float getQ4() {
  53. float ret = tinyWRAPPINVOKE.QoS_getQ4(swigCPtr);
  54. return ret;
  55. }
  56. public float getQ5() {
  57. float ret = tinyWRAPPINVOKE.QoS_getQ5(swigCPtr);
  58. return ret;
  59. }
  60. public uint getVideoInWidth() {
  61. uint ret = tinyWRAPPINVOKE.QoS_getVideoInWidth(swigCPtr);
  62. return ret;
  63. }
  64. public uint getVideoOutWidth() {
  65. uint ret = tinyWRAPPINVOKE.QoS_getVideoOutWidth(swigCPtr);
  66. return ret;
  67. }
  68. public uint getVideoInHeight() {
  69. uint ret = tinyWRAPPINVOKE.QoS_getVideoInHeight(swigCPtr);
  70. return ret;
  71. }
  72. public uint getVideoOutHeight() {
  73. uint ret = tinyWRAPPINVOKE.QoS_getVideoOutHeight(swigCPtr);
  74. return ret;
  75. }
  76. public uint getBandwidthDownKbps() {
  77. uint ret = tinyWRAPPINVOKE.QoS_getBandwidthDownKbps(swigCPtr);
  78. return ret;
  79. }
  80. public uint getBandwidthUpKbps() {
  81. uint ret = tinyWRAPPINVOKE.QoS_getBandwidthUpKbps(swigCPtr);
  82. return ret;
  83. }
  84. public uint getVideoInAvgFps() {
  85. uint ret = tinyWRAPPINVOKE.QoS_getVideoInAvgFps(swigCPtr);
  86. return ret;
  87. }
  88. public uint getVideoDecAvgTime() {
  89. uint ret = tinyWRAPPINVOKE.QoS_getVideoDecAvgTime(swigCPtr);
  90. return ret;
  91. }
  92. public uint getVideoEncAvgTime() {
  93. uint ret = tinyWRAPPINVOKE.QoS_getVideoEncAvgTime(swigCPtr);
  94. return ret;
  95. }
  96. }
  97. }