ColorSpace can be adjusted based on the stream's pixelFormat being requested. Add a test to check the adjustment logic defined in ColorSpace::adjust(). 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>
15 lines
431 B
Meson
15 lines
431 B
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
stream_tests = [
|
|
['stream_colorspace', 'stream_colorspace.cpp'],
|
|
['stream_formats', 'stream_formats.cpp'],
|
|
]
|
|
|
|
foreach t : stream_tests
|
|
exe = executable(t[0], t[1],
|
|
dependencies : libcamera_public,
|
|
link_with : test_libraries,
|
|
include_directories : test_includes_internal)
|
|
test(t[0], exe, suite: 'stream')
|
|
endforeach
|