NativeEncoder_mspublic final class NativeEncoder_ms extends JavaEncoder_ms MS GSM encoder plugin wrapper, which uses native methods to do the encoding. |
Fields Summary |
---|
public static final String | a_copyright_notice
Licensed Materials - Property of IBM
"Restricted Materials of IBM"
5648-B81
(c) Copyright IBM Corporation 1997,1999 All Rights Reserved
US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with
IBM Corporation. | int | nativeData |
Constructors Summary |
---|
public NativeEncoder_ms()
////////////////////////////////////////////////////////////////////////////
// Methods
|
Methods Summary |
---|
public void | close()
freeNative();
| protected native boolean | codecProcess(byte[] inpData, int readPtr, byte[] outData, int writePtr, int inpLength, int[] readBytes, int[] writeBytes, int[] frameNumber, int[] regions, int[] regionsTypes)
| public void | codecReset()
resetNative();
| protected native void | freeNative()
| protected native void | initNative()
| public void | open()
try {
JMFSecurityManager.loadLibrary("jmutil");
JMFSecurityManager.loadLibrary("jmgsm");
initNative();
return;
} catch (Throwable t) {
System.out.println(t);
}
throw new ResourceUnavailableException("Unable to load "+PLUGIN_NAME);
| protected native void | resetNative()
|
|