summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am182
-rw-r--r--tests/elements/Makefile.am50
2 files changed, 0 insertions, 232 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 892e3966..00000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,182 +0,0 @@
-noinst_PROGRAMS = \
- simple-decoder \
- test-decode \
- test-display \
- test-filter \
- test-surfaces \
- test-windows \
- test-subpicture \
- $(NULL)
-
-if USE_ENCODERS
-noinst_PROGRAMS += \
- simple-encoder \
- $(NULL)
-endif
-
-if USE_H264_FEI_ENCODER
-noinst_PROGRAMS += \
- test-fei-enc-out \
- test-fei-enc-in \
- $(NULL)
-endif
-
-if USE_GLX
-noinst_PROGRAMS += \
- test-textures \
- $(NULL)
-endif
-
-TEST_CFLAGS = \
- -DGST_USE_UNSTABLE_API \
- -I$(top_srcdir)/gst-libs \
- -I$(top_builddir)/gst-libs \
- $(LIBVA_CFLAGS) \
- $(GST_CFLAGS) \
- $(GST_VIDEO_CFLAGS) \
- $(NULL)
-
-GST_VAAPI_LIBS = $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi.la
-TEST_LIBS = \
- $(LIBVA_LIBS) \
- $(GST_LIBS) \
- $(NULL)
-
-if USE_DRM
-GST_VAAPI_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-drm.la
-TEST_CFLAGS += $(LIBVA_DRM_CFLAGS)
-TEST_LIBS += $(LIBVA_DRM_LIBS)
-endif
-
-if USE_X11
-GST_VAAPI_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11.la
-TEST_CFLAGS += $(X11_CFLAGS)
-TEST_LIBS += \
- $(LIBVA_X11_LIBS) \
- $(X11_LIBS) \
- $(NULL)
-endif
-
-if USE_GLX
-GST_VAAPI_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx.la
-TEST_CFLAGS += $(X11_CFLAGS) $(GL_CFLAGS)
-TEST_LIBS += \
- $(LIBVA_GLX_LIBS) \
- $(X11_LIBS) \
- $(GL_LIBS) \
- $(NULL)
-endif
-
-if USE_EGL
-GST_VAAPI_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-egl.la
-TEST_CFLAGS += $(EGL_CFLAGS)
-TEST_LIBS += \
- $(LIBVA_EGL_LIBS) \
- $(EGL_LIBS) \
- $(NULL)
-endif
-
-if USE_WAYLAND
-GST_VAAPI_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland.la
-TEST_CFLAGS += $(WAYLAND_CFLAGS)
-TEST_LIBS += \
- $(LIBVA_WAYLAND_LIBS) \
- $(WAYLAND_LIBS) \
- $(NULL)
-endif
-
-test_utils_dec_source_c = \
- decoder.c \
- test-h264.c \
- test-jpeg.c \
- test-mpeg2.c \
- test-mpeg4.c \
- test-vc1.c \
- $(NULL)
-test_utils_dec_source_h = $(test_utils_dec_source_c:%.c=%.h) test-decode.h
-
-test_utils_source_c = codec.c image.c output.c
-test_utils_source_h = codec.h image.h output.h
-
-noinst_LTLIBRARIES = libutils.la libutils_dec.la
-
-libutils_la_SOURCES = $(test_utils_source_c)
-libutils_la_CFLAGS = $(TEST_CFLAGS)
-libutils_la_LDFLAGS = $(GST_VAAPI_LIBS)
-
-libutils_dec_la_SOURCES = $(test_utils_dec_source_c)
-libutils_dec_la_CFLAGS = $(TEST_CFLAGS)
-libutils_dec_la_LDFLAGS = $(GST_VAAPI_LIBS)
-
-test_decode_SOURCES = test-decode.c
-test_decode_CFLAGS = $(TEST_CFLAGS)
-test_decode_LDADD = libutils.la libutils_dec.la $(TEST_LIBS)
-
-test_display_SOURCES = test-display.c
-test_display_CFLAGS = $(TEST_CFLAGS)
-test_display_LDFLAGS = $(GST_VAAPI_LIBS)
-test_display_LDADD = libutils.la $(TEST_LIBS)
-
-test_filter_SOURCES = test-filter.c
-test_filter_CFLAGS = $(TEST_CFLAGS)
-test_filter_LDFLAGS = $(GST_VAAPI_LIBS)
-test_filter_LDADD = libutils.la $(TEST_LIBS) $(GST_VIDEO_LIBS)
-
-test_surfaces_SOURCES = test-surfaces.c
-test_surfaces_CFLAGS = $(TEST_CFLAGS) $(GST_VIDEO_CFLAGS)
-test_surfaces_LDFLAGS = $(GST_VAAPI_LIBS)
-test_surfaces_LDADD = libutils.la $(TEST_LIBS) $(GST_VIDEO_LIBS)
-
-test_subpicture_SOURCES = test-subpicture.c test-subpicture-data.c
-test_subpicture_CFLAGS = $(TEST_CFLAGS) $(GST_VIDEO_CFLAGS)
-test_subpicture_LDADD = libutils.la libutils_dec.la $(TEST_LIBS) \
- $(GST_VIDEO_LIBS)
-test_subpicture_LDFLAGS = $(GST_VAAPI_LIBS)
-
-test_windows_SOURCES = test-windows.c
-test_windows_CFLAGS = $(TEST_CFLAGS)
-test_windows_LDFLAGS = $(GST_VAAPI_LIBS)
-test_windows_LDADD = libutils.la $(TEST_LIBS)
-
-test_textures_SOURCES = test-textures.c
-test_textures_CFLAGS = $(TEST_CFLAGS)
-test_textures_LDFLAGS = $(GST_VAAPI_LIBS)
-test_textures_LDADD = libutils.la $(TEST_LIBS)
-
-test_fei_enc_out_SOURCES = test-fei-enc-out.c ../gst/vaapi/gstvaapifeivideometa.h
-test_fei_enc_out_CFLAGS = $(TEST_CFLAGS)
-test_fei_enc_out_LDFLAGS = $(GST_VAAPI_LIBS)
-test_fei_enc_out_LDADD = libutils.la $(TEST_LIBS)
-
-test_fei_enc_in_sources_c = test-fei-enc-in.c ../gst/vaapi/gstvaapifeivideometa.h y4mreader.c
-test_fei_enc_in_sources_h = y4mreader.h
-test_fei_enc_in_SOURCES = $(test_fei_enc_in_sources_c)
-test_fei_enc_in_CFLAGS = $(TEST_CFLAGS) $(GST_VIDEO_CFLAGS)
-test_fei_enc_in_LDFLAGS = $(GST_VAAPI_LIBS)
-test_fei_enc_in_LDADD = libutils.la $(TEST_LIBS) $(GST_VIDEO_LIBS)
-
-simple_decoder_source_c = simple-decoder.c
-simple_decoder_source_h =
-simple_decoder_SOURCES = $(simple_decoder_source_c)
-simple_decoder_CFLAGS = $(TEST_CFLAGS) $(GST_VIDEO_CFLAGS)
-simple_decoder_LDFLAGS = $(GST_VAAPI_LIBS)
-simple_decoder_LDADD = libutils.la $(TEST_LIBS) $(GST_VIDEO_LIBS)
-
-simple_encoder_source_c = simple-encoder.c y4mreader.c
-simple_encoder_source_h = y4mreader.h
-simple_encoder_SOURCES = $(simple_encoder_source_c)
-simple_encoder_CFLAGS = $(TEST_CFLAGS) $(GST_VIDEO_CFLAGS)
-simple_encoder_LDFLAGS = $(GST_VAAPI_LIBS)
-simple_encoder_LDADD = libutils.la $(TEST_LIBS) $(GST_VIDEO_LIBS)
-
-EXTRA_DIST = \
- test-subpicture-data.h \
- $(simple_decoder_source_h) \
- $(simple_encoder_source_h) \
- $(test_utils_dec_source_h) \
- $(test_utils_source_h) \
- $(NULL)
-
-SUBDIRS = elements
-
--include $(top_srcdir)/git.mk
diff --git a/tests/elements/Makefile.am b/tests/elements/Makefile.am
deleted file mode 100644
index 742d923a..00000000
--- a/tests/elements/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-noinst_PROGRAMS = \
- test-vaapisink \
- test-vaapipostproc \
- test-roi \
- $(NULL)
-
-TEST_CFLAGS = \
- -DGST_USE_UNSTABLE_API \
- $(GST_CFLAGS) \
- $(GST_VIDEO_CFLAGS) \
- $(NULL)
-
-TEST_LIBS = \
- $(GST_LIBS) \
- $(GST_VIDEO_LIBS) \
- $(NULL)
-
-test_vaapisink_SOURCES = test-vaapisink.c
-test_vaapisink_CFLAGS = $(TEST_CFLAGS)
-test_vaapisink_LDADD = $(TEST_LIBS)
-
-test_vaapipostproc_SOURCES = test-vaapipostproc.c
-test_vaapipostproc_CFLAGS = $(TEST_CFLAGS)
-test_vaapipostproc_LDADD = $(TEST_LIBS)
-
-test_roi_SOURCES = test-roi.c
-test_roi_CFLAGS = $(TEST_CFLAGS)
-test_roi_LDADD = $(TEST_LIBS)
-
-if USE_GTK
-noinst_PROGRAMS += test-vaapicontext
-
-test_vaapicontext_SOURCES = test-vaapicontext.c
-test_vaapicontext_CFLAGS = \
- $(TEST_CFLAGS) \
- $(GTK3_CFLAGS) \
- $(X11_CFLAGS) \
- $(LIBVA_CFLAGS) \
- $(LIBVA_X11_CFLAGS) \
- $(NULL)
-test_vaapicontext_LDADD = \
- $(TEST_LIBS) \
- $(GTK3_LIBS) \
- $(X11_LIBS) \
- $(LIBVA_LIBS) \
- $(LIBVA_X11_LIBS) \
- $(NULL)
-endif
-
--include $(top_srcdir)/git.mk