Daniel Petráš

Results 5 comments of Daniel Petráš

I believe there is a bug in YuvToRgbConverter.needCreateAllocations function. The part `bytes.size == yuvBuffer.buffer.capacity()` should actually be `bytes.size != yuvBuffer.buffer.capacity()` Just to note, there are two YuvToRgbConverter.kt files in this...

We are rendering the camera preview with com.google.ar.core.Session.setCameraTextureName(OpenGL TEXTURE_EXTERNAL_OES texture name) and not calling com.google.ar.core.Frame.acquireCameraImage() at all. We use separate android.hardware.camera2.CameraCaptureSession with separate android.media.ImageReader and closing images acquired this way...

How can the app acquire images from the same ImageReader that setDummyOnImageAvailableListener is using? I'm not aware that we do such thing. From what you wrote, it seems that the...

I checked it several times already and I'm sure I'm closing all the images obtained by `com.google.ar.core.Frame.acquireCameraImage()`. Like this: ``` frame.acquireCameraImage().use { /* convert image to bitmap */ } ```...