Searched refs:jfields_mapping (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | ffjni.c | 285 int ff_jni_init_jfields(JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int g… in ff_jni_init_jfields() argument 290 for (i = 0; jfields_mapping[i].name; i++) { in ff_jni_init_jfields() 291 int mandatory = jfields_mapping[i].mandatory; in ff_jni_init_jfields() 292 enum FFJniFieldType type = jfields_mapping[i].type; in ff_jni_init_jfields() 299 clazz = (*env)->FindClass(env, jfields_mapping[i].name); in ff_jni_init_jfields() 304 last_clazz = *(jclass*)((uint8_t*)jfields + jfields_mapping[i].offset) = in ff_jni_init_jfields() 320 …fieldID field_id = (*env)->GetFieldID(env, last_clazz, jfields_mapping[i].method, jfields_mapping[… in ff_jni_init_jfields() 325 *(jfieldID*)((uint8_t*)jfields + jfields_mapping[i].offset) = field_id; in ff_jni_init_jfields() 329 …D field_id = (*env)->GetStaticFieldID(env, last_clazz, jfields_mapping[i].method, jfields_mapping[… in ff_jni_init_jfields() 334 *(jfieldID*)((uint8_t*)jfields + jfields_mapping[i].offset) = field_id; in ff_jni_init_jfields() [all …]
|
D | ffjni.h | 127 int ff_jni_init_jfields(JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int g… 143 int ff_jni_reset_jfields(JNIEnv *env, void *jfields, const struct FFJniField *jfields_mapping, int …
|