diff options
author | Igor Murashkin <iam@google.com> | 2013-02-11 15:52:03 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-02-21 17:11:27 -0800 |
commit | 7a7f357509df38a37479e2968144a2996e1f964c (patch) | |
tree | 5c9c0edab4b45a5e1e0b85cce4d78c58346c6509 /tests/camera2/CameraStreamTests.cpp | |
parent | 9f6e4bf9013e773a3ba24362f5eec81ccee65454 (diff) | |
download | hardware_libhardware-7a7f357509df38a37479e2968144a2996e1f964c.zip hardware_libhardware-7a7f357509df38a37479e2968144a2996e1f964c.tar.gz hardware_libhardware-7a7f357509df38a37479e2968144a2996e1f964c.tar.bz2 |
Tests: Camera2: Add Y8/Y16 to Stream create/delete tests
Change-Id: I7e066569edcab84c0d61fe7a4ae5c3e2683f63eb
Diffstat (limited to 'tests/camera2/CameraStreamTests.cpp')
-rw-r--r-- | tests/camera2/CameraStreamTests.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/camera2/CameraStreamTests.cpp b/tests/camera2/CameraStreamTests.cpp index 83bd618..5423a30 100644 --- a/tests/camera2/CameraStreamTests.cpp +++ b/tests/camera2/CameraStreamTests.cpp @@ -142,6 +142,30 @@ static CameraStreamParams TestParameters[] = { /*mHeapCount*/ 3 }, { + /*mFormat*/ HAL_PIXEL_FORMAT_Y8, + /*mHeapCount*/ 1 + }, + { + /*mFormat*/ HAL_PIXEL_FORMAT_Y8, + /*mHeapCount*/ 2 + }, + { + /*mFormat*/ HAL_PIXEL_FORMAT_Y8, + /*mHeapCount*/ 3 + }, + { + /*mFormat*/ HAL_PIXEL_FORMAT_Y16, + /*mHeapCount*/ 1 + }, + { + /*mFormat*/ HAL_PIXEL_FORMAT_Y16, + /*mHeapCount*/ 2 + }, + { + /*mFormat*/ HAL_PIXEL_FORMAT_Y16, + /*mHeapCount*/ 3 + }, + { /*mFormat*/ HAL_PIXEL_FORMAT_RAW_SENSOR, /*mHeapCount*/ 1 }, |