Home
last modified time | relevance | path

Searched refs:surfaceFormat (Results 1 – 7 of 7) 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.cpp258 int32_t width, height, surfaceFormat; in ImageWriter_init() local
276 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceFormat)) != OK) { in ImageWriter_init()
282 surfaceFormat = userFormat; in ImageWriter_init()
284 ctx->setBufferFormat(surfaceFormat); in ImageWriter_init()
286 gImageWriterClassInfo.mWriterFormat, reinterpret_cast<jint>(surfaceFormat)); in ImageWriter_init()
288 if (!isFormatOpaque(surfaceFormat)) { in ImageWriter_init()
293 surfaceFormat, strerror(-res), res); in ImageWriter_init()
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp439 VkFormat surfaceFormat = VK_FORMAT_UNDEFINED; in createSwapchain() local
450 surfaceFormat = surfaceFormats[i].format; in createSwapchain()
455 if (VK_FORMAT_UNDEFINED == surfaceFormat) { in createSwapchain()
475 swapchainCreateInfo.imageFormat = surfaceFormat; in createSwapchain()
513 createBuffers(surface, surfaceFormat, extent); in createSwapchain()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java609 int surfaceFormat = ImageFormat.UNKNOWN; in isPreviewConsumer() local
611 surfaceFormat = detectSurfaceType(output); in isPreviewConsumer()
627 int surfaceFormat = ImageFormat.UNKNOWN; in isVideoEncoderConsumer() local
629 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.cpp731 pSurfaceFormats[i].surfaceFormat = surface_formats[i]; in GetPhysicalDeviceSurfaceFormats2KHR()
/frameworks/native/vulkan/api/
Dvulkan.api4289 VkSurfaceFormatKHR surfaceFormat
6552 surfaceFormat := ?
6553 surfaceFormats[i] = surfaceFormat