mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
094e4a9f5c
New object and helper functions can remove duplicated code from nvenc/nvdec. Also this is prework for CUDA device context sharing among nvdec(s)/nvenc(s).
47 lines
894 B
Makefile
47 lines
894 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 \
|
|
gstcudacontext.c \
|
|
gstcudautils.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 \
|
|
gstcudacontext.h \
|
|
gstcudautils.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)
|