|
MobileFFmpeg Android API
2.2
|
Go to the source code of this file.
Macros | |
| #define | MOBILE_FFMPEG_VERSION "2.2" |
| #define | LIB_NAME "mobile-ffmpeg" |
| #define | LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LIB_NAME, __VA_ARGS__) |
| #define | LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LIB_NAME, __VA_ARGS__) |
| #define | LOGI(...) __android_log_print(ANDROID_LOG_INFO, LIB_NAME, __VA_ARGS__) |
| #define | LOGW(...) __android_log_print(ANDROID_LOG_WARN, LIB_NAME, __VA_ARGS__) |
| #define | LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LIB_NAME, __VA_ARGS__) |
Functions | |
| JNIEXPORT void JNICALL | Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection (JNIEnv *, jclass) |
| JNIEXPORT void JNICALL | Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection (JNIEnv *, jclass) |
| JNIEXPORT void JNICALL | Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel (JNIEnv *, jclass, jint) |
| JNIEXPORT jint JNICALL | Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel (JNIEnv *, jclass) |
| JNIEXPORT jstring JNICALL | Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion (JNIEnv *, jclass) |
| JNIEXPORT jstring JNICALL | Java_com_arthenica_mobileffmpeg_Config_getNativeVersion (JNIEnv *, jclass) |
| JNIEXPORT jint JNICALL | Java_com_arthenica_mobileffmpeg_Config_nativeExecute (JNIEnv *, jclass, jobjectArray) |
| JNIEXPORT void JNICALL | Java_com_arthenica_mobileffmpeg_Config_nativeCancel (JNIEnv *, jclass) |
| #define LIB_NAME "mobile-ffmpeg" |
Defines tag used for Android logging.
Definition at line 33 of file mobileffmpeg.h.
| #define LOGD | ( | ... | ) | __android_log_print(ANDROID_LOG_DEBUG, LIB_NAME, __VA_ARGS__) |
Debug Android logging macro.
Definition at line 39 of file mobileffmpeg.h.
| #define LOGE | ( | ... | ) | __android_log_print(ANDROID_LOG_ERROR, LIB_NAME, __VA_ARGS__) |
Error Android logging macro.
Definition at line 48 of file mobileffmpeg.h.
| #define LOGI | ( | ... | ) | __android_log_print(ANDROID_LOG_INFO, LIB_NAME, __VA_ARGS__) |
Info Android logging macro.
Definition at line 42 of file mobileffmpeg.h.
| #define LOGV | ( | ... | ) | __android_log_print(ANDROID_LOG_VERBOSE, LIB_NAME, __VA_ARGS__) |
Verbose Android logging macro.
Definition at line 36 of file mobileffmpeg.h.
| #define LOGW | ( | ... | ) | __android_log_print(ANDROID_LOG_WARN, LIB_NAME, __VA_ARGS__) |
Warn Android logging macro.
Definition at line 45 of file mobileffmpeg.h.
| #define MOBILE_FFMPEG_VERSION "2.2" |
Library version string
Definition at line 30 of file mobileffmpeg.h.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Disables log and statistics redirection.
| env | pointer to native method interface |
| reference | to the class on which this method is invoked |
Definition at line 569 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Enables log and statistics redirection.
| env | pointer to native method interface |
| reference | to the class on which this method is invoked |
Definition at line 542 of file mobileffmpeg.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns FFmpeg version bundled within the library natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 594 of file mobileffmpeg.c.
| JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns current log level.
| env | pointer to native method interface |
| reference | to the class on which this method is invoked |
Definition at line 532 of file mobileffmpeg.c.
| JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeVersion | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Returns MobileFFmpeg library version natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 605 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeCancel | ( | JNIEnv * | env, |
| jclass | object | ||
| ) |
Cancels an ongoing operation natively.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
Definition at line 670 of file mobileffmpeg.c.
| JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeExecute | ( | JNIEnv * | env, |
| jclass | object, | ||
| jobjectArray | stringArray | ||
| ) |
Synchronously executes FFmpeg command natively with arguments provided.
| env | pointer to native method interface |
| object | reference to the class on which this method is invoked |
| stringArray | reference to the object holding FFmpeg command arguments |
Definition at line 617 of file mobileffmpeg.c.
| JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel | ( | JNIEnv * | env, |
| jclass | object, | ||
| jint | level | ||
| ) |
Sets log level.
| env | pointer to native method interface |
| reference | to the class on which this method is invoked |
| log | level |
Definition at line 522 of file mobileffmpeg.c.
1.8.14