Home
last modified time | relevance | path

Searched refs:caps (Results 1 – 25 of 66) 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 or better:", its.caps.full_or_better(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]
/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
47 its.caps.skip_unless(its.caps.compute_target_exposure(props) and
48 its.caps.per_frame_control(props) and
49 its.caps.noise_reduction_mode(props, 0) and
50 (its.caps.yuv_reprocess(props) or
51 its.caps.private_reprocess(props)))
54 assert(its.caps.noise_reduction_mode(props, 4))
57 if (its.caps.yuv_reprocess(props)):
59 if (its.caps.private_reprocess(props)):
87 if not its.caps.noise_reduction_mode(props, nr_mode):
[all …]
Dtest_param_shading_mode.py15 import its.caps
39 its.caps.skip_unless(its.caps.per_frame_control(props) and
40 its.caps.lsc_map(props) and
41 its.caps.lsc_off(props))
82 caps = cam.do_capture(reqs)
89 for i in range(len(caps)):
91 caps[i]["metadata"]["android.statistics.lensShadingMap"]
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))
61 caps = cam.do_capture(reqs, cam.CAP_RAW)
64 for i,cap in enumerate(caps):
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_ev_compensation_advanced.py17 import its.caps
39 its.caps.skip_unless(its.caps.manual_sensor(props) and
40 its.caps.manual_post_proc(props) and
41 its.caps.per_frame_control(props) and
42 its.caps.ev_compensation(props))
72 caps = cam.do_capture([req]*THREASH_CONVERGE_FOR_EV)
74 for cap in caps:
Dtest_ev_compensation_basic.py16 import its.caps
37 its.caps.skip_unless(its.caps.ev_compensation(props) and
38 its.caps.ae_lock(props))
57 caps = cam.do_capture([req]*THREASH_CONVERGE_FOR_EV)
58 for cap in caps:
Dtest_post_raw_sensitivity_boost.py16 import its.caps
40 its.caps.skip_unless(its.caps.raw_output(props) and
41 its.caps.post_raw_sensitivity_boost(props) and
42 its.caps.compute_target_exposure(props) and
43 its.caps.per_frame_control(props))
48 if its.caps.raw16(props):
50 elif its.caps.raw10(props):
52 elif its.caps.raw12(props):
86 caps = cam.do_capture(reqs, out_surfaces)
90 raw_caps, yuv_caps = caps
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))
71 if not its.caps.noise_reduction_mode(props, mode):
127 if its.caps.noise_reduction_mode(props, 3):
134 if its.caps.noise_reduction_mode(props, 4):
138 elif its.caps.noise_reduction_mode(props, 4):
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_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_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_yuv_plus_dng.py16 import its.caps
28 its.caps.skip_unless(its.caps.raw(props) and
29 its.caps.read_3a(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_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))
/cts/apps/CameraITS/tests/scene3/
Dtest_reprocess_edge_enhancement.py16 import its.caps
98 its.caps.skip_unless(its.caps.read_3a(props) and
99 its.caps.per_frame_control(props) and
100 its.caps.edge_mode(props, 0) and
101 (its.caps.yuv_reprocess(props) or
102 its.caps.private_reprocess(props)))
105 assert(its.caps.edge_mode(props, 3))
108 if (its.caps.yuv_reprocess(props)):
110 if (its.caps.private_reprocess(props)):
124 if not its.caps.edge_mode(props, edge_mode):
[all …]
Dtest_edge_enhancement.py16 import its.caps
87 its.caps.skip_unless(its.caps.read_3a(props) and
88 its.caps.per_frame_control(props) and
89 its.caps.edge_mode(props, 0))
103 if not its.caps.edge_mode(props, edge_mode):
/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.java336 CodecCapabilities caps = info.getCapabilitiesForType(mime); in supports() local
337 for (CodecProfileLevel pl : caps.profileLevels) { in supports()
420 CodecCapabilities caps = info.getCapabilitiesForType(mime); in testAllVideoDecodersAreAdaptive() local
423 caps.isFeatureSupported(CodecCapabilities.FEATURE_AdaptivePlayback)); in testAllVideoDecodersAreAdaptive()
432 CodecCapabilities caps, String mime, boolean encoder, int width, int height) { in createReasonableVideoFormat() argument
433 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in createReasonableVideoFormat()
464 CodecCapabilities caps = info.getCapabilitiesForType(mime); in testSecureCodecsAdvertiseSecurePlayback() local
467 caps.isFeatureSupported(CodecCapabilities.FEATURE_SecurePlayback)); in testSecureCodecsAdvertiseSecurePlayback()
483 CodecCapabilities caps = info.getCapabilitiesForType(mime); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
484 if (caps.isFeatureRequired(CodecCapabilities.FEATURE_TunneledPlayback) in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
[all …]

123