diff options
Diffstat (limited to 'bindings/java/android/tinyWRAP_wrap.cxx')
-rwxr-xr-x | bindings/java/android/tinyWRAP_wrap.cxx | 282 |
1 files changed, 282 insertions, 0 deletions
diff --git a/bindings/java/android/tinyWRAP_wrap.cxx b/bindings/java/android/tinyWRAP_wrap.cxx index e68ff27..4ea8812 100755 --- a/bindings/java/android/tinyWRAP_wrap.cxx +++ b/bindings/java/android/tinyWRAP_wrap.cxx @@ -2407,6 +2407,241 @@ SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_ActionConfig_1se } +SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1QoS(JNIEnv *jenv, jclass jcls, jlong jarg1) { + QoS *arg1 = (QoS *) 0 ; + + (void)jenv; + (void)jcls; + arg1 = *(QoS **)&jarg1; + delete arg1; +} + + +SWIGEXPORT jfloat JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getQavg(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jfloat jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + float result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (float)(arg1)->getQavg(); + jresult = (jfloat)result; + return jresult; +} + + +SWIGEXPORT jfloat JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getQ1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jfloat jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + float result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (float)(arg1)->getQ1(); + jresult = (jfloat)result; + return jresult; +} + + +SWIGEXPORT jfloat JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getQ2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jfloat jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + float result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (float)(arg1)->getQ2(); + jresult = (jfloat)result; + return jresult; +} + + +SWIGEXPORT jfloat JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getQ3(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jfloat jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + float result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (float)(arg1)->getQ3(); + jresult = (jfloat)result; + return jresult; +} + + +SWIGEXPORT jfloat JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getQ4(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jfloat jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + float result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (float)(arg1)->getQ4(); + jresult = (jfloat)result; + return jresult; +} + + +SWIGEXPORT jfloat JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getQ5(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jfloat jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + float result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (float)(arg1)->getQ5(); + jresult = (jfloat)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoInWidth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoInWidth(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoOutWidth(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoOutWidth(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoInHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoInHeight(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoOutHeight(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoOutHeight(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getBandwidthDownKbps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getBandwidthDownKbps(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getBandwidthUpKbps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getBandwidthUpKbps(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoInAvgFps(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoInAvgFps(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoDecAvgTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoDecAvgTime(); + jresult = (jlong)result; + return jresult; +} + + +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_QoS_1getVideoEncAvgTime(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { + jlong jresult = 0 ; + QoS *arg1 = (QoS *) 0 ; + unsigned int result; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(QoS **)&jarg1; + result = (unsigned int)(arg1)->getVideoEncAvgTime(); + jresult = (jlong)result; + return jresult; +} + + SWIGEXPORT void JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_delete_1Codec(JNIEnv *jenv, jclass jcls, jlong jarg1) { Codec *arg1 = (Codec *) 0 ; @@ -2582,6 +2817,23 @@ SWIGEXPORT jint JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1 } +SWIGEXPORT jlong JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1sessionGetQoS(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { + jlong jresult = 0 ; + MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ; + twrap_media_type_t arg2 ; + QoS *result = 0 ; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(MediaSessionMgr **)&jarg1; + arg2 = (twrap_media_type_t)jarg2; + result = (QoS *)(arg1)->sessionGetQoS(arg2); + *(QoS **)&jresult = result; + return jresult; +} + + SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1consumerSetInt32(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jstring jarg3, jint jarg4) { jboolean jresult = 0 ; MediaSessionMgr *arg1 = (MediaSessionMgr *) 0 ; @@ -2925,6 +3177,36 @@ SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionM } +SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1defaultsSetPrefVideoSizeOutRange(JNIEnv *jenv, jclass jcls, jint jarg1, jint jarg2) { + jboolean jresult = 0 ; + tmedia_pref_video_size_t arg1 ; + tmedia_pref_video_size_t arg2 ; + bool result; + + (void)jenv; + (void)jcls; + arg1 = (tmedia_pref_video_size_t)jarg1; + arg2 = (tmedia_pref_video_size_t)jarg2; + result = (bool)MediaSessionMgr::defaultsSetPrefVideoSizeOutRange(arg1,arg2); + jresult = (jboolean)result; + return jresult; +} + + +SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1defaultsSetAdaptativeVideoSizeOutEnabled(JNIEnv *jenv, jclass jcls, jboolean jarg1) { + jboolean jresult = 0 ; + bool arg1 ; + bool result; + + (void)jenv; + (void)jcls; + arg1 = jarg1 ? true : false; + result = (bool)MediaSessionMgr::defaultsSetAdaptativeVideoSizeOutEnabled(arg1); + jresult = (jboolean)result; + return jresult; +} + + SWIGEXPORT jboolean JNICALL Java_org_doubango_tinyWRAP_tinyWRAPJNI_MediaSessionMgr_1defaultsSetJbMargin(JNIEnv *jenv, jclass jcls, jlong jarg1) { jboolean jresult = 0 ; uint32_t arg1 ; |