Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rscript44 // Interpolate gain map to find per-channel gains at a given pixel
219 float4 gains = 1.f;
221 gains = getGain(i, j);
227 g = gains.x;
231 g = gains.y;
235 g = gains.z;
239 g = gains.w;
244 g = gains.y;
248 g = gains.x;
252 g = gains.w;
[all …]
/cts/apps/CameraITS/tests/inprog/scene2/
Dtest_dng_tags.py47 gains = cap["metadata"]["android.colorCorrection.gains"]
51 print "HAL reported gains:\n", numpy.array(gains)
61 cm, fm = its.dng.compute_cm_fm(dng_illum[i], gains, ccm, cal)
/cts/apps/CameraITS/tests/inprog/
Dtest_3a_remote.py48 gains = cap["metadata"]["android.colorCorrection.gains"]
59 print "Gains:", gains
Dtest_param_edge_mode.py39 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
/cts/apps/CameraITS/utils/
Dimage_processing_utils.py374 gains = cap_res['android.colorCorrection.gains']
380 gains = get_gains_in_canonical_order(props, gains)
394 gains = numpy.array([gains[i] for i in [0, 1, 3]])
398 img = (((img.reshape(h, w, 3) - black_levels) * scale) * gains).clip(0.0, 1.0)
488 def get_gains_in_canonical_order(props, gains): argument
501 return gains
504 return [gains[0], gains[2], gains[1], gains[3]]
Dtarget_exposure_utils.py237 sens, exp_time, gains, xform, _ = its_session.do_3a(
252 req['android.colorCorrection.gains'] = gains
/cts/apps/CameraITS/tests/
Dtutorial.py130 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
132 logging.info('AWB: gains %s', str(gains))
150 req['android.colorCorrection.gains'] = gains
/cts/apps/CameraITS/tools/
Ddng_noise_model.py329 gains = np.asarray([s[0] for s in samples[pidx]])
332 gains = gains.flatten()
339 digital_gains = np.maximum(gains/sens_max_analog, 1)
348 result, _ = scipy.optimize.curve_fit(f, (gains, means), vars_/(gains))
/cts/apps/CameraITS/tests/scene2_b/
Dtest_auto_per_frame_control.py155 def _plot_data(lumas, gains, fmt, log_path): argument
164 norm_gains = [x / max(gains) * max(lumas) for x in gains]
168 pylab.plot(range(len(gains)), norm_gains, '-r.',
/cts/apps/CameraITS/tests/scene1_1/
Dtest_param_color_correction.py95 gains = [RAW_GAIN_UNITY,
109 req['android.colorCorrection.gains'] = gains[i]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1432 RggbChannelVector gains = result.get(CaptureResult.COLOR_CORRECTION_GAINS); in colorCorrectionTestByCamera() local
1438 UNIT_GAIN, gains); in colorCorrectionTestByCamera()
2469 RggbChannelVector gains = getValueNotNull(result, CaptureResult.COLOR_CORRECTION_GAINS);
2473 lockedGains, gains);