Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp132 Vector<Size> supportedSizes; in trySettingVideoSize() local
133 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()
135 if (supportedSizes.size() == 0) { in trySettingVideoSize()
136 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()
142 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()
143 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()
144 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
DCameraSource.cpp256 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument
259 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()
260 if (width == supportedSizes[i].width && in isVideoSizeSupported()
261 height == supportedSizes[i].height) { in isVideoSizeSupported()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java556 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument
557 if (size == null || supportedSizes == null) { in findClosestSize()
561 for (Size s : supportedSizes) { in findClosestSize()