2011-03-25 09:38:07 +00:00
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
2014-11-18 21:05:40 +00:00
|
|
|
* Version 2.0.9
|
2011-03-25 09:38:07 +00:00
|
|
|
*
|
|
|
|
* Do not make changes to this file unless you know what you are doing--modify
|
|
|
|
* the SWIG interface file instead.
|
|
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
package org.doubango.tinyWRAP;
|
|
|
|
|
|
|
|
public class ProxyVideoProducer extends ProxyPlugin {
|
|
|
|
private long swigCPtr;
|
|
|
|
|
2012-11-02 16:24:29 +00:00
|
|
|
protected ProxyVideoProducer(long cPtr, boolean cMemoryOwn) {
|
2014-11-18 21:05:40 +00:00
|
|
|
super(tinyWRAPJNI.ProxyVideoProducer_SWIGUpcast(cPtr), cMemoryOwn);
|
2011-03-25 09:38:07 +00:00
|
|
|
swigCPtr = cPtr;
|
|
|
|
}
|
|
|
|
|
2012-11-02 16:24:29 +00:00
|
|
|
protected static long getCPtr(ProxyVideoProducer obj) {
|
2011-03-25 09:38:07 +00:00
|
|
|
return (obj == null) ? 0 : obj.swigCPtr;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected void finalize() {
|
|
|
|
delete();
|
|
|
|
}
|
|
|
|
|
|
|
|
public synchronized void delete() {
|
2012-05-02 10:42:55 +00:00
|
|
|
if (swigCPtr != 0) {
|
|
|
|
if (swigCMemOwn) {
|
|
|
|
swigCMemOwn = false;
|
|
|
|
tinyWRAPJNI.delete_ProxyVideoProducer(swigCPtr);
|
|
|
|
}
|
|
|
|
swigCPtr = 0;
|
2011-03-25 09:38:07 +00:00
|
|
|
}
|
|
|
|
super.delete();
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getRotation() {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_getRotation(swigCPtr, this);
|
|
|
|
}
|
|
|
|
|
2011-07-29 02:30:45 +00:00
|
|
|
public boolean setRotation(int nRot) {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_setRotation(swigCPtr, this, nRot);
|
|
|
|
}
|
|
|
|
|
2014-12-29 02:14:53 +00:00
|
|
|
public boolean getMirror() {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_getMirror(swigCPtr, this);
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean setMirror(boolean bMirror) {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_setMirror(swigCPtr, this, bMirror);
|
|
|
|
}
|
|
|
|
|
2011-07-29 02:30:45 +00:00
|
|
|
public boolean setActualCameraOutputSize(long nWidth, long nHeight) {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_setActualCameraOutputSize(swigCPtr, this, nWidth, nHeight);
|
2011-03-25 09:38:07 +00:00
|
|
|
}
|
|
|
|
|
2011-03-26 15:15:35 +00:00
|
|
|
public int push(java.nio.ByteBuffer pBuffer, long nSize) {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_push(swigCPtr, this, pBuffer, nSize);
|
2011-03-25 09:38:07 +00:00
|
|
|
}
|
|
|
|
|
2011-03-26 15:15:35 +00:00
|
|
|
public void setCallback(ProxyVideoProducerCallback pCallback) {
|
|
|
|
tinyWRAPJNI.ProxyVideoProducer_setCallback(swigCPtr, this, ProxyVideoProducerCallback.getCPtr(pCallback), pCallback);
|
2011-03-25 09:38:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public java.math.BigInteger getMediaSessionId() {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_getMediaSessionId(swigCPtr, this);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static boolean registerPlugin() {
|
|
|
|
return tinyWRAPJNI.ProxyVideoProducer_registerPlugin();
|
|
|
|
}
|
|
|
|
|
2011-03-26 15:15:35 +00:00
|
|
|
public static void setDefaultChroma(tmedia_chroma_t eChroma) {
|
|
|
|
tinyWRAPJNI.ProxyVideoProducer_setDefaultChroma(eChroma.swigValue());
|
2011-03-25 09:38:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|