Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java867 int[] availableFormats = getBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS); in getAvailableFormats() local
868 if (availableFormats != null) { in getAvailableFormats()
869 for (int i = 0; i < availableFormats.length; i++) { in getAvailableFormats()
871 if (availableFormats[i] == NATIVE_JPEG_FORMAT) { in getAvailableFormats()
872 availableFormats[i] = ImageFormat.JPEG; in getAvailableFormats()
877 return availableFormats; in getAvailableFormats()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1175 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in buildFastInfo() local
1176 if (!availableFormats.size()) return NO_INIT; in buildFastInfo()
1257 for (size_t i = 0; i < availableFormats.size(); i++) { in buildFastInfo()
1258 if (availableFormats[i] == HAL_PIXEL_FORMAT_YCbCr_420_888) { in buildFastInfo()
1499 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in set() local
1508 for (i = 0; i < availableFormats.size(); i++) { in set()
1509 if (availableFormats[i] == validatedParams.previewFormat) break; in set()
1511 if (i == availableFormats.size()) { in set()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java990 int[] availableFormats = new int[] { in testReadWriteOverride() local
1010 validateArrayMetadataReadWriteOverride(formatKey, availableFormats, in testReadWriteOverride()