gstreamer/sys/nvcodec/Makefile.am
Seungha Yang 094e4a9f5c nvcodec: Introduce NVIDA CUDA helpers
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).
2019-08-07 00:59:36 +00:00

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)