You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.2 KiB
75 lines
2.2 KiB
/*
|
|
* Copyright (c) 2018-2020 Taner Sener
|
|
*
|
|
* This file is part of FFmpegKit.
|
|
*
|
|
* FFmpegKit is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* FFmpegKit is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef FFMPEG_KIT_ABIDETECT_H
|
|
#define FFMPEG_KIT_ABIDETECT_H
|
|
|
|
#include <jni.h>
|
|
#include "ffmpegkit.h"
|
|
|
|
/** Represents armeabi-v7a ABI with NEON support. */
|
|
#define ABI_ARMV7A_NEON "armeabi-v7a-neon"
|
|
|
|
/** Represents armeabi-v7a ABI. */
|
|
#define ABI_ARMV7A "armeabi-v7a"
|
|
|
|
/** Represents armeabi ABI. */
|
|
#define ABI_ARM "armeabi"
|
|
|
|
/** Represents x86 ABI. */
|
|
#define ABI_X86 "x86"
|
|
|
|
/** Represents x86_64 ABI. */
|
|
#define ABI_X86_64 "x86_64"
|
|
|
|
/** Represents arm64-v8a ABI. */
|
|
#define ABI_ARM64_V8A "arm64-v8a"
|
|
|
|
/** Represents not supported ABIs. */
|
|
#define ABI_UNKNOWN "unknown"
|
|
|
|
/*
|
|
* Class: com_arthenica_ffmpegkit_AbiDetect
|
|
* Method: getNativeAbi
|
|
* Signature: ()Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeAbi(JNIEnv *, jclass);
|
|
|
|
/*
|
|
* Class: com_arthenica_ffmpegkit_AbiDetect
|
|
* Method: getNativeCpuAbi
|
|
* Signature: ()Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeCpuAbi(JNIEnv *, jclass);
|
|
|
|
/**
|
|
* Class: com_arthenica_ffmpegkit_AbiDetect
|
|
* Method: isNativeLTSBuild
|
|
* Signature: ()Z
|
|
*/
|
|
JNIEXPORT jboolean JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_isNativeLTSBuild(JNIEnv *, jclass);
|
|
|
|
/*
|
|
* Class: com_arthenica_ffmpegkit_AbiDetect
|
|
* Method: getNativeBuildConf
|
|
* Signature: ()Ljava/lang/String;
|
|
*/
|
|
JNIEXPORT jstring JNICALL Java_com_arthenica_ffmpegkit_AbiDetect_getNativeBuildConf(JNIEnv *, jclass);
|
|
|
|
#endif /* FFMPEG_KIT_ABIDETECT_H */
|
|
|