Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp130 Vector<Size> supportedSizes; in trySettingVideoSize() local
131 params.getSupportedVideoSizes(supportedSizes); in trySettingVideoSize()
133 if (supportedSizes.size() == 0) { in trySettingVideoSize()
134 params.getSupportedPreviewSizes(supportedSizes); in trySettingVideoSize()
140 for (size_t i = 0; i < supportedSizes.size(); ++i) { in trySettingVideoSize()
141 int32_t pictureWidth = supportedSizes[i].width; in trySettingVideoSize()
142 int32_t pictureHeight = supportedSizes[i].height; in trySettingVideoSize()
DCameraSource.cpp241 const Vector<Size>& supportedSizes) { in isVideoSizeSupported() argument
244 for (size_t i = 0; i < supportedSizes.size(); ++i) { in isVideoSizeSupported()
245 if (width == supportedSizes[i].width && in isVideoSizeSupported()
246 height == supportedSizes[i].height) { in isVideoSizeSupported()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java502 static Size findClosestSize(Size size, Size[] supportedSizes) { in findClosestSize() argument
503 if (size == null || supportedSizes == null) { in findClosestSize()
507 for (Size s : supportedSizes) { in findClosestSize()