Searched refs:gains (Results 1 – 11 of 11) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rscript | 44 // 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/ |
D | test_dng_tags.py | 47 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/ |
D | test_3a_remote.py | 48 gains = cap["metadata"]["android.colorCorrection.gains"] 59 print "Gains:", gains
|
D | test_param_edge_mode.py | 39 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
|
/cts/apps/CameraITS/utils/ |
D | image_processing_utils.py | 374 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]]
|
D | target_exposure_utils.py | 237 sens, exp_time, gains, xform, _ = its_session.do_3a( 252 req['android.colorCorrection.gains'] = gains
|
/cts/apps/CameraITS/tests/ |
D | tutorial.py | 130 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/ |
D | dng_noise_model.py | 329 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/ |
D | test_auto_per_frame_control.py | 155 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/ |
D | test_param_color_correction.py | 95 gains = [RAW_GAIN_UNITY, 109 req['android.colorCorrection.gains'] = gains[i]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 1432 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);
|