[libcamera-devel] [RFC v2] [PATCH 0/1] qcam: Render YUV formats frame by OpenGL shader
Show Liu
show.liu at linaro.org
Tue May 26 09:52:02 CEST 2020
This patch is to render the YUV(NV formats family) frame by OpenGL shader.
I rework viewfinder class and give viewfinder handle abstract class as interface
and make it able to handle viewfinder and viewfinderGL both.
I tested on rockpi4b with kernel 5.7rc4+imx219 camera module.
Show Liu (1):
qcam: Render YUV formats frame by OpenGL shader
src/qcam/fshader.h | 86 ++++++++++
src/qcam/main.cpp | 2 +
src/qcam/main_window.cpp | 19 ++-
src/qcam/main_window.h | 3 +-
src/qcam/meson.build | 2 +
src/qcam/viewfinder.cpp | 18 +-
src/qcam/viewfinder.h | 23 ++-
src/qcam/viewfinderGL.cpp | 346 ++++++++++++++++++++++++++++++++++++++
src/qcam/viewfinderGL.h | 102 +++++++++++
9 files changed, 587 insertions(+), 14 deletions(-)
create mode 100644 src/qcam/fshader.h
create mode 100644 src/qcam/viewfinderGL.cpp
create mode 100644 src/qcam/viewfinderGL.h
--
2.20.1
More information about the libcamera-devel
mailing list