[libcamera-devel] [PATCH 10/10] libcamera: ipu3: Use NV12 as default image format
Jacopo Mondi
jacopo at jmondi.org
Thu Feb 28 21:04:10 CET 2019
Now that images come from the ImgU output, hardcode NV12 as default
output format.
Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
src/libcamera/pipeline/ipu3/ipu3.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index 3138eb0bf8b6..660c00dacb2f 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -187,7 +187,7 @@ PipelineHandlerIPU3::streamConfiguration(Camera *camera,
V4L2Subdevice *sensor = data->cio2.sensor;
StreamConfiguration *config = &configs[&data->stream_];
- config->pixelFormat = V4L2_PIX_FMT_IPU3_SGRBG10;
+ config->pixelFormat = V4L2_PIX_FMT_NV12;
config->bufferCount = IPU3_BUF_NUM;
/*
--
2.20.1
More information about the libcamera-devel
mailing list