Searched refs:surfaceFormat (Results 1 – 4 of 4) sorted by relevance
125 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in checkHighSpeedSurfaceFormat() local126 if (surfaceFormat >= HAL_FORMAT_RGB_START && in checkHighSpeedSurfaceFormat()127 surfaceFormat <= HAL_FORMAT_RGB_END) { in checkHighSpeedSurfaceFormat()128 surfaceFormat = ImageFormat.PRIVATE; in checkHighSpeedSurfaceFormat()131 if (surfaceFormat != ImageFormat.PRIVATE) { in checkHighSpeedSurfaceFormat()132 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
405 int surfaceFormat = SurfaceUtils.getSurfaceFormat(surface); in isOutputSupportedFor() local412 if ((surfaceFormat >= LegacyMetadataMapper.HAL_PIXEL_FORMAT_RGBA_8888 && in isOutputSupportedFor()413 surfaceFormat <= LegacyMetadataMapper.HAL_PIXEL_FORMAT_BGRA_8888)) { in isOutputSupportedFor()414 surfaceFormat = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in isOutputSupportedFor()420 if (config.getFormat() == surfaceFormat && config.isOutput()) { in isOutputSupportedFor()
611 int surfaceFormat = ImageFormat.UNKNOWN; in isPreviewConsumer() local613 surfaceFormat = detectSurfaceType(output); in isPreviewConsumer()629 int surfaceFormat = ImageFormat.UNKNOWN; in isVideoEncoderConsumer() local631 surfaceFormat = detectSurfaceType(output); in isVideoEncoderConsumer()
4941 surfaceFormat := ?4942 surfaceFormats[i] = surfaceFormat