Home
last modified time | relevance | path

Searched refs:exposures (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/tests/camera2/
DCameraMultiStreamTests.cpp345 const Vector<int64_t>& exposures, in CaptureBurst() argument
356 ASSERT_EQ(OK, request.update(ANDROID_SENSOR_EXPOSURE_TIME, &exposures[i], 1)); in CaptureBurst()
360 *requestIdStart, exposures[i], sensitivities[i]); in CaptureBurst()
380 if ((exposures[i] * EXP_WAIT_MULTIPLIER) > waitLimit) { in CaptureBurst()
381 waitLimit = exposures[i] * EXP_WAIT_MULTIPLIER; in CaptureBurst()
412 EXPECT_LE(exposures[i] * (1.0 - TOLERANCE_MARGIN_METADATA), resultExposure); in CaptureBurst()
413 EXPECT_GE(exposures[i] * (1.0 + TOLERANCE_MARGIN_METADATA), resultExposure); in CaptureBurst()
433 EXPECT_GE(timeDelta * ( 1 + TOLERANCE_MARGIN_CAPTURE), exposures[i]); in CaptureBurst()
650 Vector<int64_t> exposures; in TEST_F() local
661 exposures.push_back(exp); in TEST_F()
[all …]
DCameraBurstTests.cpp174 int64_t exposures[CAMERA_FRAME_BURST_COUNT]; in TEST_F() local
175 exposures[0] = CAMERA_EXPOSURE_STARTING; in TEST_F()
177 exposures[i] = exposures[i-1] * CAMERA_EXPOSURE_DOUBLE; in TEST_F()
180 EXPECT_LE(minExp, exposures[0]) in TEST_F()
182 << exposures[0] << "ns"; in TEST_F()
183 EXPECT_GE(maxExp, exposures[CAMERA_FRAME_BURST_COUNT-1]) in TEST_F()
185 << exposures[CAMERA_FRAME_BURST_COUNT-1] << "ns"; in TEST_F()
221 &exposures[i], 1)); in TEST_F()
223 exposures[i]); in TEST_F()
225 << (exposures[i]/1e6f) << std::endl; in TEST_F()
[all …]