Home
last modified time | relevance | path

Searched refs:gains (Results 1 – 7 of 7) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java575 float[/*4*/] gains = new float[]{1.f, 1.f, 1.f, 1.f}; in linearizeAndGainmap() local
577 gains = getGain(i, j); in linearizeAndGainmap()
583 g = gains[0]; in linearizeAndGainmap()
588 g = gains[1]; in linearizeAndGainmap()
593 g = gains[2]; in linearizeAndGainmap()
598 g = gains[3]; in linearizeAndGainmap()
604 g = gains[1]; in linearizeAndGainmap()
609 g = gains[0]; in linearizeAndGainmap()
614 g = gains[3]; in linearizeAndGainmap()
619 g = gains[2]; in linearizeAndGainmap()
[all …]
/cts/apps/CameraITS/tests/
Dtutorial.py131 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
133 logging.info('AWB: gains %s', str(gains))
151 req['android.colorCorrection.gains'] = gains
/cts/apps/CameraITS/utils/
Dnoise_model_utils.py133 gains: np.ndarray,
149 digital_gains = np.maximum(gains / sens_max_analog, 1)
666 gains, means, vars_ = zip(*samples_p)
667 gains = np.asarray(gains).flatten()
671 compute_digital_gains(gains, sens_max_analog)
702 coeffs, _ = scipy.optimize.curve_fit(f, (gains, means), vars_ / (gains))
Dimage_processing_utils.py801 gains = cap_res['android.colorCorrection.gains']
808 gains = get_gains_in_canonical_order(props, gains)
822 gains = numpy.array([gains[i] for i in [0, 1, 3]])
826 img = (((img.reshape(h, w, 3) - black_levels) * scale) * gains).clip(0.0, 1.0)
937 def get_gains_in_canonical_order(props, gains): argument
950 return gains
953 return [gains[0], gains[2], gains[1], gains[3]]
Dtarget_exposure_utils.py233 sens, exp_time, gains, xform, _ = its_session.do_3a(
248 req['android.colorCorrection.gains'] = gains
/cts/apps/CameraITS/tests/scene1_1/
Dtest_param_color_correction.py97 gains = [_RAW_GAIN_UNITY,
111 req['android.colorCorrection.gains'] = gains[i]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1600 RggbChannelVector gains = result.get(CaptureResult.COLOR_CORRECTION_GAINS); in colorCorrectionTestByCamera() local
1606 UNIT_GAIN, gains); in colorCorrectionTestByCamera()
2665 RggbChannelVector gains = getValueNotNull(result, CaptureResult.COLOR_CORRECTION_GAINS);
2669 lockedGains, gains);