Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java121 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat() local
123 if (surfaceFormat != ImageFormat.PRIVATE) { in checkHighSpeedSurfaceFormat()
124 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp257 int32_t width, height, surfaceFormat; in ImageWriter_init() local
275 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceFormat)) != OK) { in ImageWriter_init()
281 surfaceFormat = userFormat; in ImageWriter_init()
283 ctx->setBufferFormat(surfaceFormat); in ImageWriter_init()
285 gImageWriterClassInfo.mWriterFormat, reinterpret_cast<jint>(surfaceFormat)); in ImageWriter_init()
287 if (!isFormatOpaque(surfaceFormat)) { in ImageWriter_init()
292 surfaceFormat, strerror(-res), res); in ImageWriter_init()
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp431 VkFormat surfaceFormat = VK_FORMAT_UNDEFINED; in createSwapchain() local
442 surfaceFormat = surfaceFormats[i].format; in createSwapchain()
447 if (VK_FORMAT_UNDEFINED == surfaceFormat) { in createSwapchain()
467 swapchainCreateInfo.imageFormat = surfaceFormat; in createSwapchain()
505 createBuffers(surface, surfaceFormat, extent); in createSwapchain()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java630 int surfaceFormat = ImageFormat.UNKNOWN; in isPreviewConsumer() local
632 surfaceFormat = detectSurfaceType(output); in isPreviewConsumer()
648 int surfaceFormat = ImageFormat.UNKNOWN; in isVideoEncoderConsumer() local
650 surfaceFormat = detectSurfaceType(output); in isVideoEncoderConsumer()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java405 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor() local
414 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp734 pSurfaceFormats[i].surfaceFormat = surface_formats[i]; in GetPhysicalDeviceSurfaceFormats2KHR()
/frameworks/native/vulkan/api/
Dvulkan.api4695 VkSurfaceFormatKHR surfaceFormat
7080 surfaceFormat := ?
7081 surfaceFormats[i] = surfaceFormat
/frameworks/native/vulkan/include/vulkan/
Dvulkan.h4796 VkSurfaceFormatKHR surfaceFormat; member