diff options
author | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
---|---|---|
committer | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
commit | 9350baf5a3444cc035bd5eedcded04b1fe823228 (patch) | |
tree | fa358e21d292a0d71297803f8a4b6d8d681d3139 /branches/1.0/bindings/java/ProxyVideoFrame.java | |
parent | b7cca8f4573552bc6950a5c289b9578511557d8f (diff) | |
download | doubango-9350baf5a3444cc035bd5eedcded04b1fe823228.zip doubango-9350baf5a3444cc035bd5eedcded04b1fe823228.tar.gz |
Move deprecated v1.0 from trunk to branches
Diffstat (limited to 'branches/1.0/bindings/java/ProxyVideoFrame.java')
-rw-r--r-- | branches/1.0/bindings/java/ProxyVideoFrame.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/branches/1.0/bindings/java/ProxyVideoFrame.java b/branches/1.0/bindings/java/ProxyVideoFrame.java new file mode 100644 index 0000000..34a01ca --- /dev/null +++ b/branches/1.0/bindings/java/ProxyVideoFrame.java @@ -0,0 +1,44 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 1.3.39 + * + * 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 ProxyVideoFrame { + private long swigCPtr; + protected boolean swigCMemOwn; + + protected ProxyVideoFrame(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(ProxyVideoFrame obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if(swigCPtr != 0 && swigCMemOwn) { + swigCMemOwn = false; + tinyWRAPJNI.delete_ProxyVideoFrame(swigCPtr); + } + swigCPtr = 0; + } + + public long getSize() { + return tinyWRAPJNI.ProxyVideoFrame_getSize(swigCPtr, this); + } + + public long getContent(java.nio.ByteBuffer output, long maxsize) { + return tinyWRAPJNI.ProxyVideoFrame_getContent(swigCPtr, this, output, maxsize); + } + +} |