/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 81 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/ |
D | ItsUtils.java | 150 public static Size getMaxSize(Size[] sizes) { in getMaxSize() argument 151 if (sizes == null || sizes.length == 0) { in getMaxSize() 155 Size maxSize = sizes[0]; in getMaxSize() 156 for (int i = 1; i < sizes.length; i++) { in getMaxSize() 157 if (sizes[i].getWidth() * sizes[i].getHeight() > in getMaxSize() 159 maxSize = sizes[i]; in getMaxSize()
|
D | ItsSerializer.java | 141 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 …]
|
D | ItsService.java | 866 Size sizes[] = ItsUtils.getYuvOutputSizes(mCameraCharacteristics); 870 outputSizes[0] = sizes[0]; 1102 Size sizes[]; 1106 sizes = ItsUtils.getYuvOutputSizes(mCameraCharacteristics); 1109 sizes = ItsUtils.getJpegOutputSizes(mCameraCharacteristics); 1112 sizes = ItsUtils.getRaw16OutputSizes(mCameraCharacteristics); 1115 sizes = ItsUtils.getRaw10OutputSizes(mCameraCharacteristics); 1118 sizes = ItsUtils.getRaw12OutputSizes(mCameraCharacteristics); 1121 sizes = ItsUtils.getRaw16OutputSizes(mCameraCharacteristics); 1125 sizes = ItsUtils.getRaw16OutputSizes(mCameraCharacteristics); [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1138 List<Size> sizes = new ArrayList<Size>(); in getSupportedPreviewSizes() local 1141 sizes.add(sz); in getSupportedPreviewSizes() 1144 return getAscendingOrderSizes(sizes, /*ascending*/false); in getSupportedPreviewSizes() 1182 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager); in getSortedSizesForFormat() local 1186 for (Size sz : sizes) { in getSortedSizesForFormat() 1192 sortedSizes = Arrays.asList(sizes); in getSortedSizesForFormat() 1226 List<Size> sizes = new ArrayList<Size>(); in getSupportedVideoSizes() local 1229 sizes.add(sz); in getSupportedVideoSizes() 1232 return getAscendingOrderSizes(sizes, /*ascending*/false); in getSupportedVideoSizes() 1250 List<Size> sizes = getSupportedPreviewSizes(cameraId, cameraManager, null); in getMinPreviewSize() local [all …]
|
D | ImageWriterTest.java | 187 List<Size> sizes = getSortedSizesForFormat(mCamera.getId(), mCameraManager, format, null); in readerWriterFormatTestByCamera() local 188 Size maxSize = sizes.get(0); in readerWriterFormatTestByCamera()
|
D | StaticMetadataTest.java | 541 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize() local 543 Size maxSize = CameraTestUtils.getMaxSize(sizes); in getFpsForMaxSize()
|
D | RobustnessTest.java | 1636 private static Size getMaxSize(Size[] sizes, Size bound) { in getMaxSize() argument 1637 if (sizes == null || sizes.length == 0) { in getMaxSize() 1642 for (Size size : sizes) { in getMaxSize() 1657 assertTrue("No size under bound found: " + Arrays.toString(sizes) + " bound " + bound, in getMaxSize()
|
D | ReprocessCaptureTest.java | 1359 Size[] sizes = mStaticInfo.getAvailableSizesForFormatChecked(format, direction); in getMaxSize() local 1360 return getAscendingOrderSizes(Arrays.asList(sizes), /*ascending*/false).get(0); in getMaxSize()
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 554 Size[] sizes = getValueFromKeyNonNull(key); in getAvailableThumbnailSizesChecked() local 555 final List<Size> sizeList = Arrays.asList(sizes); in getAvailableThumbnailSizesChecked() 572 return sizes; in getAvailableThumbnailSizesChecked() 1351 Size[] sizes = null; in getAvailableSizesForFormatChecked() local 1364 sizes = new Size[slowSizeList.length + fastSizeList.length]; in getAvailableSizesForFormatChecked() 1365 System.arraycopy(fastSizeList, 0, sizes, 0, fastSizeList.length); in getAvailableSizesForFormatChecked() 1366 … System.arraycopy(slowSizeList, 0, sizes, fastSizeList.length, slowSizeList.length); in getAvailableSizesForFormatChecked() 1368 sizes = fastSizeList; in getAvailableSizesForFormatChecked() 1370 sizes = slowSizeList; in getAvailableSizesForFormatChecked() 1374 sizes = config.getInputSizes(format); in getAvailableSizesForFormatChecked() [all …]
|
D | CameraMetadataGetter.java | 311 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/ |
D | PhotoCaptureActivity.java | 362 final List<Camera.Size> sizes = camera.getParameters() in showNextDialogToChoosePreviewSize() local 364 String[] choices = new String[sizes.size()]; in showNextDialogToChoosePreviewSize() 365 for (int i = 0; i < sizes.size(); ++i) { in showNextDialogToChoosePreviewSize() 366 Camera.Size size = sizes.get(i); in showNextDialogToChoosePreviewSize() 387 Camera.Size size = sizes.get(which); in showNextDialogToChoosePreviewSize()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 144 Size sizes[] = map.getOutputSizes(fmts[fi]); in storeStreamConfigurationMap() local 145 if (sizes != null) { in storeStreamConfigurationMap() 146 for (int si = 0; si < Array.getLength(sizes); si++) { in storeStreamConfigurationMap() 149 mStore.addResult("width", sizes[si].getWidth()); in storeStreamConfigurationMap() 150 mStore.addResult("height", sizes[si].getHeight()); in storeStreamConfigurationMap() 153 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); in storeStreamConfigurationMap()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | CamcorderProfileTest.java | 369 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/ |
D | CameraOrientationActivity.java | 378 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/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 795 List<Size> sizes = p.getSupportedJpegThumbnailSizes(); in testJpegThumbnailSizeByCamera() local 796 assertTrue(sizes.size() >= 2); in testJpegThumbnailSizeByCamera() 797 assertTrue(sizes.contains(size)); in testJpegThumbnailSizeByCamera() 798 assertTrue(sizes.contains(mCamera.new Size(0, 0))); in testJpegThumbnailSizeByCamera() 1186 List<Size> sizes = parameters.getSupportedPreviewSizes(); in setPreviewSizeByProfile() local 1189 for (Size size: sizes) { in setPreviewSizeByProfile()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |