Home
last modified time | relevance | path

Searched refs:fmts (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py126 fmts = props['android.scaler.streamConfigurationMap'][
128 fmts = sorted(
129 fmts, key=lambda k: k['width'] * k['height'], reverse=True)
131 pixel_pitch_h = (sensor_size['height'] / fmts[0]['height'] * 1E3)
132 pixel_pitch_w = (sensor_size['width'] / fmts[0]['width'] * 1E3)
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java162 int fmts[] = map.getOutputFormats(); in storeStreamConfigurationMap() local
163 if (fmts != null) { in storeStreamConfigurationMap()
165 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeStreamConfigurationMap()
166 Size sizes[] = map.getOutputSizes(fmts[fi]); in storeStreamConfigurationMap()
170 mStore.addResult("format", fmts[fi]); in storeStreamConfigurationMap()
175 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in storeStreamConfigurationMap()
314 int[] fmts = map.getOutputFormats(); in storeMultiResStreamConfigurationMap() local
315 if (fmts != null) { in storeMultiResStreamConfigurationMap()
316 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeMultiResStreamConfigurationMap()
317 Collection<MultiResolutionStreamInfo> streamInfo = map.getOutputInfo(fmts[fi]); in storeMultiResStreamConfigurationMap()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java139 int fmts[] = map.getOutputFormats(); in serializeStreamConfigurationMap() local
140 if (fmts != null) { in serializeStreamConfigurationMap()
141 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in serializeStreamConfigurationMap()
142 Size sizes[] = map.getOutputSizes(fmts[fi]); in serializeStreamConfigurationMap()
146 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap()
151 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap()
155 sizes = map.getHighResolutionOutputSizes(fmts[fi]); in serializeStreamConfigurationMap()
159 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap()
164 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap()
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py421 fmts = ['yuv']
423 fmts.insert(0, 'raw') # add RAW to analysis if enough cameras
434 for i, fmt in enumerate(fmts):
456 for j, fmt in enumerate(fmts):
/cts/apps/CameraITS/tests/scene2_b/
Dtest_auto_per_frame_control.py238 fmts = _determine_test_formats(cam, props, raw_avlb, debug)
241 for i, fmt in enumerate(fmts):