FFmpeg
|
#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) |
enum FFJniFieldType |
JNIEnv* ff_jni_get_env | ( | void * | log_ctx | ) |
Definition at line 52 of file ffjni.c.
Referenced by codec_create(), ff_mediacodec_surface_ref(), ff_mediacodec_surface_unref(), mediacodec_jni_cleanOutputBuffers(), mediaformat_jni_new(), and mediaformat_jni_newFromObject().
char* ff_jni_jstring_to_utf_chars | ( | JNIEnv * | env, |
jstring | string, | ||
void * | log_ctx | ||
) |
Definition at line 98 of file ffjni.c.
Referenced by ff_AMediaCodecList_getCodecNameByType(), ff_jni_exception_get_summary(), mediacodec_jni_getName(), mediaformat_jni_getString(), and mediaformat_jni_toString().
jstring ff_jni_utf_chars_to_jstring | ( | JNIEnv * | env, |
const char * | utf_chars, | ||
void * | log_ctx | ||
) |
Definition at line 128 of file ffjni.c.
Referenced by codec_create(), mediaformat_jni_getBuffer(), mediaformat_jni_getFloat(), mediaformat_jni_getInt32(), mediaformat_jni_getInt64(), mediaformat_jni_getString(), mediaformat_jni_setBuffer(), mediaformat_jni_setFloat(), mediaformat_jni_setInt32(), mediaformat_jni_setInt64(), and mediaformat_jni_setString().
int ff_jni_exception_get_summary | ( | JNIEnv * | env, |
jthrowable | exception, | ||
char ** | error, | ||
void * | log_ctx | ||
) |
Definition at line 142 of file ffjni.c.
Referenced by ff_jni_exception_check().
Definition at line 253 of file ffjni.c.
Referenced by codec_create(), codec_init_static_fields(), ff_AMediaCodecList_getCodecNameByType(), ff_jni_init_jfields(), mediacodec_jni_configure(), mediacodec_jni_delete(), mediacodec_jni_dequeueInputBuffer(), mediacodec_jni_dequeueOutputBuffer(), mediacodec_jni_flush(), mediacodec_jni_getInputBuffer(), mediacodec_jni_getName(), mediacodec_jni_getOutputBuffer(), mediacodec_jni_getOutputFormat(), mediacodec_jni_queueInputBuffer(), mediacodec_jni_releaseOutputBuffer(), mediacodec_jni_releaseOutputBufferAtTime(), mediacodec_jni_signalEndOfInputStream(), mediacodec_jni_start(), mediacodec_jni_stop(), mediaformat_jni_getBuffer(), mediaformat_jni_getFloat(), mediaformat_jni_getInt32(), mediaformat_jni_getInt64(), mediaformat_jni_getString(), mediaformat_jni_setBuffer(), mediaformat_jni_setFloat(), mediaformat_jni_setInt32(), mediaformat_jni_setInt64(), mediaformat_jni_setString(), and mediaformat_jni_toString().
int ff_jni_init_jfields | ( | JNIEnv * | env, |
void * | jfields, | ||
const struct FFJniField * | jfields_mapping, | ||
int | global, | ||
void * | log_ctx | ||
) |
Definition at line 286 of file ffjni.c.
Referenced by codec_create(), ff_AMediaCodecList_getCodecNameByType(), mediaformat_jni_new(), and mediaformat_jni_newFromObject().
int ff_jni_reset_jfields | ( | JNIEnv * | env, |
void * | jfields, | ||
const struct FFJniField * | jfields_mapping, | ||
int | global, | ||
void * | log_ctx | ||
) |
Definition at line 375 of file ffjni.c.
Referenced by codec_create(), ff_AMediaCodecList_getCodecNameByType(), ff_jni_init_jfields(), mediacodec_jni_delete(), mediaformat_jni_delete(), mediaformat_jni_new(), and mediaformat_jni_newFromObject().