diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-06-26 09:58:49 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-07-06 23:58:42 +0100 |
commit | 43e3b8002bad0e4f7b74132975285cb10c6b8a60 (patch) | |
tree | 01ac6c8d494b34a4c5f50b9fffd284c8b5b6510a /src/gstreamer/gstlibcamera-utils.h | |
parent | d35cf6e4e4972948e49e6e45f3f0caaeea760a0b (diff) |
android: camera_device: Provide a toPixelFormat helper
Rather than converting pixelformats through the map, and then
dereferencing the iterator later, create a helper to explicitly return a
PixelFormat type.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/gstreamer/gstlibcamera-utils.h')
0 files changed, 0 insertions, 0 deletions