Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp307 jclass imageClazz = env->FindClass("android/media/ImageReader$SurfaceImage"); in ImageReader_classInit() local
308 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageReader_classInit()
311 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_BUFFER_JNI_ID, "J"); in ImageReader_classInit()
317 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_TS_JNI_ID, "J"); in ImageReader_classInit()
323 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_TF_JNI_ID, "I"); in ImageReader_classInit()
329 imageClazz, ANDROID_MEDIA_SURFACEIMAGE_SM_JNI_ID, "I"); in ImageReader_classInit()
335 imageClazz, "mPlanes", "[Landroid/media/ImageReader$SurfaceImage$SurfacePlane;"); in ImageReader_classInit()
Dandroid_media_ImageWriter.cpp328 jclass imageClazz = env->FindClass("android/media/ImageWriter$WriterSurfaceImage"); in ImageWriter_classInit() local
329 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageWriter_classInit()
332 imageClazz, IMAGE_BUFFER_JNI_ID, "J"); in ImageWriter_classInit()
337 imageClazz, "mNativeFenceFd", "I"); in ImageWriter_classInit()
342 imageClazz, "mPlanes", "[Landroid/media/ImageWriter$WriterSurfaceImage$SurfacePlane;"); in ImageWriter_classInit()
Dandroid_media_MediaCodec.cpp684 ScopedLocalRef<jclass> imageClazz( in getImage() local
686 CHECK(imageClazz.get() != NULL); in getImage()
688 jmethodID imageConstructID = env->GetMethodID(imageClazz.get(), "<init>", in getImage()
691 *buf = env->NewObject(imageClazz.get(), imageConstructID, in getImage()
2132 ScopedLocalRef<jclass> imageClazz( in android_media_MediaCodec_mapHardwareBuffer() local
2134 CHECK(imageClazz.get() != NULL); in android_media_MediaCodec_mapHardwareBuffer()
2136 jmethodID imageConstructID = env->GetMethodID(imageClazz.get(), "<init>", in android_media_MediaCodec_mapHardwareBuffer()
2139 jobject img = env->NewObject(imageClazz.get(), imageConstructID, in android_media_MediaCodec_mapHardwareBuffer()