Searched refs:hardwareBuffer (Results 1 – 10 of 10) sorted by relevance
29 jobject AHardwareBuffer_toHardwareBuffer(JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in AHardwareBuffer_toHardwareBuffer() argument30 return android_hardware_HardwareBuffer_createFromAHardwareBuffer(env, hardwareBuffer); in AHardwareBuffer_toHardwareBuffer()
148 AHardwareBuffer *hardwareBuffer = nullptr; in lockNextBuffer() local149 ret = AImage_getHardwareBuffer(img, &hardwareBuffer); in lockNextBuffer()150 if (ret != AMEDIA_OK || hardwareBuffer == nullptr) { in lockNextBuffer()160 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer; in lockNextBuffer()
554 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument580 } else if (hardwareBuffer != null) { in createDirectChannelImpl()581 if (hardwareBuffer.getFormat() != HardwareBuffer.BLOB) { in createDirectChannelImpl()584 if (hardwareBuffer.getHeight() != 1) { in createDirectChannelImpl()587 if (hardwareBuffer.getWidth() < MIN_DIRECT_CHANNEL_BUFFER_SIZE) { in createDirectChannelImpl()592 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_SENSOR_DIRECT_DATA) == 0) { in createDirectChannelImpl()596 size = hardwareBuffer.getWidth(); in createDirectChannelImpl()599 -1, hardwareBuffer); in createDirectChannelImpl()
932 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl() argument
46 AHardwareBuffer* hardwareBuffer);
32 JNIEnv* env, AHardwareBuffer* hardwareBuffer);
191 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer() argument192 GraphicBuffer* buffer = AHardwareBuffer_to_GraphicBuffer(hardwareBuffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
245 AHardwareBuffer *hardwareBuffer = in nativeCreateDirectChannel() local247 if (hardwareBuffer != nullptr) { in nativeCreateDirectChannel()248 nativeHandle = AHardwareBuffer_getNativeHandle(hardwareBuffer); in nativeCreateDirectChannel()
87 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument
135 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument