FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
ffjni.h File Reference
#include <jni.h>

Go to the source code of this file.

Data Structures

struct  FFJniField
 

Enumerations

enum  FFJniFieldType {
  FF_JNI_CLASS, FF_JNI_FIELD, FF_JNI_STATIC_FIELD, FF_JNI_METHOD,
  FF_JNI_STATIC_METHOD
}
 

Functions

JNIEnv * ff_jni_get_env (void *log_ctx)
 
char * ff_jni_jstring_to_utf_chars (JNIEnv *env, jstring string, void *log_ctx)
 
jstring ff_jni_utf_chars_to_jstring (JNIEnv *env, const char *utf_chars, void *log_ctx)
 
int ff_jni_exception_get_summary (JNIEnv *env, jthrowable exception, char **error, void *log_ctx)
 
int ff_jni_exception_check (JNIEnv *env, int log, void *log_ctx)
 
int ff_jni_init_jfields (JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int global, void *log_ctx)
 
int ff_jni_reset_jfields (JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int global, void *log_ctx)
 

Enumeration Type Documentation

Enumerator
FF_JNI_CLASS 
FF_JNI_FIELD 
FF_JNI_STATIC_FIELD 
FF_JNI_METHOD 
FF_JNI_STATIC_METHOD 

Definition at line 88 of file ffjni.h.

Function Documentation

JNIEnv* ff_jni_get_env ( void log_ctx)
char* ff_jni_jstring_to_utf_chars ( JNIEnv *  env,
jstring  string,
void log_ctx 
)
jstring ff_jni_utf_chars_to_jstring ( JNIEnv *  env,
const char *  utf_chars,
void log_ctx 
)
int ff_jni_exception_get_summary ( JNIEnv *  env,
jthrowable  exception,
char **  error,
void log_ctx 
)

Definition at line 141 of file ffjni.c.

Referenced by ff_jni_exception_check().

int ff_jni_exception_check ( JNIEnv *  env,
int  log,
void log_ctx 
)
int ff_jni_init_jfields ( JNIEnv *  env,
void jfields,
const struct FFJniField jfields_mapping,
int  global,
void log_ctx 
)
int ff_jni_reset_jfields ( JNIEnv *  env,
void jfields,
const struct FFJniField jfields_mapping,
int  global,
void log_ctx 
)