summaryrefslogtreecommitdiff
path: root/src/qcam/assets/shader/shaders.qrc
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2020-09-11 16:55:11 +0800
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-09-15 05:10:35 +0300
commit4a4a3e715b8314c56a2a32788d92fdec464af7b7 (patch)
treea90149c3a1073c0b03aff8d8d06ef6ec61698074 /src/qcam/assets/shader/shaders.qrc
parente5e3bf1c711d9ddba34fc9208a4efad5b2adf329 (diff)
qcam: Add OpenGL shader code as Qt resource
Add OpenGL fragment and vertex shaders to convert two- and tri-planar YUV formats to RGB. This will be used to accelerate YUV image rendering. Signed-off-by: Show Liu <show.liu@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/shader/shaders.qrc')
-rw-r--r--src/qcam/assets/shader/shaders.qrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qcam/assets/shader/shaders.qrc b/src/qcam/assets/shader/shaders.qrc
new file mode 100644
index 00000000..33eab278
--- /dev/null
+++ b/src/qcam/assets/shader/shaders.qrc
@@ -0,0 +1,9 @@
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource>
+<file>./NV_vertex_shader.glsl</file>
+<file>./NV_2_planes_UV_f.glsl</file>
+<file>./NV_2_planes_VU_f.glsl</file>
+<file>./NV_3_planes_f.glsl</file>
+</qresource>
+</RCC>