Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene1/
Dtest_capture_result.py117 gains = cap_res["android.colorCorrection.gains"]
124 print "Gains:", gains
135 assert(len(gains) == 4)
137 assert(all([g > 0 for g in gains]))
141 assert(any([not is_close_float(gains[i], manual_gains[i])
161 gains = cap_res["android.colorCorrection.gains"]
171 print "Gains:", gains
185 assert(len(gains) == 4)
187 assert( all([is_close_float(gains[i], manual_gains_ok[0][i])
189 all([is_close_float(gains[i], manual_gains_ok[1][i])
[all …]
Dtest_3a.py28 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
30 print "AWB: gains", gains, "transform", xform
34 assert(len(gains) == 4)
Dtest_auto_vs_manual.py40 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
43 print "AWB gains", gains
61 req["android.colorCorrection.gains"] = gains
90 assert(all([abs(gains[i] - g[i]) < 0.05 for i in range(4)]))
Dtest_param_color_correction.py60 gains = [[1,1,1,1], [2,1,1,1], [1,1,1,1]]
72 req["android.colorCorrection.gains"] = gains[i]
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
Draw_converter.rs218 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/
Ddng.py23 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]]])
Dimage.py323 def get_gains_in_canonical_order(props, gains): argument
336 return gains
339 return [gains[0], gains[2], gains[1], gains[3]]
364 gains = cap_res['android.colorCorrection.gains']
371 gains = get_gains_in_canonical_order(props, gains)
385 gains = numpy.array([gains[i] for i in [0,1,3]])
389 img = (((img.reshape(h,w,3) - black_levels) * scale) * gains).clip(0.0,1.0)
Dtarget.py59 sens, exp_time, gains, xform, _ \
76 req["android.colorCorrection.gains"] = gains
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py196 gains = np.asarray([s[0] for s in samples])
203 digital_gains = np.maximum(gains/sens_max_analog, 1)
208 ad = gains*means
210 cd = gains*gains
217 a = a/(np.tile(gains, (a.shape[1], 1)).T)
218 b = b/gains
/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.py50 gains = cap["metadata"]["android.colorCorrection.gains"]
58 print "Gains:", gains
Dtest_param_edge_mode.py39 sens, exp, gains, xform, focus = cam.do_3a(get_results=True)
/cts/apps/CameraITS/tests/
Dtutorial.py100 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/scene4/
Dtest_aspect_ratio_and_crop.py80 sens, exp, gains, xform, focus = cam.do_3a(get_results=True,
83 print "AWB gains", gains
89 req["android.colorCorrection.gains"] = gains
/cts/apps/CameraITS/tests/scene5/
Dtest_lens_shading_and_color_uniformity.py56 sens, exp, gains, xform, focus = cam.do_3a(get_results=True,
61 print "AWB gains", gains
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1170 RggbChannelVector gains = result.get(CaptureResult.COLOR_CORRECTION_GAINS); in colorCorrectionTestByCamera() local
1176 UNIT_GAIN, gains); in colorCorrectionTestByCamera()
1979 RggbChannelVector gains = getValueNotNull(result, CaptureResult.COLOR_CORRECTION_GAINS);
1983 lockedGains, gains);