diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-09-13 01:04:20 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-04 22:51:45 +0300 |
commit | dcc47ff715ef1a8b97df53c810ec0c4b069b06e5 (patch) | |
tree | dcfb3fc39fa69ec4c04bfa68550834dee075770f /src/qcam/viewfinder_gl.h | |
parent | ae9e7fbf3a8bf45b08951b650aec3f91997fafc3 (diff) |
qcam: viewfinder_gl: Add shader to render packed YUV formats
The shader supports all 4 packed 8-bit YUV variants.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam/viewfinder_gl.h')
-rw-r--r-- | src/qcam/viewfinder_gl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcam/viewfinder_gl.h b/src/qcam/viewfinder_gl.h index 53424dc1..ad1e195e 100644 --- a/src/qcam/viewfinder_gl.h +++ b/src/qcam/viewfinder_gl.h @@ -79,6 +79,7 @@ private: GLuint textureUniformU_; GLuint textureUniformV_; GLuint textureUniformY_; + GLuint textureUniformStepX_; QOpenGLTexture textureU_; QOpenGLTexture textureV_; QOpenGLTexture textureY_; |