Home
last modified time | relevance | path

Searched refs:surfaceFormat (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java125 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat() local
126 if (surfaceFormat >= HAL_FORMAT_RGB_START && in checkHighSpeedSurfaceFormat()
127 surfaceFormat <= HAL_FORMAT_RGB_END) { in checkHighSpeedSurfaceFormat()
128 surfaceFormat = ImageFormat.PRIVATE; in checkHighSpeedSurfaceFormat()
131 if (surfaceFormat != ImageFormat.PRIVATE) { in checkHighSpeedSurfaceFormat()
132 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java405 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor() local
412 if ((surfaceFormat >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in isOutputSupportedFor()
413 surfaceFormat <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in isOutputSupportedFor()
414 surfaceFormat = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in isOutputSupportedFor()
420 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java611 int surfaceFormat = ImageFormat.UNKNOWN; in isPreviewConsumer() local
613 surfaceFormat = detectSurfaceType(output); in isPreviewConsumer()
629 int surfaceFormat = ImageFormat.UNKNOWN; in isVideoEncoderConsumer() local
631 surfaceFormat = detectSurfaceType(output); in isVideoEncoderConsumer()
/frameworks/native/vulkan/api/
Dvulkan.api4941 surfaceFormat := ?
4942 surfaceFormats[i] = surfaceFormat