Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene0/
Dtest_metadata.py88 fmts = props["android.scaler.streamConfigurationMap"]["availableStreamConfigurations"]
89 fmts = sorted(fmts, key=lambda k: k["width"]*k["height"], reverse=True)
91 pixel_pitch_h = (sensor_size["height"] / fmts[0]["height"] * 1E3)
92 pixel_pitch_w = (sensor_size["width"] / fmts[0]["width"] * 1E3)
/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/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java140 int fmts[] = map.getOutputFormats(); in storeStreamConfigurationMap() local
141 if (fmts != null) { in storeStreamConfigurationMap()
143 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeStreamConfigurationMap()
144 Size sizes[] = map.getOutputSizes(fmts[fi]); in storeStreamConfigurationMap()
148 mStore.addResult("format", fmts[fi]); in storeStreamConfigurationMap()
153 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in storeStreamConfigurationMap()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java308 int fmts[] = map.getOutputFormats(); in serializeStreamConfigurationMap() local
309 if (fmts != null) { in serializeStreamConfigurationMap()
310 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in serializeStreamConfigurationMap()
311 Size sizes[] = map.getOutputSizes(fmts[fi]); in serializeStreamConfigurationMap()
315 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap()
320 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in serializeStreamConfigurationMap()
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py290 fmts = ['yuv']
293 fmts.insert(0, 'raw') # insert in first location in list
301 for i, fmt in enumerate(fmts):
345 for j, fmt in enumerate(fmts):