+12
−4
+29
−9
+9
−2
+19
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Use a BufferQueue between Camera and StageFright to pass video buffers for Camera HALv3 devices. CameraSource in StageFright will try to use "buffer queue" mode if it is supported by the camera device. In "buffer queue" mode, CameraSource creates a buffer queue and a listener thread to recieve video buffers from camera device. CameraSource then wraps the ANWBuffer in MediaBuffer. If the camera device doesn't support "buffer queue" mode, it falls back to "metadata in video buffer" mode or "real YUV data" mode. "Metadata in video buffer" mode is removed from Camera2Client and only "buffer queue" mode is supported. Bug: 24511454 Change-Id: Ice833b57bcd8d91852d6415402013f56f3e3970a