Lines Matching refs:gFields
64 static fields_t gFields; variable
278 sp<JMediaCodec> old = (JMediaCodec *)env->GetIntField(thiz, gFields.context); in setMediaCodec()
285 env->SetIntField(thiz, gFields.context, (int)codec.get()); in setMediaCodec()
291 return (JMediaCodec *)env->GetIntField(thiz, gFields.context); in getMediaCodec()
481 env->GetIntField(cryptoInfoObj, gFields.cryptoInfoNumSubSamplesID); in android_media_MediaCodec_queueSecureInputBuffer()
485 cryptoInfoObj, gFields.cryptoInfoNumBytesOfClearDataID); in android_media_MediaCodec_queueSecureInputBuffer()
489 cryptoInfoObj, gFields.cryptoInfoNumBytesOfEncryptedDataID); in android_media_MediaCodec_queueSecureInputBuffer()
492 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoKeyID); in android_media_MediaCodec_queueSecureInputBuffer()
495 (jbyteArray)env->GetObjectField(cryptoInfoObj, gFields.cryptoInfoIVID); in android_media_MediaCodec_queueSecureInputBuffer()
497 jint mode = env->GetIntField(cryptoInfoObj, gFields.cryptoInfoModeID); in android_media_MediaCodec_queueSecureInputBuffer()
728 gFields.context = env->GetFieldID(clazz, "mNativeContext", "I"); in android_media_MediaCodec_native_init()
729 CHECK(gFields.context != NULL); in android_media_MediaCodec_native_init()
734 gFields.cryptoInfoNumSubSamplesID = in android_media_MediaCodec_native_init()
736 CHECK(gFields.cryptoInfoNumSubSamplesID != NULL); in android_media_MediaCodec_native_init()
738 gFields.cryptoInfoNumBytesOfClearDataID = in android_media_MediaCodec_native_init()
740 CHECK(gFields.cryptoInfoNumBytesOfClearDataID != NULL); in android_media_MediaCodec_native_init()
742 gFields.cryptoInfoNumBytesOfEncryptedDataID = in android_media_MediaCodec_native_init()
744 CHECK(gFields.cryptoInfoNumBytesOfEncryptedDataID != NULL); in android_media_MediaCodec_native_init()
746 gFields.cryptoInfoKeyID = env->GetFieldID(clazz, "key", "[B"); in android_media_MediaCodec_native_init()
747 CHECK(gFields.cryptoInfoKeyID != NULL); in android_media_MediaCodec_native_init()
749 gFields.cryptoInfoIVID = env->GetFieldID(clazz, "iv", "[B"); in android_media_MediaCodec_native_init()
750 CHECK(gFields.cryptoInfoIVID != NULL); in android_media_MediaCodec_native_init()
752 gFields.cryptoInfoModeID = env->GetFieldID(clazz, "mode", "I"); in android_media_MediaCodec_native_init()
753 CHECK(gFields.cryptoInfoModeID != NULL); in android_media_MediaCodec_native_init()