[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 10:31:31 CEST 2020


Hi Laurent,

Sorry I forgot to have a brief description about what's the difference with
the v1.
Mainly,
1. To have a viewfinder handle interface to handle viewfinder and
viewfinderGL both.
2. able to select different NV formats family by the YUV format.
3. and some changes according to the v1's review comments.

BR,
Show

On Tue, May 26, 2020 at 3:52 PM Show Liu <show.liu at linaro.org> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20200526/53c1d7f0/attachment-0001.htm>


More information about the libcamera-devel mailing list