/cts/apps/CameraITS/tests/scene1/ |
D | test_ae_af.py | 43 s, e, gains, xform, fd = cam.do_3a(get_results=True, 49 print ' gains', gains, 'transform', xform 57 assert len(gains) == 4 58 for g in gains: 64 assert np.isclose(gains[2], GREEN_GAIN, GREEN_GAIN_TOL)
|
D | test_3a.py | 32 sens, exp, gains, xform, focus = cam.do_3a(get_results=True, 35 print 'AWB: gains', gains, 'transform', xform 39 assert len(gains) == 4 40 for g in gains:
|
D | test_capture_result.py | 114 gains = cap_res["android.colorCorrection.gains"] 124 print "Gains:", gains 138 assert(len(gains) == 4) 140 assert(all([g > 0 for g in gains])) 144 assert(any([not is_close_float(gains[i], manual_gains[i]) 164 gains = cap_res["android.colorCorrection.gains"] 177 print "Gains:", gains 194 assert(len(gains) == 4) 196 assert( all([is_close_float(gains[i], manual_gains_ok[0][i]) 198 all([is_close_float(gains[i], manual_gains_ok[1][i]) [all …]
|
D | test_auto_vs_manual.py | 48 sens, exp, gains, xform, focus = cam.do_3a(get_results=True, 52 print "AWB gains", gains 70 req["android.colorCorrection.gains"] = gains 98 assert(all([abs(gains[i] - g[i]) < 0.05 for i in range(4)]))
|
D | test_param_color_correction.py | 69 gains = [[1,1,1,1], [2,1,1,1], [1,1,1,1]] 81 req["android.colorCorrection.gains"] = gains[i]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 218 float4 gains = 1.f; 220 gains = getGain(i, j); 226 g = gains.x; 230 g = gains.y; 234 g = gains.z; 238 g = gains.w; 243 g = gains.y; 247 g = gains.x; 251 g = gains.w; 255 g = gains.z; [all …]
|
/cts/apps/CameraITS/pymodules/its/ |
D | dng.py | 23 def compute_cm_fm(illuminant, gains, ccm, cal): argument 89 G = numpy.array([[gains[0],0,0], [0,gains[1],0], [0,0,gains[3]]])
|
D | image.py | 346 def get_gains_in_canonical_order(props, gains): argument 359 return gains 362 return [gains[0], gains[2], gains[1], gains[3]] 388 gains = cap_res['android.colorCorrection.gains'] 394 gains = get_gains_in_canonical_order(props, gains) 408 gains = numpy.array([gains[i] for i in [0,1,3]]) 412 img = (((img.reshape(h,w,3) - black_levels) * scale) * gains).clip(0.0,1.0)
|
D | target.py | 59 sens, exp_time, gains, xform, _ \ 75 req["android.colorCorrection.gains"] = gains
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_3a_consistency.py | 45 s, e, gains, xform, fd = cam.do_3a(get_results=True, 48 print ' gains', gains, 'transform', xform 53 g_gains.append(gains[2]) 62 for g in gains:
|
/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/tests/dng_noise_model/ |
D | dng_noise_model.py | 216 gains = np.asarray([s[0] for s in samples[pidx]]) 223 digital_gains = np.maximum(gains/sens_max_analog, 1) 228 ad = gains*means 230 cd = gains*gains 237 a /= (np.tile(gains, (a.shape[1], 1)).T) 238 b /= gains
|
/cts/apps/CameraITS/tests/ |
D | tutorial.py | 100 sens, exp, gains, xform, focus = cam.do_3a(get_results=True) 102 print "AWB: gains", gains, "transform", xform 119 req["android.colorCorrection.gains"] = gains
|
/cts/apps/CameraITS/tests/scene5/ |
D | test_lens_shading_and_color_uniformity.py | 59 sens, exp, gains, xform, focus = cam.do_3a(get_results=True, 64 print "AWB gains", gains
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_aspect_ratio_and_crop.py | 180 sens, exp, gains, xform, focus = cam.do_3a(get_results=True, 184 print "AWB gains", gains 190 req["android.colorCorrection.gains"] = gains
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 1310 RggbChannelVector gains = result.get(CaptureResult.COLOR_CORRECTION_GAINS); in colorCorrectionTestByCamera() local 1316 UNIT_GAIN, gains); in colorCorrectionTestByCamera() 2129 RggbChannelVector gains = getValueNotNull(result, CaptureResult.COLOR_CORRECTION_GAINS); 2133 lockedGains, gains);
|