diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-06 01:43:36 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-09-07 19:18:53 +0300 |
commit | c20ad98c2a96d31847b0ef4b500e1e7a221b67c0 (patch) | |
tree | 4a58bfc2810824cdeb17502e9a6a1d39f7798012 /src/qcam/viewfinder_gl.h | |
parent | a13676f2bb9a86ced75ed640f571512cf1a76afe (diff) |
qcam: viewfinder_gl: Support multi-planar buffers
Now that the ViewFinderGL receives an Image, it can trivially support
multi-planar buffers.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/viewfinder_gl.h')
-rw-r--r-- | src/qcam/viewfinder_gl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcam/viewfinder_gl.h b/src/qcam/viewfinder_gl.h index 7cd8ef33..72a60ecb 100644 --- a/src/qcam/viewfinder_gl.h +++ b/src/qcam/viewfinder_gl.h @@ -67,7 +67,7 @@ private: libcamera::PixelFormat format_; QSize size_; unsigned int stride_; - unsigned char *data_; + Image *image_; /* Shaders */ QOpenGLShaderProgram shaderProgram_; |