Home | History | Annotate | Download | only in jni

Lines Matching full:thiz

206 static JNIImageReaderContext* ImageReader_getContext(JNIEnv* env, jobject thiz)
210 (env->GetLongField(thiz, gImageReaderClassInfo.mNativeContext));
214 static CpuConsumer* ImageReader_getCpuConsumer(JNIEnv* env, jobject thiz)
217 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz);
225 static BufferQueue* ImageReader_getBufferQueue(JNIEnv* env, jobject thiz)
228 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz);
237 jobject thiz, sp<JNIImageReaderContext> ctx)
240 JNIImageReaderContext* const p = ImageReader_getContext(env, thiz);
247 env->SetLongField(thiz, gImageReaderClassInfo.mNativeContext,
257 static void Image_setBuffer(JNIEnv* env, jobject thiz,
260 env->SetLongField(thiz, gSurfaceImageClassInfo.mLockedBuffer, reinterpret_cast<jlong>(buffer));
605 static void ImageReader_init(JNIEnv* env, jobject thiz, jobject weakThiz,
625 jclass clazz = env->GetObjectClass(thiz);
634 ImageReader_setNativeContext(env, thiz, ctx);
653 static void ImageReader_close(JNIEnv* env, jobject thiz)
657 JNIImageReaderContext* const ctx = ImageReader_getContext(env, thiz);
663 CpuConsumer* consumer = ImageReader_getCpuConsumer(env, thiz);
668 ImageReader_setNativeContext(env, thiz, NULL);
671 static void ImageReader_imageRelease(JNIEnv* env, jobject thiz, jobject image)
674 JNIImageReaderContext* ctx = ImageReader_getContext(env, thiz);
691 static jint ImageReader_imageSetup(JNIEnv* env, jobject thiz,
695 JNIImageReaderContext* ctx = ImageReader_getContext(env, thiz);
792 static jobject ImageReader_getSurface(JNIEnv* env, jobject thiz)
796 BufferQueue* bq = ImageReader_getBufferQueue(env, thiz);
806 static jobject Image_createSurfacePlane(JNIEnv* env, jobject thiz, int idx)
811 CpuConsumer::LockedBuffer* buffer = Image_getLockedBuffer(env, thiz);
821 gSurfacePlaneClassInfo.ctor, thiz, idx, rowStride, pixelStride);
826 static jobject Image_getByteBuffer(JNIEnv* env, jobject thiz, int idx)
834 CpuConsumer::LockedBuffer* buffer = Image_getLockedBuffer(env, thiz);