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.java459 int[] availableFormats = getBase(CameraCharacteristics.SCALER_AVAILABLE_FORMATS); in getAvailableFormats() local
460 for (int i = 0; i < availableFormats.length; i++) { in getAvailableFormats()
462 if (availableFormats[i] == NATIVE_JPEG_FORMAT) { in getAvailableFormats()
463 availableFormats[i] = ImageFormat.JPEG; in getAvailableFormats()
466 return availableFormats; in getAvailableFormats()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java537 int[] availableFormats = new int[] { in testReadWriteOverride() local
556 mMetadata.set(CameraCharacteristics.SCALER_AVAILABLE_FORMATS, availableFormats); in testReadWriteOverride()
577 assertArrayEquals(availableFormats, resultFormats); in testReadWriteOverride()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp102 camera_metadata_ro_entry_t availableFormats = in initialize() local
108 for (size_t i=0; i < availableFormats.count; i++) { in initialize()
111 switch (availableFormats.data.i32[i]) { in initialize()
153 __FUNCTION__, cameraId, availableFormats.data.i32[i]); in initialize()
938 camera_metadata_ro_entry_t availableFormats = in buildFastInfo() local
940 if (!availableFormats.count) return NO_INIT; in buildFastInfo()
1024 for (size_t i = 0; i < availableFormats.count; i++) { in buildFastInfo()
1025 if (availableFormats.data.i32[i] == HAL_PIXEL_FORMAT_YCbCr_420_888) { in buildFastInfo()
1228 camera_metadata_ro_entry_t availableFormats = in set() local
1238 for (i = 0; i < availableFormats.count; i++) { in set()
[all …]