diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-03 22:03:01 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-05 23:31:12 +0300 |
commit | e6886f63529bce803433158bb81dfb6550b5b10c (patch) | |
tree | f774704ef527ebeafcf2593b3b5ead9fe56a5c63 /src/gstreamer/gstlibcamerapool.h | |
parent | 3335d5a504374166f749a267ba1e1d803a0ed1f6 (diff) |
v4l2: Use V4L2PixelFormat::toPixelFormat()
Replace the open-coded PixelFormat lookup with the
V4L2PixelFormat::toPixelFormat() helper function. This simplifies the
implementation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasoboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamerapool.h')
0 files changed, 0 insertions, 0 deletions