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.java620 int[] availableFormats = getBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS); in getAvailableFormats() local
621 if (availableFormats != null) { in getAvailableFormats()
622 for (int i = 0; i < availableFormats.length; i++) { in getAvailableFormats()
624 if (availableFormats[i] == NATIVE_JPEG_FORMAT) { in getAvailableFormats()
625 availableFormats[i] = ImageFormat.JPEG; in getAvailableFormats()
630 return availableFormats; in getAvailableFormats()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1098 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in buildFastInfo() local
1099 if (!availableFormats.size()) return NO_INIT; in buildFastInfo()
1190 for (size_t i = 0; i < availableFormats.size(); i++) { in buildFastInfo()
1191 if (availableFormats[i] == HAL_PIXEL_FORMAT_YCbCr_420_888) { in buildFastInfo()
1402 SortedVector<int32_t> availableFormats = getAvailableOutputFormats(); in set() local
1411 for (i = 0; i < availableFormats.size(); i++) { in set()
1412 if (availableFormats[i] == validatedParams.previewFormat) break; in set()
1414 if (i == availableFormats.size()) { in set()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java982 int[] availableFormats = new int[] { in testReadWriteOverride() local
1002 validateArrayMetadataReadWriteOverride(formatKey, availableFormats, in testReadWriteOverride()