MobileFFmpeg Android API  4.4
Functions | Variables
mobileffmpeg_abidetect.c File Reference

Go to the source code of this file.

Functions

jint JNI_OnLoad (JavaVM *vm, void *reserved)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeAbi (JNIEnv *env, jclass object)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeCpuAbi (JNIEnv *env, jclass object)
 
JNIEXPORT jboolean JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_isNativeLTSBuild (JNIEnv *env, jclass object)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeBuildConf (JNIEnv *env, jclass object)
 

Variables

const char * abiDetectClassName = "com/arthenica/mobileffmpeg/AbiDetect"
 
JNINativeMethod abiDetectMethods []
 

Function Documentation

◆ Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeAbi()

JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeAbi ( JNIEnv *  env,
jclass  object 
)

Returns loaded ABI name.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
loaded ABI name as UTF string

Definition at line 70 of file mobileffmpeg_abidetect.c.

◆ Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeBuildConf()

JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeBuildConf ( JNIEnv *  env,
jclass  object 
)

Returns build configuration for FFmpeg.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
build configuration string

Definition at line 142 of file mobileffmpeg_abidetect.c.

◆ Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeCpuAbi()

JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeCpuAbi ( JNIEnv *  env,
jclass  object 
)

Returns ABI name of the running cpu.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
ABI name of the running cpu as UTF string

Definition at line 93 of file mobileffmpeg_abidetect.c.

◆ Java_com_arthenica_mobileffmpeg_AbiDetect_isNativeLTSBuild()

JNIEXPORT jboolean JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_isNativeLTSBuild ( JNIEnv *  env,
jclass  object 
)

Returns whether MobileFFmpeg release is a long term release or not.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
yes or no

Definition at line 127 of file mobileffmpeg_abidetect.c.

◆ JNI_OnLoad()

jint JNI_OnLoad ( JavaVM *  vm,
void *  reserved 
)

Called when 'abidetect' native library is loaded.

Parameters
vmpointer to the running virtual machine
reservedreserved
Returns
JNI version needed by 'abidetect' library

Definition at line 42 of file mobileffmpeg_abidetect.c.

Variable Documentation

◆ abiDetectClassName

const char* abiDetectClassName = "com/arthenica/mobileffmpeg/AbiDetect"

Full name of the Java class that owns native functions in this file.

Definition at line 25 of file mobileffmpeg_abidetect.c.

◆ abiDetectMethods

JNINativeMethod abiDetectMethods[]
Initial value:
= {
{"getNativeAbi", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeAbi},
{"getNativeCpuAbi", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeCpuAbi},
{"isNativeLTSBuild", "()Z", (void*) Java_com_arthenica_mobileffmpeg_AbiDetect_isNativeLTSBuild},
{"getNativeBuildConf", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeBuildConf}
}

Prototypes of native functions defined by this file.

Definition at line 28 of file mobileffmpeg_abidetect.c.

Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeAbi
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeAbi(JNIEnv *env, jclass object)
Definition: mobileffmpeg_abidetect.c:70
Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeBuildConf
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeBuildConf(JNIEnv *env, jclass object)
Definition: mobileffmpeg_abidetect.c:142
Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeCpuAbi
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getNativeCpuAbi(JNIEnv *env, jclass object)
Definition: mobileffmpeg_abidetect.c:93
Java_com_arthenica_mobileffmpeg_AbiDetect_isNativeLTSBuild
JNIEXPORT jboolean JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_isNativeLTSBuild(JNIEnv *env, jclass object)
Definition: mobileffmpeg_abidetect.c:127