Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp129 Vector<Size> supportedSizes; in trySettingVideoSize() local
130 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()
132 if (supportedSizes.size() == 0) { in trySettingVideoSize()
133 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()
139 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()
140 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()
141 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
DCameraSource.cpp189 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument
192 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()
193 if (width == supportedSizes[i].width && in isVideoSizeSupported()
194 height == supportedSizes[i].height) { in isVideoSizeSupported()
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java238 Size[] supportedSizes = streamMap.getOutputSizes(format); in generateSupportedSizes() local
239 if ((ret.isEmpty()) && (supportedSizes != null)) { in generateSupportedSizes()
240 ret.addAll(Arrays.asList(supportedSizes)); in generateSupportedSizes()
250 HashSet<Size> supportedSizes = extensionSizes.isEmpty() ? new HashSet<>(Arrays.asList( in generateJpegSupportedSizes() local
254 supportedSizes.retainAll(supportedJpegSizes); in generateJpegSupportedSizes()
256 return new ArrayList<>(supportedSizes); in generateJpegSupportedSizes()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraAdvancedExtensionSessionImpl.java197 List<Size> supportedSizes = extensionChars.getExtensionSupportedSizes( in createCameraAdvancedExtensionSession() local
199 if (supportedSizes != null) { in createCameraAdvancedExtensionSession()
200 supportedCaptureSizes.put(format, supportedSizes); in createCameraAdvancedExtensionSession()
DCameraExtensionSessionImpl.java197 List<Size> supportedSizes = extensionChars.getExtensionSupportedSizes( in createCameraExtensionSession() local
199 if (supportedSizes != null) { in createCameraExtensionSession()
200 supportedCaptureSizes.put(format, supportedSizes); in createCameraExtensionSession()