2017-05-03 00:21:43 +00:00
|
|
|
plugin_LTLIBRARIES = libgstnvdec.la
|
|
|
|
|
|
|
|
libgstnvdec_la_SOURCES = \
|
|
|
|
gstnvdec.c \
|
|
|
|
plugin.c
|
|
|
|
|
2018-03-22 08:18:57 +00:00
|
|
|
if USE_DYNLINK_NVDEC
|
|
|
|
libgstnvdec_la_SOURCES += dynlink_nvcuvid.c
|
|
|
|
libgstnvdec_la_SOURCES += dynlink_cuda.c
|
|
|
|
endif
|
|
|
|
|
2017-05-03 00:21:43 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
gstnvdec.h
|
|
|
|
|
|
|
|
libgstnvdec_la_CFLAGS = \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
|
|
$(GST_GL_CFLAGS) \
|
2017-05-03 00:21:43 +00:00
|
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_CFLAGS) \
|
2017-05-03 00:21:43 +00:00
|
|
|
$(CUDA_CFLAGS)
|
|
|
|
|
|
|
|
libgstnvdec_la_LIBADD = \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_GL_LIBS) \
|
2017-05-03 00:21:43 +00:00
|
|
|
$(GST_PBUTILS_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2018-03-22 08:18:57 +00:00
|
|
|
$(GST_LIBS)
|
|
|
|
|
|
|
|
if !USE_DYNLINK_NVDEC
|
|
|
|
libgstnvdec_la_LIBADD += $(CUDA_LIBS) -lnvcuvid
|
|
|
|
endif
|
2017-05-03 00:21:43 +00:00
|
|
|
|
|
|
|
libgstnvdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|