mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
694f91da88
By adding system memory support for nvdec, both en/decoder in the nvcodec plugin are able to be usable regardless of OpenGL dependency. Besides, the direct use of system memory might have less overhead than OpenGL memory depending on use cases. (e.g., transcoding using S/W encoder)
42 lines
801 B
Makefile
42 lines
801 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
|
|
|
|
libgstnvcodec_la_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
$(GST_VIDEO_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(CUDA_CFLAGS)
|
|
|
|
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)
|