Home
last modified time | relevance | path

Searched refs:sizes (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp81 simplevector<int> sizes; in testExtractor() local
83 sizes.add(numtracks); in testExtractor()
93 sizes.add(0); in testExtractor()
97 sizes.add(val32); in testExtractor()
99 sizes.add(val32); in testExtractor()
101 sizes.add(val64); in testExtractor()
103 sizes.add(1); in testExtractor()
107 sizes.add(val32); in testExtractor()
109 sizes.add(val32); in testExtractor()
111 sizes.add(val64); in testExtractor()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java148 public static Size getMaxSize(Size[] sizes) { in getMaxSize() argument
149 if (sizes == null || sizes.length == 0) { in getMaxSize()
153 Size maxSize = sizes[0]; in getMaxSize()
154 for (int i = 1; i < sizes.length; i++) { in getMaxSize()
155 if (sizes[i].getWidth() * sizes[i].getHeight() > in getMaxSize()
157 maxSize = sizes[i]; in getMaxSize()
DItsSerializer.java141 Size sizes[] = map.getOutputSizes(fmts[fi]); in serializeStreamConfigurationMap() local
142 if (sizes != null) { in serializeStreamConfigurationMap()
143 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap()
146 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap()
147 obj.put("height", sizes[si].getHeight()); in serializeStreamConfigurationMap()
150 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); in serializeStreamConfigurationMap()
154 sizes = map.getHighResolutionOutputSizes(fmts[fi]); in serializeStreamConfigurationMap()
155 if (sizes != null) { in serializeStreamConfigurationMap()
156 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap()
159 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap()
[all …]
DItsService.java823 Size sizes[] = ItsUtils.getYuvOutputSizes(mCameraCharacteristics);
827 outputSizes[0] = sizes[0];
1050 Size sizes[];
1054 sizes = ItsUtils.getYuvOutputSizes(mCameraCharacteristics);
1057 sizes = ItsUtils.getJpegOutputSizes(mCameraCharacteristics);
1060 sizes = ItsUtils.getRaw16OutputSizes(mCameraCharacteristics);
1063 sizes = ItsUtils.getRaw10OutputSizes(mCameraCharacteristics);
1066 sizes = ItsUtils.getRaw12OutputSizes(mCameraCharacteristics);
1069 sizes = ItsUtils.getRaw16OutputSizes(mCameraCharacteristics);
1079 if (sizes == null || sizes.length == 0) {
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1035 List<Size> sizes = new ArrayList<Size>(); in getSupportedPreviewSizes() local
1038 sizes.add(sz); in getSupportedPreviewSizes()
1041 return getAscendingOrderSizes(sizes, /*ascending*/false); in getSupportedPreviewSizes()
1079 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager); in getSortedSizesForFormat() local
1083 for (Size sz : sizes) { in getSortedSizesForFormat()
1089 sortedSizes = Arrays.asList(sizes); in getSortedSizesForFormat()
1123 List<Size> sizes = new ArrayList<Size>(); in getSupportedVideoSizes() local
1126 sizes.add(sz); in getSupportedVideoSizes()
1129 return getAscendingOrderSizes(sizes, /*ascending*/false); in getSupportedVideoSizes()
1147 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, null); in getMinPreviewSize() local
[all …]
DImageWriterTest.java187 List<Size> sizes = getSortedSizesForFormat(mCamera.getId(), mCameraManager, format, null); in readerWriterFormatTestByCamera() local
188 Size maxSize = sizes.get(0); in readerWriterFormatTestByCamera()
DStaticMetadataTest.java523 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize() local
525 Size maxSize = CameraTestUtils.getMaxSize(sizes); in getFpsForMaxSize()
DRobustnessTest.java1510 private static Size getMaxSize(Size[] sizes, Size bound) { in getMaxSize() argument
1511 if (sizes == null || sizes.length == 0) { in getMaxSize()
1516 for (Size size : sizes) { in getMaxSize()
1531 assertTrue("No size under bound found: " + Arrays.toString(sizes) + " bound " + bound, in getMaxSize()
DReprocessCaptureTest.java1359 Size[] sizes = mStaticInfo.getAvailableSizesForFormatChecked(format, direction); in getMaxSize() local
1360 return getAscendingOrderSizes(Arrays.asList(sizes), /*ascending*/false).get(0); in getMaxSize()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java551 Size[] sizes = getValueFromKeyNonNull(key); in getAvailableThumbnailSizesChecked() local
552 final List<Size> sizeList = Arrays.asList(sizes); in getAvailableThumbnailSizesChecked()
569 return sizes; in getAvailableThumbnailSizesChecked()
1348 Size[] sizes = null; in getAvailableSizesForFormatChecked() local
1361 sizes = new Size[slowSizeList.length + fastSizeList.length]; in getAvailableSizesForFormatChecked()
1362 System.arraycopy(fastSizeList, 0, sizes, 0, fastSizeList.length); in getAvailableSizesForFormatChecked()
1363 … System.arraycopy(slowSizeList, 0, sizes, fastSizeList.length, slowSizeList.length); in getAvailableSizesForFormatChecked()
1365 sizes = fastSizeList; in getAvailableSizesForFormatChecked()
1367 sizes = slowSizeList; in getAvailableSizesForFormatChecked()
1371 sizes = config.getInputSizes(format); in getAvailableSizesForFormatChecked()
[all …]
DCameraMetadataGetter.java311 Size sizes[] = map.getOutputSizes(fmts[fi]); in serializeStreamConfigurationMap() local
312 if (sizes != null) { in serializeStreamConfigurationMap()
313 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap()
316 obj.put("width", sizes[si].getWidth()); in serializeStreamConfigurationMap()
317 obj.put("height", sizes[si].getHeight()); in serializeStreamConfigurationMap()
320 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in serializeStreamConfigurationMap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java357 final List<Camera.Size> sizes = camera.getParameters() in showNextDialogToChoosePreviewSize() local
359 String[] choices = new String[sizes.size()]; in showNextDialogToChoosePreviewSize()
360 for (int i = 0; i < sizes.size(); ++i) { in showNextDialogToChoosePreviewSize()
361 Camera.Size size = sizes.get(i); in showNextDialogToChoosePreviewSize()
382 Camera.Size size = sizes.get(which); in showNextDialogToChoosePreviewSize()
/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java369 private boolean isSizeSupported(int width, int height, List<Size> sizes) { in isSizeSupported() argument
370 if (sizes == null) return true; in isSizeSupported()
372 for (Size size: sizes) { in isSizeSupported()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java378 private Camera.Size getOptimalPreviewSize(List<Camera.Size> sizes, int w, in getOptimalPreviewSize() argument
382 if (sizes == null) return null; in getOptimalPreviewSize()
394 for (Camera.Size size : sizes) { in getOptimalPreviewSize()
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Ddocs.css542 /* For input sizes, make them display block */
543 .docs-input-sizes select,
544 .docs-input-sizes input[type=text] {
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java797 List<Size> sizes = p.getSupportedJpegThumbnailSizes(); in testJpegThumbnailSizeByCamera() local
798 assertTrue(sizes.size() >= 2); in testJpegThumbnailSizeByCamera()
799 assertTrue(sizes.contains(size)); in testJpegThumbnailSizeByCamera()
800 assertTrue(sizes.contains(mCamera.new Size(0, 0))); in testJpegThumbnailSizeByCamera()
1188 List<Size> sizes = parameters.getSupportedPreviewSizes(); in setPreviewSizeByProfile() local
1191 for (Size size: sizes) { in setPreviewSizeByProfile()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...