Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSurfaceUtils.java66 int surfaceFormat = getSurfaceFormat(surface); in isSurfaceForPreview() local
87 int surfaceFormat = getSurfaceFormat(surface); in isSurfaceForHwVideoEncoder() local
221 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat() local
223 if (surfaceFormat != ImageFormat.PRIVATE) { in checkHighSpeedSurfaceFormat()
224 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp407 int32_t width, height, surfaceFormat; in ImageWriter_init() local
443 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceFormat)) != OK) { in ImageWriter_init()
468 surfaceFormat = userFormat; in ImageWriter_init()
471 ctx->setBufferFormat(surfaceFormat); in ImageWriter_init()
473 gImageWriterClassInfo.mWriterFormat, reinterpret_cast<jint>(surfaceFormat)); in ImageWriter_init()
475 if (!isFormatOpaque(surfaceFormat)) { in ImageWriter_init()
480 surfaceFormat, strerror(-res), res); in ImageWriter_init()
/aosp12/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java554 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor() local
566 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor()
/aosp12/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp858 pSurfaceFormats[i].surfaceFormat = surface_formats[i]; in GetPhysicalDeviceSurfaceFormats2KHR()