Home
last modified time | relevance | path

Searched refs:caps (Results 1 – 25 of 60) sorted by relevance

123

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py19 import its.caps
37 print " Legacy:", its.caps.legacy(props)
38 print " Limited:", its.caps.limited(props)
39 print " Full:", its.caps.full(props)
41 print " Manual sensor:", its.caps.manual_sensor(props)
42 print " Manual post-proc:", its.caps.manual_post_proc(props)
43 print " Raw:", its.caps.raw(props)
44 print " Sensor fusion:", its.caps.sensor_fusion(props)
51 manual_sensor = its.caps.manual_sensor(props)
Dtest_param_sensitivity_burst.py16 import its.caps
31 its.caps.skip_unless(its.caps.manual_sensor(props) and
32 its.caps.per_frame_control(props))
41 caps = cam.do_capture(reqs, fmt)
42 for i,cap in enumerate(caps):
Dtest_jitter.py16 import its.caps
36 its.caps.skip_unless(its.caps.manual_sensor(props) and
37 its.caps.sensor_fusion(props))
40 caps = cam.do_capture([req]*50, [fmt])
43 tstamps = [c['metadata']['android.sensor.timestamp'] for c in caps]
Dtest_sensor_events.py16 import its.caps
29 its.caps.skip_unless(its.caps.sensor_fusion(props))
/cts/apps/CameraITS/tests/scene1/
Dtest_format_combos.py16 import its.caps
36 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
37 its.caps.raw16(props))
80 caps = cam.do_capture([req]*burst_len, fmt_combo)
85 if not isinstance(caps, list):
86 caps = [caps]
87 elif isinstance(caps[0], list):
88 caps = sum(caps, [])
89 for c,cap in enumerate(caps):
Dtest_ae_precapture_trigger.py16 import its.caps
38 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
39 its.caps.per_frame_control(props))
55 caps = cam.do_capture(manual_reqs, fmt)
56 for cap in caps:
77 caps = cam.do_capture([auto_req] * AE_FRAMES_PER_ITERATION, fmt)
78 state = caps[-1]['metadata']['android.control.aeState']
Dtest_reprocess_noise_reduction.py16 import its.caps
46 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
47 its.caps.per_frame_control(props) and
48 its.caps.noise_reduction_mode(props, 0) and
49 (its.caps.yuv_reprocess(props) or
50 its.caps.private_reprocess(props)))
53 assert(its.caps.noise_reduction_mode(props, 4))
56 if (its.caps.yuv_reprocess(props)):
58 if (its.caps.private_reprocess(props)):
85 if not its.caps.noise_reduction_mode(props, nr_mode):
[all …]
Dtest_raw_burst_sensitivity.py16 import its.caps
40 its.caps.skip_unless(its.caps.raw16(props) and
41 its.caps.manual_sensor(props) and
42 its.caps.read_3a(props) and
43 its.caps.per_frame_control(props))
59 caps = cam.do_capture(reqs, cam.CAP_RAW)
62 for i,cap in enumerate(caps):
Dtest_param_shading_mode.py15 import its.caps
38 its.caps.skip_unless(its.caps.per_frame_control(props) and
39 its.caps.lsc_map(props) and
40 its.caps.lsc_off(props))
81 caps = cam.do_capture(reqs)
88 for i in range(len(caps)):
90 caps[i]["metadata"]["android.statistics.lensShadingMap"]
Dtest_locked_burst.py18 import its.caps
41 its.caps.skip_unless(its.caps.ae_lock(props) and
42 its.caps.awb_lock(props))
57 caps = cam.do_capture([req]*BURST_LEN)
58 for i,cap in enumerate(caps):
73 if its.caps.manual_sensor(props) else SPREAD_THRESH
Dtest_param_noise_reduction.py16 import its.caps
50 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
51 its.caps.per_frame_control(props) and
52 its.caps.noise_reduction_mode(props, 0))
72 if not its.caps.noise_reduction_mode(props, mode):
112 if its.caps.noise_reduction_mode(props, 3):
119 if its.caps.noise_reduction_mode(props, 4):
123 elif its.caps.noise_reduction_mode(props, 4):
Dtest_yuv_plus_dng.py16 import its.caps
28 its.caps.skip_unless(its.caps.raw(props) and
29 its.caps.read_3a(props))
Dtest_param_flash_mode.py16 import its.caps
29 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
30 its.caps.flash(props) and
31 its.caps.per_frame_control(props))
Dtest_burst_sameness_manual.py16 import its.caps
42 its.caps.skip_unless(its.caps.manual_sensor(props) and
43 its.caps.per_frame_control(props))
58 caps = cam.do_capture([req]*BURST_LEN, [fmt])
59 for i,cap in enumerate(caps):
Dtest_raw_sensitivity.py16 import its.caps
38 its.caps.skip_unless(its.caps.raw16(props) and
39 its.caps.manual_sensor(props) and
40 its.caps.read_3a(props) and
41 its.caps.per_frame_control(props))
Dtest_yuv_plus_raw12.py16 import its.caps
32 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
33 its.caps.raw12(props) and
34 its.caps.per_frame_control(props))
Dtest_yuv_plus_raw10.py16 import its.caps
32 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
33 its.caps.raw10(props) and
34 its.caps.per_frame_control(props))
Dtest_yuv_plus_raw.py16 import its.caps
32 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
33 its.caps.raw16(props) and
34 its.caps.per_frame_control(props))
Dtest_ev_compensation_advanced.py17 import its.caps
34 its.caps.skip_unless(its.caps.manual_sensor(props) and
35 its.caps.manual_post_proc(props) and
36 its.caps.per_frame_control(props) and
37 its.caps.ev_compensation(props))
Dtest_dng_noise_model.py16 import its.caps
43 its.caps.skip_unless(its.caps.raw(props) and
44 its.caps.raw16(props) and
45 its.caps.manual_sensor(props) and
46 its.caps.read_3a(props) and
47 its.caps.per_frame_control(props))
Dtest_3a.py16 import its.caps
26 its.caps.skip_unless(its.caps.read_3a(props))
/cts/apps/CameraITS/tests/scene3/
Dtest_reprocess_edge_enhancement.py16 import its.caps
92 its.caps.skip_unless(its.caps.read_3a(props) and
93 its.caps.per_frame_control(props) and
94 its.caps.edge_mode(props, 0) and
95 (its.caps.yuv_reprocess(props) or
96 its.caps.private_reprocess(props)))
99 assert(its.caps.edge_mode(props, 3))
102 if (its.caps.yuv_reprocess(props)):
104 if (its.caps.private_reprocess(props)):
118 if not its.caps.edge_mode(props, edge_mode):
[all …]
/cts/apps/CameraITS/tests/inprog/
Dtest_burst_sameness_auto.py16 import its.caps
42 its.caps.skip_unless(its.caps.manual_sensor(props) and
43 its.caps.awb_lock(props))
65 caps = cam.do_capture([req]*BURST_LEN, [fmt])
66 for i,cap in enumerate(caps):
Dtest_burst_sameness_fullres_auto.py18 import its.caps
45 its.caps.skip_unless(its.caps.manual_sensor(props) and
46 its.caps.awb_lock(props))
63 caps = cam.do_capture([req]*BURST_LEN)
64 for i,cap in enumerate(caps):
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java333 CodecCapabilities caps = info.getCapabilitiesForType(mime); in supports() local
334 for (CodecProfileLevel pl : caps.profileLevels) { in supports()
417 CodecCapabilities caps = info.getCapabilitiesForType(mime); in testAllVideoDecodersAreAdaptive() local
420 caps.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback)); in testAllVideoDecodersAreAdaptive()
429 CodecCapabilities caps, String mime, boolean encoder, int width, int height) { in createReasonableVideoFormat() argument
430 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in createReasonableVideoFormat()
461 CodecCapabilities caps = info.getCapabilitiesForType(mime); in testSecureCodecsAdvertiseSecurePlayback() local
464 caps.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback)); in testSecureCodecsAdvertiseSecurePlayback()
480 CodecCapabilities caps = info.getCapabilitiesForType(mime); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
481 if (caps.isFeatureRequired(CodecCapabilities.FEATURE_TunneledPlayback) in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
[all …]

123