summaryrefslogtreecommitdiff
path: root/src/libcamera/v4l2_pixelformat.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-08-02 22:47:05 +0300
committerJacopo Mondi <jacopo@jmondi.org>2022-08-03 15:07:20 +0200
commit29c09e3ab6c18c649d8510a1faee6c5a2b52c04a (patch)
tree1bc45a2900b1c539f4a2b0b116e0896407b05325 /src/libcamera/v4l2_pixelformat.cpp
parentb7ca378b65e8ba936bf3c5631e16534a3376aec9 (diff)
libcamera: v4l2_pixelformat: Implement std::hash specialization
Inject a specialization of std::hash<> for the V4L2PixelFormat class in the std namespace to make it possible to store instances of the class in the std::unordered_map and std::unordered_set containers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Tested-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/libcamera/v4l2_pixelformat.cpp')
0 files changed, 0 insertions, 0 deletions