summaryrefslogtreecommitdiff
path: root/src/lc-compliance/main.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2022-07-15 10:27:29 +0200
committerJacopo Mondi <jacopo@jmondi.org>2022-08-03 15:07:19 +0200
commitf25ad4a2b16bc8a0d44e8ca11c46f185b47c34b5 (patch)
treeef94588359828387b2896dff153470c3d8967670 /src/lc-compliance/main.cpp
parent23b6965a9330cf1cab51e9e77b99aad4a90ae89a (diff)
libcamera: formats: Reimplement V4L2 PixelFormatInfo::info()
The PixelFormatInfo::info(const V4L2PixelFormat &format) function returns the PixelFormatInfo associated with a V4L2 pixel format. As the pixelFormatInfo map is indexed using PixelFormat and a V4L2 format can easily be converted to a PixelFormat, simply return the info() function overload instead of maintaining two similar implementations of the same function. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/lc-compliance/main.cpp')
0 files changed, 0 insertions, 0 deletions