summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerapad.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-05 13:53:53 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-05 22:22:47 +0200
commitde1b994bbaa4e34dc39c997d99f47026e7cddcfe (patch)
treecd78f465897e1bdab6953293b3cc6479b9ca7aa2 /src/gstreamer/gstlibcamerapad.cpp
parent38f7c2af27aa4357cbeb57d4ab716c82067d5a89 (diff)
android: camera_device: Update gralloc usage flags for streams
When configuring streams, the camera HAL is supposed to update the gralloc usage flags to reflect the operations it will need to do on the stream buffers. Failure to do so leads to incorrect format selection by gralloc for the HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED format, as gralloc will not take into consideration the need of the camera to access the buffers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/gstreamer/gstlibcamerapad.cpp')
0 files changed, 0 insertions, 0 deletions