diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-12 22:02:10 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-11-07 19:27:24 +0200 |
commit | 819f6172ea73cfc1be80d6ade11819e981f0409d (patch) | |
tree | 85dccefed2da669e3db18c63229b7141d8b30066 /src/qcam/viewfinder_gl.h | |
parent | dfadca635682772cf93552642f0585ecfe2c851c (diff) |
qcam: viewfinder_gl: Rename yuvData_ to data_
In preparation for RGB formats support, rename the pointer to image data
from yuvData_ to data_.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
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 40c04dc5..b3e36514 100644 --- a/src/qcam/viewfinder_gl.h +++ b/src/qcam/viewfinder_gl.h @@ -65,7 +65,7 @@ private: libcamera::FrameBuffer *buffer_; libcamera::PixelFormat format_; QSize size_; - unsigned char *yuvData_; + unsigned char *data_; /* Shaders */ QOpenGLShaderProgram shaderProgram_; |