Searched refs:surfaceFormat (Results 1 – 5 of 5) sorted by relevance
137 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat() local139 if (surfaceFormat != ImageFormat.PRIVATE) { in checkHighSpeedSurfaceFormat()140 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
406 int32_t width, height, surfaceFormat; in ImageWriter_init() local424 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()
666 int surfaceFormat = ImageFormat.UNKNOWN; in isPreviewConsumer() local668 surfaceFormat = detectSurfaceType(output); in isPreviewConsumer()684 int surfaceFormat = ImageFormat.UNKNOWN; in isVideoEncoderConsumer() local686 surfaceFormat = detectSurfaceType(output); in isVideoEncoderConsumer()
553 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor() local565 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor()
843 pSurfaceFormats[i].surfaceFormat = surface_formats[i]; in GetPhysicalDeviceSurfaceFormats2KHR()