Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java137 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat() local
139 if (surfaceFormat != ImageFormat.PRIVATE) { in checkHighSpeedSurfaceFormat()
140 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp406 int32_t width, height, surfaceFormat; in ImageWriter_init() local
424 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceFormat)) != OK) { in ImageWriter_init()
449 surfaceFormat = userFormat; in ImageWriter_init()
452 ctx->setBufferFormat(surfaceFormat); in ImageWriter_init()
454 gImageWriterClassInfo.mWriterFormat, reinterpret_cast<jint>(surfaceFormat)); in ImageWriter_init()
456 if (!isFormatOpaque(surfaceFormat)) { in ImageWriter_init()
461 surfaceFormat, strerror(-res), res); in ImageWriter_init()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java666 int surfaceFormat = ImageFormat.UNKNOWN; in isPreviewConsumer() local
668 surfaceFormat = detectSurfaceType(output); in isPreviewConsumer()
684 int surfaceFormat = ImageFormat.UNKNOWN; in isVideoEncoderConsumer() local
686 surfaceFormat = detectSurfaceType(output); in isVideoEncoderConsumer()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java553 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor() local
565 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp843 pSurfaceFormats[i].surfaceFormat = surface_formats[i]; in GetPhysicalDeviceSurfaceFormats2KHR()