2015-07-30 06:42:38 +00:00
|
|
|
plugin_LTLIBRARIES = libgstnvenc.la
|
|
|
|
|
|
|
|
libgstnvenc_la_SOURCES = \
|
|
|
|
gstnvenc.c \
|
|
|
|
gstnvbaseenc.c \
|
2018-04-06 14:22:26 +00:00
|
|
|
gstnvh264enc.c \
|
|
|
|
gstnvh265enc.c
|
2015-07-30 06:42:38 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
gstnvenc.h \
|
|
|
|
gstnvbaseenc.h \
|
2018-04-06 14:22:26 +00:00
|
|
|
gstnvh264enc.h \
|
2019-05-02 12:29:03 +00:00
|
|
|
gstnvh265enc.h \
|
|
|
|
nvEncodeAPI.h
|
2015-07-30 06:42:38 +00:00
|
|
|
|
|
|
|
libgstnvenc_la_CFLAGS = \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
2015-07-30 06:42:38 +00:00
|
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_CFLAGS) \
|
2018-11-22 03:14:44 +00:00
|
|
|
$(CUDA_CFLAGS)
|
2015-07-30 06:42:38 +00:00
|
|
|
|
|
|
|
libgstnvenc_la_LIBADD = \
|
|
|
|
$(GST_PBUTILS_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2017-12-17 20:54:06 +00:00
|
|
|
$(GST_LIBS) \
|
2015-07-30 06:42:38 +00:00
|
|
|
$(CUDA_LIBS) \
|
2018-11-22 03:14:44 +00:00
|
|
|
$(GMODULE_NO_EXPORT_LIBS)
|
2015-07-30 06:42:38 +00:00
|
|
|
|
|
|
|
if USE_NVENC_GST_GL
|
2017-12-17 20:54:06 +00:00
|
|
|
libgstnvenc_la_CFLAGS += $(GST_GL_CFLAGS)
|
|
|
|
libgstnvenc_la_LIBADD += $(GST_GL_LIBS)
|
2015-07-30 06:42:38 +00:00
|
|
|
endif
|
|
|
|
libgstnvenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|