mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-06 07:56:22 +00:00
20 lines
370 B
Java
20 lines
370 B
Java
package com.limelight.binding.video;
|
|
|
|
/**
|
|
* JNI Decoder bindings
|
|
* @author Iwan Timmer
|
|
*/
|
|
public class OmxDecoder {
|
|
static {
|
|
System.loadLibrary("nv_omx_dec");
|
|
}
|
|
|
|
public static native int init();
|
|
|
|
public static native void stop();
|
|
|
|
public static native void destroy();
|
|
|
|
public static native int decode(byte[] indata, int inoff, int inlen, boolean last);
|
|
}
|