Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp133 Vector<Size> supportedSizes; in trySettingVideoSize() local
134 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()
136 if (supportedSizes.size() == 0) { in trySettingVideoSize()
137 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()
143 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()
144 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()
145 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
DCameraSource.cpp281 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument
284 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()
285 if (width == supportedSizes[i].width && in isVideoSizeSupported()
286 height == supportedSizes[i].height) { in isVideoSizeSupported()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java602 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument
603 if (size == null || supportedSizes == null) { in findClosestSize()
607 for (Size s : supportedSizes) { in findClosestSize()