Searched refs:nativeHalFormat (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 381 jint maxImages, jlong ndkUsage, jint nativeHalFormat, jint dataSpace) { in ImageReader_init() argument 385 __FUNCTION__, width, height, nativeHalFormat, maxImages); in ImageReader_init() 401 width, height, nativeHalFormat, maxImages, getpid(), in ImageReader_init() 411 nativeHalFormat, consumerUsage); in ImageReader_init() 425 ctx->setBufferFormat(nativeHalFormat); in ImageReader_init() 435 width, height, nativeHalFormat); in ImageReader_init() 438 res = bufferConsumer->setDefaultBufferFormat(nativeHalFormat); in ImageReader_init() 441 "Failed to set buffer consumer default Halformat 0x%x", nativeHalFormat); in ImageReader_init()
|
D | android_media_ImageWriter.cpp | 826 jlong nativeBuffer, jint nativeHalFormat, jlong timestampNs, jint dataSpace, in ImageWriter_attachAndQueueImage() argument 837 if (isFormatOpaque(ctx->getBufferFormat()) != isFormatOpaque(nativeHalFormat)) { in ImageWriter_attachAndQueueImage() 857 jobject buffer, jint nativeHalFormat, jlong timestampNs, jint dataSpace, in ImageWriter_attachAndQueueGraphicBuffer() argument 868 if (isFormatOpaque(ctx->getBufferFormat()) != isFormatOpaque(nativeHalFormat)) { in ImageWriter_attachAndQueueGraphicBuffer()
|