MobileFFmpeg Android API  4.4
Data Structures | Functions | Variables
mobileffmpeg.c File Reference

Go to the source code of this file.

Data Structures

struct  CallbackData
 

Functions

int ffmpeg_execute (int argc, char **argv)
 
static const char * avutil_log_get_level_str (int level)
 
static void avutil_log_format_line (void *avcl, int level, const char *fmt, va_list vl, AVBPrint part[4], int *print_prefix)
 
static void avutil_log_sanitize (uint8_t *line)
 
void mutexInit ()
 
void monitorInit ()
 
void logInit ()
 
void executionMapLockInit ()
 
void mutexUnInit ()
 
void monitorUnInit ()
 
void logUnInit ()
 
void executionMapLockUnInit ()
 
void mutexLock ()
 
void lastCommandOutputLock ()
 
void executionMapLock ()
 
void mutexUnlock ()
 
void lastCommandOutputUnlock ()
 
void executionMapUnlock ()
 
void clearLastCommandOutput ()
 
void appendLastCommandOutput (AVBPrint *logMessage)
 
void monitorWait (int milliSeconds)
 
void monitorNotify ()
 
void logCallbackDataAdd (int level, AVBPrint *data)
 
void statisticsCallbackDataAdd (int frameNumber, float fps, float quality, int64_t size, int time, double bitrate, double speed)
 
void addExecution (long id)
 
struct CallbackDatacallbackDataRemove ()
 
void removeExecution (long id)
 
int cancelRequested (long id)
 
void mobileffmpeg_log_callback_function (void *ptr, int level, const char *format, va_list vargs)
 
void mobileffmpeg_statistics_callback_function (int frameNumber, float fps, float quality, int64_t size, int time, double bitrate, double speed)
 
void * callbackThreadFunction ()
 
jint JNI_OnLoad (JavaVM *vm, void *reserved)
 
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel (JNIEnv *env, jclass object, jint level)
 
JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel (JNIEnv *env, jclass object)
 
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection (JNIEnv *env, jclass object)
 
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection (JNIEnv *env, jclass object)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion (JNIEnv *env, jclass object)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeVersion (JNIEnv *env, jclass object)
 
JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute (JNIEnv *env, jclass object, jlong id, jobjectArray stringArray)
 
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel (JNIEnv *env, jclass object, jlong id)
 
JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe (JNIEnv *env, jclass object, jstring ffmpegPipePath)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeBuildDate (JNIEnv *env, jclass object)
 
JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable (JNIEnv *env, jclass object, jstring variableName, jstring variableValue)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLastCommandOutput (JNIEnv *env, jclass object)
 
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal (JNIEnv *env, jclass object, jint signum)
 

Variables

const int EXECUTION_MAP_SIZE = 1000
 
static volatile int executionMap [EXECUTION_MAP_SIZE]
 
static pthread_mutex_t executionMapMutex
 
static pthread_mutex_t lockMutex
 
static pthread_mutex_t monitorMutex
 
static pthread_cond_t monitorCondition
 
static pthread_mutex_t logMutex
 
static AVBPrint lastCommandOutput
 
pthread_t callbackThread
 
int redirectionEnabled
 
struct CallbackDatacallbackDataHead
 
struct CallbackDatacallbackDataTail
 
static JavaVM * globalVm
 
static jclass configClass
 
static jmethodID logMethod
 
static jmethodID statisticsMethod
 
static jclass stringClass
 
static jmethodID stringConstructor
 
const char * configClassName = "com/arthenica/mobileffmpeg/Config"
 
const char * stringClassName = "java/lang/String"
 
volatile int handleSIGQUIT = 1
 
volatile int handleSIGINT = 1
 
volatile int handleSIGTERM = 1
 
volatile int handleSIGXCPU = 1
 
volatile int handleSIGPIPE = 1
 
__thread volatile long executionId = 0
 
JNINativeMethod configMethods []
 

Function Documentation

◆ addExecution()

void addExecution ( long  id)

Adds an execution id to the execution map.

Parameters
idexecution id

Definition at line 405 of file mobileffmpeg.c.

◆ appendLastCommandOutput()

void appendLastCommandOutput ( AVBPrint *  logMessage)

Definition at line 282 of file mobileffmpeg.c.

◆ avutil_log_format_line()

static void avutil_log_format_line ( void *  avcl,
int  level,
const char *  fmt,
va_list  vl,
AVBPrint  part[4],
int print_prefix 
)
static

Definition at line 150 of file mobileffmpeg.c.

◆ avutil_log_get_level_str()

static const char* avutil_log_get_level_str ( int  level)
static

Definition at line 125 of file mobileffmpeg.c.

◆ avutil_log_sanitize()

static void avutil_log_sanitize ( uint8_t *  line)
static

Definition at line 182 of file mobileffmpeg.c.

◆ callbackDataRemove()

struct CallbackData* callbackDataRemove ( )

Removes head of callback data list.

Definition at line 417 of file mobileffmpeg.c.

◆ callbackThreadFunction()

void* callbackThreadFunction ( )

Forwards callback messages to Java classes.

Definition at line 545 of file mobileffmpeg.c.

◆ cancelRequested()

int cancelRequested ( long  id)

Checks whether a cancel request for the given execution id exists in the execution map.

Parameters
idexecution id
Returns
1 if exists, false otherwise

Definition at line 466 of file mobileffmpeg.c.

◆ clearLastCommandOutput()

void clearLastCommandOutput ( )

Forward declaration for function defined in mobileffmpeg.c

Definition at line 276 of file mobileffmpeg.c.

◆ executionMapLock()

void executionMapLock ( )

Definition at line 260 of file mobileffmpeg.c.

◆ executionMapLockInit()

void executionMapLockInit ( )

Definition at line 226 of file mobileffmpeg.c.

◆ executionMapLockUnInit()

void executionMapLockUnInit ( )

Definition at line 248 of file mobileffmpeg.c.

◆ executionMapUnlock()

void executionMapUnlock ( )

Definition at line 272 of file mobileffmpeg.c.

◆ ffmpeg_execute()

int ffmpeg_execute ( int  argc,
char **  argv 
)

Forward declaration for function defined in fftools_ffmpeg.c

Definition at line 5070 of file fftools_ffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection()

JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection ( JNIEnv *  env,
jclass  object 
)

Disables log and statistics redirection.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked

Definition at line 735 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection()

JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection ( JNIEnv *  env,
jclass  object 
)

Enables log and statistics redirection.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked

Definition at line 708 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_getNativeBuildDate()

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

Returns MobileFFmpeg library build date natively.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
MobileFFmpeg library build date

Definition at line 873 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion()

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

Returns FFmpeg version bundled within the library natively.

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

Definition at line 760 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_getNativeLastCommandOutput()

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

Returns log output of the last executed command natively.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
output of the last executed command

Definition at line 906 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel()

JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel ( JNIEnv *  env,
jclass  object 
)

Returns current log level.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked

Definition at line 698 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_getNativeVersion()

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

Returns MobileFFmpeg library version natively.

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

Definition at line 771 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal()

JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal ( JNIEnv *  env,
jclass  object,
jint  signum 
)

Registers a new ignored signal. Ignored signals are not handled by the library.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
signumsignal number

Definition at line 925 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel()

JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel ( JNIEnv *  env,
jclass  object,
jlong  id 
)

Cancels an ongoing FFmpeg operation natively.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
idexecution id

Definition at line 848 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute()

JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute ( JNIEnv *  env,
jclass  object,
jlong  id,
jobjectArray  stringArray 
)

Synchronously executes FFmpeg natively with arguments provided.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
idexecution id
stringArrayreference to the object holding FFmpeg command arguments
Returns
zero on successful execution, non-zero on error

Definition at line 784 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe()

JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe ( JNIEnv *  env,
jclass  object,
jstring  ffmpegPipePath 
)

Creates natively a new named pipe to use in FFmpeg operations.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
ffmpegPipePathfull path of ffmpeg pipe
Returns
zero on successful creation, non-zero on error

Definition at line 860 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable()

JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable ( JNIEnv *  env,
jclass  object,
jstring  variableName,
jstring  variableValue 
)

Sets an environment variable natively

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
variableNameenvironment variable name
variableValueenvironment variable value
Returns
zero on success, non-zero on error

Definition at line 888 of file mobileffmpeg.c.

◆ Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel()

JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel ( JNIEnv *  env,
jclass  object,
jint  level 
)

Sets log level.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
levellog level

Definition at line 688 of file mobileffmpeg.c.

◆ JNI_OnLoad()

jint JNI_OnLoad ( JavaVM *  vm,
void *  reserved 
)

Called when 'mobileffmpeg' native library is loaded.

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

Definition at line 615 of file mobileffmpeg.c.

◆ lastCommandOutputLock()

void lastCommandOutputLock ( )

Definition at line 256 of file mobileffmpeg.c.

◆ lastCommandOutputUnlock()

void lastCommandOutputUnlock ( )

Definition at line 268 of file mobileffmpeg.c.

◆ logCallbackDataAdd()

void logCallbackDataAdd ( int  level,
AVBPrint *  data 
)

Adds log data to the end of callback data list.

Parameters
levellog level
datalog data

Definition at line 324 of file mobileffmpeg.c.

◆ logInit()

void logInit ( )

Definition at line 215 of file mobileffmpeg.c.

◆ logUnInit()

void logUnInit ( )

Definition at line 244 of file mobileffmpeg.c.

◆ mobileffmpeg_log_callback_function()

void mobileffmpeg_log_callback_function ( void *  ptr,
int  level,
const char *  format,
va_list  vargs 
)

Callback function for FFmpeg logs.

Parameters
ptrpointer to AVClass struct
levellog level
formatformat string
vargsarguments

Definition at line 489 of file mobileffmpeg.c.

◆ mobileffmpeg_statistics_callback_function()

void mobileffmpeg_statistics_callback_function ( int  frameNumber,
float  fps,
float  quality,
int64_t  size,
int  time,
double  bitrate,
double  speed 
)

Callback function for FFmpeg statistics.

Parameters
frameNumberlast processed frame number
fpsframes processed per second
qualityquality of the output stream (video only)
sizesize in bytes
timeprocessed output duration
bitrateoutput bit rate in kbits/s
speedprocessing speed = processed duration / operation duration

Definition at line 538 of file mobileffmpeg.c.

◆ monitorInit()

void monitorInit ( )

Definition at line 199 of file mobileffmpeg.c.

◆ monitorNotify()

void monitorNotify ( )

Definition at line 312 of file mobileffmpeg.c.

◆ monitorUnInit()

void monitorUnInit ( )

Definition at line 239 of file mobileffmpeg.c.

◆ monitorWait()

void monitorWait ( int  milliSeconds)

Definition at line 292 of file mobileffmpeg.c.

◆ mutexInit()

void mutexInit ( )

Definition at line 190 of file mobileffmpeg.c.

◆ mutexLock()

void mutexLock ( )

Definition at line 252 of file mobileffmpeg.c.

◆ mutexUnInit()

void mutexUnInit ( )

Definition at line 235 of file mobileffmpeg.c.

◆ mutexUnlock()

void mutexUnlock ( )

Definition at line 264 of file mobileffmpeg.c.

◆ removeExecution()

void removeExecution ( long  id)

Removes an execution id from the execution map.

Parameters
idexecution id

Definition at line 451 of file mobileffmpeg.c.

◆ statisticsCallbackDataAdd()

void statisticsCallbackDataAdd ( int  frameNumber,
float  fps,
float  quality,
int64_t  size,
int  time,
double  bitrate,
double  speed 
)

Adds statistics data to the end of callback data list.

Definition at line 361 of file mobileffmpeg.c.

Variable Documentation

◆ callbackDataHead

struct CallbackData* callbackDataHead

Definition at line 67 of file mobileffmpeg.c.

◆ callbackDataTail

struct CallbackData* callbackDataTail

Definition at line 68 of file mobileffmpeg.c.

◆ callbackThread

pthread_t callbackThread

Definition at line 64 of file mobileffmpeg.c.

◆ configClass

jclass configClass
static

Global reference of Config class in Java

Definition at line 74 of file mobileffmpeg.c.

◆ configClassName

const char* configClassName = "com/arthenica/mobileffmpeg/Config"

Full name of the Config class

Definition at line 89 of file mobileffmpeg.c.

◆ configMethods

JNINativeMethod configMethods[]
Initial value:
= {
{"enableNativeRedirection", "()V", (void*) Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection},
{"disableNativeRedirection", "()V", (void*) Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection},
{"setNativeLogLevel", "(I)V", (void*) Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel},
{"getNativeLogLevel", "()I", (void*) Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel},
{"getNativeFFmpegVersion", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion},
{"getNativeVersion", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_Config_getNativeVersion},
{"nativeFFmpegExecute", "(J[Ljava/lang/String;)I", (void*) Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute},
{"nativeFFmpegCancel", "(J)V", (void*) Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel},
{"nativeFFprobeExecute", "([Ljava/lang/String;)I", (void*) Java_com_arthenica_mobileffmpeg_Config_nativeFFprobeExecute},
{"registerNewNativeFFmpegPipe", "(Ljava/lang/String;)I", (void*) Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe},
{"getNativeBuildDate", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_Config_getNativeBuildDate},
{"setNativeEnvironmentVariable", "(Ljava/lang/String;Ljava/lang/String;)I", (void*) Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable},
{"getNativeLastCommandOutput", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_Config_getNativeLastCommandOutput},
{"ignoreNativeSignal", "(I)V", (void*) Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal}
}

Prototypes of native functions defined by Config class.

Definition at line 105 of file mobileffmpeg.c.

◆ EXECUTION_MAP_SIZE

const int EXECUTION_MAP_SIZE = 1000

Execution map variables

Definition at line 51 of file mobileffmpeg.c.

◆ executionId

__thread volatile long executionId = 0

Holds the id of the current execution

Definition at line 102 of file mobileffmpeg.c.

◆ executionMap

volatile int executionMap[EXECUTION_MAP_SIZE]
static

Definition at line 52 of file mobileffmpeg.c.

◆ executionMapMutex

pthread_mutex_t executionMapMutex
static

Definition at line 53 of file mobileffmpeg.c.

◆ globalVm

JavaVM* globalVm
static

Global reference to the virtual machine running

Definition at line 71 of file mobileffmpeg.c.

◆ handleSIGINT

volatile int handleSIGINT = 1

Definition at line 96 of file mobileffmpeg.c.

◆ handleSIGPIPE

volatile int handleSIGPIPE = 1

Definition at line 99 of file mobileffmpeg.c.

◆ handleSIGQUIT

volatile int handleSIGQUIT = 1

Fields that control the handling of SIGNALs

Definition at line 95 of file mobileffmpeg.c.

◆ handleSIGTERM

volatile int handleSIGTERM = 1

Definition at line 97 of file mobileffmpeg.c.

◆ handleSIGXCPU

volatile int handleSIGXCPU = 1

Definition at line 98 of file mobileffmpeg.c.

◆ lastCommandOutput

AVBPrint lastCommandOutput
static

Definition at line 62 of file mobileffmpeg.c.

◆ lockMutex

pthread_mutex_t lockMutex
static

Redirection control variables

Definition at line 56 of file mobileffmpeg.c.

◆ logMethod

jmethodID logMethod
static

Global reference of log redirection method in Java

Definition at line 77 of file mobileffmpeg.c.

◆ logMutex

pthread_mutex_t logMutex
static

Last command output variables

Definition at line 61 of file mobileffmpeg.c.

◆ monitorCondition

pthread_cond_t monitorCondition
static

Definition at line 58 of file mobileffmpeg.c.

◆ monitorMutex

pthread_mutex_t monitorMutex
static

Definition at line 57 of file mobileffmpeg.c.

◆ redirectionEnabled

int redirectionEnabled

Definition at line 65 of file mobileffmpeg.c.

◆ statisticsMethod

jmethodID statisticsMethod
static

Global reference of statistics redirection method in Java

Definition at line 80 of file mobileffmpeg.c.

◆ stringClass

jclass stringClass
static

Global reference of String class in Java

Definition at line 83 of file mobileffmpeg.c.

◆ stringClassName

const char* stringClassName = "java/lang/String"

Full name of String class

Definition at line 92 of file mobileffmpeg.c.

◆ stringConstructor

jmethodID stringConstructor
static

Global reference of String constructor in Java

Definition at line 86 of file mobileffmpeg.c.

Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_ignoreNativeSignal(JNIEnv *env, jclass object, jint signum)
Definition: mobileffmpeg.c:925
Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable
JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeEnvironmentVariable(JNIEnv *env, jclass object, jstring variableName, jstring variableValue)
Definition: mobileffmpeg.c:888
Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_enableNativeRedirection(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:708
Java_com_arthenica_mobileffmpeg_Config_getNativeLastCommandOutput
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLastCommandOutput(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:906
Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_setNativeLogLevel(JNIEnv *env, jclass object, jint level)
Definition: mobileffmpeg.c:688
Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeFFmpegVersion(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:760
Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute
JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegExecute(JNIEnv *env, jclass object, jlong id, jobjectArray stringArray)
Definition: mobileffmpeg.c:784
Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel
JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeLogLevel(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:698
Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFmpegCancel(JNIEnv *env, jclass object, jlong id)
Definition: mobileffmpeg.c:848
Java_com_arthenica_mobileffmpeg_Config_getNativeBuildDate
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeBuildDate(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:873
Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection
JNIEXPORT void JNICALL Java_com_arthenica_mobileffmpeg_Config_disableNativeRedirection(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:735
Java_com_arthenica_mobileffmpeg_Config_getNativeVersion
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_Config_getNativeVersion(JNIEnv *env, jclass object)
Definition: mobileffmpeg.c:771
Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe
JNIEXPORT int JNICALL Java_com_arthenica_mobileffmpeg_Config_registerNewNativeFFmpegPipe(JNIEnv *env, jclass object, jstring ffmpegPipePath)
Definition: mobileffmpeg.c:860
Java_com_arthenica_mobileffmpeg_Config_nativeFFprobeExecute
JNIEXPORT jint JNICALL Java_com_arthenica_mobileffmpeg_Config_nativeFFprobeExecute(JNIEnv *env, jclass object, jobjectArray stringArray)
Definition: mobileffprobe.c:43