/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * Copyright (C) 2020, Linaro * * identity.vert - Identity vertex shader for pixel format conversion */ attribute vec4 vertexIn; attribute vec2 textureIn; varying vec2 textureOut; uniform float stride_factor; void main(void) { gl_Position = vertexIn; textureOut = vec2(textureIn.x * stride_factor, textureIn.y); } xml'/>
summaryrefslogtreecommitdiff
path: root/test/gstreamer/meson.build
blob: 10058fc5206ff0bfb8a9f4bae599b16fb54f836c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License-Identifier: CC0-1.0

if not gst_enabled
    subdir_done()
endif

gstreamer_tests = [
    ['single_stream_test',   'gstreamer_single_stream_test.cpp'],
    ['multi_stream_test',    'gstreamer_multi_stream_test.cpp'],
]
gstreamer_dep = dependency('gstreamer-1.0', required: true)

foreach t : gstreamer_tests
    exe = executable(t[0], t[1], 'gstreamer_test.cpp',
                     dependencies : [libcamera_private, gstreamer_dep],
                     link_with : test_libraries,
                     include_directories : test_includes_internal)

    test(t[0], exe, suite : 'gstreamer', is_parallel : false)
endforeach