diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-23 17:16:34 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-26 01:04:27 +0300 |
commit | fbfdaa2d205b8898527609fb18d641429f0e0710 (patch) | |
tree | d5089409646e8118e2e0d9e1ea1e96fa015fab02 /test/camera/buffer_import.cpp | |
parent | 994358dab6eef2b8c9a5c09b3ced99d000623701 (diff) |
libcamera: color_space: Add fromString() function
Add a ColorSpace:fromString() function to parse a string into a color
space. The string can either contain the name of a well-known color
space, or four color space components separate by a '/' character.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/camera/buffer_import.cpp')
0 files changed, 0 insertions, 0 deletions