diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2022-08-30 13:17:21 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2022-09-01 16:49:59 +0530 |
commit | e52729e7ec3f735b0078b70e25e5daf2e051c429 (patch) | |
tree | 0dc1f8e9b254bc55db8143f00123da550361707d /test/hotplug-cameras.cpp | |
parent | e297673e7686160bed5773ea54866f570f939feb (diff) |
libcamera: v4l2_videodevice: Improve toColorSpace() readability
Wrap V4L2Device::toColorspace() inside a private static member
function in V4L2VideoDevice class. It improves readability in
setting the colorspace for V4L2DeviceFormat.
No functional changes intended.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions