Home
last modified time | relevance | path

Searched refs:imageClazz (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp299 jclass imageClazz = env->FindClass("android/media/ImageReader$SurfaceImage"); in ImageReader_classInit() local
300 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageReader_classInit()
303 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_BUFFER_JNI_ID, "J"); in ImageReader_classInit()
309 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_TS_JNI_ID, "J"); in ImageReader_classInit()
315 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_TF_JNI_ID, "I"); in ImageReader_classInit()
321 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_SM_JNI_ID, "I"); in ImageReader_classInit()
327 imageClazz, "mPlanes", "[Landroid/media/ImageReader$SurfaceImage$SurfacePlane;"); in ImageReader_classInit()
Dandroid_media_ImageWriter.cpp327 jclass imageClazz = env->FindClass("android/media/ImageWriter$WriterSurfaceImage"); in ImageWriter_classInit() local
328 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageWriter_classInit()
331 imageClazz, IMAGE_BUFFER_JNI_ID, "J"); in ImageWriter_classInit()
336 imageClazz, "mNativeFenceFd", "I"); in ImageWriter_classInit()
341 imageClazz, "mPlanes", "[Landroid/media/ImageWriter$WriterSurfaceImage$SurfacePlane;"); in ImageWriter_classInit()
Dandroid_media_MediaCodec.cpp649 ScopedLocalRef<jclass> imageClazz( in getImage() local
651 CHECK(imageClazz.get() != NULL); in getImage()
653 jmethodID imageConstructID = env->GetMethodID(imageClazz.get(), "<init>", in getImage()
656 *buf = env->NewObject(imageClazz.get(), imageConstructID, in getImage()
1977 ScopedLocalRef<jclass> imageClazz( in android_media_MediaCodec_mapHardwareBuffer() local
1979 CHECK(imageClazz.get() != NULL); in android_media_MediaCodec_mapHardwareBuffer()
1981 jmethodID imageConstructID = env->GetMethodID(imageClazz.get(), "<init>", in android_media_MediaCodec_mapHardwareBuffer()
1984 jobject img = env->NewObject(imageClazz.get(), imageConstructID, in android_media_MediaCodec_mapHardwareBuffer()