History log of /cts/apps/CameraITS/pymodules/its/device.py
Revision Date Author Comments
f16d68774d6a823a7d91e2e58b9303ce712af8b3 06-Jun-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: start enforcing sensor fusion test

Bug: 29120073
Change-Id: I88395be3368318bfa20a40a9ed646b94cc355f21
c9d554d7e806cf888e27be0bd71d2615f03cff8c 02-Jun-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: add timeout value for do_capture

When background request is enabled.

Bug: 28967300
Change-Id: Id6abcb9aa6f74787fcda5fd044bea91c3f944af6
9e5d9ac22e347f741f1a99c75560216e17272129 30-Mar-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: add edge enhancement test

Previous edge enhancement test only runs on devices support
reprocessing. This test will run for devices support FULL level
(with out without reprocessing support).

Also, add ability to send a repeating request to warmup the pipeline
in do_capture command.

Bug: 20139385
Change-Id: I29c383269fc8f3c8e8852c692d6a6ca12b19f5e3
23a7b426eaa526d6e9c001603b1682e1b319bc11 25-Mar-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: fix ITS wait_for_service issue

Bug: 25652853
Change-Id: I02c6a48e75a55b97d47b516f1e7de47ed863ae29
409f2e93a7ca8f1bc44d7e56cb489aa145b72948 17-Mar-2016 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: more test_post_raw_sensitivity_boost fix

- Fix cmd["outputSurfaces"] is not initialized in some branches
- Fix unpacking of do_capture results. (Format is first dimension)
- Some typos

Bug: 27687762
Change-Id: I0bab0e9e2b34324072c1fba8b1aa461abab95d69
75f22fc846ceee00cd13902d209e505f46b0677e 19-Feb-2016 Lu <luwa@google.com> CameraITS: add lens shading and color uniformity test

Test that the lens shading correction is applied appropriately,
and color of a monochrome uniform scene is evenly distributed,
for example, when a diffuser is placed in front of the camera.
Perform this test on a yuv frame with auto 3a. Lens shading is
evaluated based on the y channel. Measure the average y value
for each sample block specified, and then determine pass/fail
by comparing with the center y value. The color uniformity test
is evaluated in r/g and b/g space. At specified radius of the
image, the variance of r/g and b/g value need to be less than
a threshold in order to pass the test.

Change-Id: I6cf7676ef7f3ec8ef9a8455675ee212287637baf
7c6f52e5a00cabb870227b472f96301abbc49ed1 15-Dec-2015 Lu <luwa@google.com> CameraITS: add aspect ratio detection and crop test

Test aspect ratio and check if images are cropped correctly under
each output size.

The test image is a black circle inside a black square. When raw
capture is available, set the height vs. width ratio of the circle
in the full-frame raw as ground truth. Then compare with images of
request combinations of different formats ("jpeg" and "yuv") and
sizes. If raw capture is unavailable, take a picture of the test
image right in front to eliminate shooting angle effect.
The height vs. width ratio for the circle should be close to 1.
Considering shooting position error, aspect ratio greater than 1.05
or smaller than 0.95 will fail the test.

Change-Id: I051890e5aa43e2ffa66e563b989223b03de1571f
a41d49723a200eec6af9c9504a961cb2df306295 20-Oct-2015 Daniel Xie <dxie@google.com> Squashed mnc-dev changes:

This contains all of the changes from b54aa51 to
791e51a on mnc-dev, except the changes
to tests/tests/security.

Bug: 24846656
Change-Id: I01f53a1a238ac49f86928e0e22796dc73e0e34af
67d8ec944663b5d5424b5fd33296bd6530272056 31-Aug-2015 Timothy Knight <tknight@google.com> CameraITS: Add stats image format.

Bug: 23980354
Change-Id: I8414093d77ab2be9f335bde85ec06ab86df62fd9
1da2313e4de7229831dae58450dcc2a2c3f021d7 23-Jul-2015 Chien-Yu Chen <cychen@google.com> CameraITS: Support connecting multiple devices

Add "device=" command line argument to support running Camera ITS
on a specific device when multiple devices are connected.

Bug: 21755489
Change-Id: I7962a6335310cdf849c3fa3ddabdaa84bd5f65ae
39f8f4b92f0083915692b5f35af42a1e23d0306f 17-Jul-2015 Yin-Chia Yeh <yinchiayeh@google.com> Camera: fix early timeout for long exposure captures

Bug: 21033386
Change-Id: Id25952fcf3ca7ff3b5cac80c3e90617bffb5859c
4e1e2cc0405dc84485439d5fc5cdafd544aefb6e 09-Jun-2015 Chien-Yu Chen <cychen@google.com> CameraITS: Add reprocess noise reduction test

Add doReprocessCapture() to submit regular capture requests and use
the regular capture requests as the input for submitting reprocess
capture requests.

Add a test to verify noise reduction modes work as expected for
reprocess requests.

Bug: 20920487
Change-Id: I8c28ca103991c4b84d081c182d81e548c9c3b2e1
76dd143c4fe4cd51cec7a48aa604adce6f186313 28-Apr-2015 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: add raw12 test

Bug: 20494692
Change-Id: I53b095a7d7df42253549648102a2008d51f39217
ab98adabf15031a9a35dd8c054e120b732ebd80b 05-Mar-2015 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: various ITS improvement

1. run_all_tests.py now don't require a camera id argument.
The script now iterate through all cameras automatically.
2. run_all_tests.py will now repeat capturing a image for
user to visually check if current device placement is good
for ITS testing. This should help front camera test since
front camera will be facing test scene.
3. CtsVerifier will now save ITS test summaries and reported
errors.
4. Enable pass button if all cameras on device are legacy level.

Change-Id: Ic8740f65dbaa67b0dc2d2aa8737355c0dffe1b6f
eb3ff477107b87d81ae4189c1ca888079de09d30 20-Nov-2014 Zhijun He <zhijunhe@google.com> CameraITS: Add EV compensation test

Basic test checks the luma brightness strict monotonicity only, which can run
on all devices.
Advanced test checks the luma brightness vs expected model values. It can only
run on the devices that support tone map manual control.

Bug: 18293350
Change-Id: Id7e0e58421caf76e585a422d6ab5e49c8d967c8a
(cherry picked from commit 6137f213b59d97388cb2eb219f54251c01affe50)
6137f213b59d97388cb2eb219f54251c01affe50 20-Nov-2014 Zhijun He <zhijunhe@google.com> CameraITS: Add EV compensation test

Basic test checks the luma brightness strict monotonicity only, which can run
on all devices.
Advanced test checks the luma brightness vs expected model values. It can only
run on the devices that support tone map manual control.

Bug: 18293350
Change-Id: Id7e0e58421caf76e585a422d6ab5e49c8d967c8a
ed0760095c7760e5006e54a8da491453625b0745 24-Oct-2014 Timothy Knight <tknight@google.com> CameraITS: Move report_result out of the ItsSession class.

This function doesn't communicate over an open TCP session with a
device, but rather sends a separate intent.

Change-Id: If2bbb561e69c72b7dd5e0776f1a8ba85bbf0ccbc
682faa20f53103bcc888ff6f9973e1788ba2b005 23-Oct-2014 Chien-Yu Chen <cychen@google.com> CameraITS: fix typos

Bug: 17994909

Change-Id: I0be691f8c5a0a7bb166a5f684c4dd3132b335090
a2277d02fcc5d87ce5607540bf5ce687e71027f3 21-Oct-2014 Yin-Chia Yeh <yinchiayeh@google.com> CameraITS: require ITS to pass on all cameras

Bug: 17994909
Change-Id: I879d328fbaa0a03510693f5314badb6507b6ccd8
370e2438ab27bdc5a3339859d0e76a4165794f7a 15-Oct-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Move ITS tests to CTS verifier.

Bug: 17994909

Change-Id: Ie788b1ae3a6b079e37a3472c46aed3dfdcfffe2c