summaryrefslogtreecommitdiff
path: root/src/qcam/meson.build
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-03-31 13:01:19 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-04-28 22:25:22 +0200
commit5db1426b6016d50e95dd922e7af1c30d26751323 (patch)
treef5e0447ec7ca2b0c4dc4c48141a2419b6e2b19d1 /src/qcam/meson.build
parent56baa28a791dee950b27479d4407ad699567a795 (diff)
libcamera: v4l2_subdevice: Add format information
Define a map of static information associated with a media bus code. Start by reporting the bits-per-pixel for each media bus code defined by the V4L2 kernel API, to later expand it when necessary. Add to the V4L2SubdeviceFormat class a method to return the bits per pixel, retrieved by inspecting the static map of format information. While at it, remove a rogue map inclusion from header file. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/meson.build')
0 files changed, 0 insertions, 0 deletions