<div dir="ltr"><div dir="ltr">Hi Laurent,<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"></div></div></div><br></div><div dir="ltr">Sorry I forgot to have a brief description about what's the difference with the v1.</div><div>Mainly,</div><div>1. To have a viewfinder handle interface to handle viewfinder and viewfinderGL both.</div><div>2. able to select different NV formats family by the YUV format.</div><div>3. and some changes according to the v1's review comments.</div><div><br></div><div>BR,</div><div>Show</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 26, 2020 at 3:52 PM Show Liu <<a href="mailto:show.liu@linaro.org">show.liu@linaro.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This patch is to render the YUV(NV formats family) frame by OpenGL shader.<br>
I rework viewfinder class and give viewfinder handle abstract class as interface <br>
and make it able to handle viewfinder and viewfinderGL both. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I tested on rockpi4b with kernel 5.7rc4+imx219 camera module.<br>
<br>
Show Liu (1):<br>
qcam: Render YUV formats frame by OpenGL shader<br>
<br>
src/qcam/fshader.h | 86 ++++++++++<br>
src/qcam/main.cpp | 2 +<br>
src/qcam/main_window.cpp | 19 ++-<br>
src/qcam/main_window.h | 3 +-<br>
src/qcam/meson.build | 2 +<br>
src/qcam/viewfinder.cpp | 18 +-<br>
src/qcam/viewfinder.h | 23 ++-<br>
src/qcam/viewfinderGL.cpp | 346 ++++++++++++++++++++++++++++++++++++++<br>
src/qcam/viewfinderGL.h | 102 +++++++++++<br>
9 files changed, 587 insertions(+), 14 deletions(-)<br>
create mode 100644 src/qcam/fshader.h<br>
create mode 100644 src/qcam/viewfinderGL.cpp<br>
create mode 100644 src/qcam/viewfinderGL.h<br>
<br>
-- <br>
2.20.1<br>
<br>
</blockquote></div></div>