FFmpegKit Android API 5.1
Functions | Variables
ffmpegkit_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_ffmpegkit_AbiDetect_getNativeAbi (JNIEnv *env, jclass object)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeCpuAbi (JNIEnv *env, jclass object)
 
JNIEXPORT jboolean JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_isNativeLTSBuild (JNIEnv *env, jclass object)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeBuildConf (JNIEnv *env, jclass object)
 

Variables

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

Function Documentation

◆ Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi()

JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_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 ffmpegkit_abidetect.c.

◆ Java_com_arthenica_ffmpegkit_AbiDetect_getNativeBuildConf()

JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_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 ffmpegkit_abidetect.c.

◆ Java_com_arthenica_ffmpegkit_AbiDetect_getNativeCpuAbi()

JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_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 ffmpegkit_abidetect.c.

◆ Java_com_arthenica_ffmpegkit_AbiDetect_isNativeLTSBuild()

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

Returns whether FFmpegKit 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 ffmpegkit_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 ffmpegkit_abidetect.c.

Variable Documentation

◆ abiDetectClassName

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

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

Definition at line 25 of file ffmpegkit_abidetect.c.

◆ abiDetectMethods

JNINativeMethod abiDetectMethods[]
Initial value:
= {
{"getNativeAbi", "()Ljava/lang/String;", (void*) Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi},
{"getNativeCpuAbi", "()Ljava/lang/String;", (void*) Java_com_arthenica_ffmpegkit_AbiDetect_getNativeCpuAbi},
{"isNativeLTSBuild", "()Z", (void*) Java_com_arthenica_ffmpegkit_AbiDetect_isNativeLTSBuild},
{"getNativeBuildConf", "()Ljava/lang/String;", (void*) Java_com_arthenica_ffmpegkit_AbiDetect_getNativeBuildConf}
}
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi(JNIEnv *env, jclass object)
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeBuildConf(JNIEnv *env, jclass object)
JNIEXPORT jboolean JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_isNativeLTSBuild(JNIEnv *env, jclass object)
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeCpuAbi(JNIEnv *env, jclass object)

Prototypes of native functions defined by this file.

Definition at line 28 of file ffmpegkit_abidetect.c.