mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
2a76807c9a
nvcodec is compilable without external dependency
43 lines
818 B
Makefile
43 lines
818 B
Makefile
plugin_LTLIBRARIES = libgstnvcodec.la
|
|
|
|
libgstnvcodec_la_SOURCES = \
|
|
plugin.c \
|
|
gstnvenc.c \
|
|
gstnvbaseenc.c \
|
|
gstnvh264enc.c \
|
|
gstnvh265enc.c \
|
|
gstcudaloader.c \
|
|
gstnvdec.c \
|
|
gstcuvidloader.c
|
|
|
|
noinst_HEADERS = \
|
|
gstnvdec.h \
|
|
gstnvenc.h \
|
|
gstcuvidloader.h \
|
|
gstnvbaseenc.h \
|
|
gstnvh264enc.h \
|
|
gstnvh265enc.h \
|
|
nvEncodeAPI.h \
|
|
cuviddec.h \
|
|
nvcuvid.h \
|
|
gstcuvidloader.h \
|
|
stub/cuda.h
|
|
|
|
libgstnvcodec_la_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
$(GST_VIDEO_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
-I$(srcdir)/stub
|
|
|
|
libgstnvcodec_la_LIBADD = \
|
|
$(GST_PBUTILS_LIBS) \
|
|
$(GST_VIDEO_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
|
|
|
if USE_NVCODEC_GST_GL
|
|
libgstnvcodec_la_CFLAGS += $(GST_GL_CFLAGS)
|
|
libgstnvcodec_la_LIBADD += $(GST_GL_LIBS)
|
|
endif
|
|
libgstnvcodec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|