diff options
Diffstat (limited to 'apps/CameraITS/tests/scene1/test_yuv_plus_raw.py')
-rw-r--r-- | apps/CameraITS/tests/scene1/test_yuv_plus_raw.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py b/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py index 1d71626..7a345c9 100644 --- a/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py +++ b/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py @@ -13,6 +13,7 @@ # limitations under the License. import its.image +import its.caps import its.device import its.objects import its.target @@ -28,6 +29,10 @@ def main(): with its.device.ItsSession() as cam: props = cam.get_camera_properties() + if (not its.caps.compute_target_exposure(props) or + not its.caps.raw16(props)): + print "Test skipped" + return # Use a manual request with a linear tonemap so that the YUV and RAW # should look the same (once converted by the its.image module). |