gstreamer/sys/Makefile.am
Seungha Yang c18fda03d9 nvdec,nvenc: Port to dynamic library loading
... and put them into new nvcodec plugin.

* nvcodec plugin
Now each nvenc and nvdec element is moved to be a part of nvcodec plugin
for better interoperability.
Additionally, cuda runtime API header dependencies
(i.e., cuda_runtime_api.h and cuda_gl_interop.h) are removed.
Note that cuda runtime APIs have prefix "cuda". Since 1.16 release with
Windows support, only "cuda.h" and "cudaGL.h" dependent symbols have
been used except for some defined types. However, those types could be
replaced with other types which were defined by "cuda.h".

* dynamic library loading
CUDA library will be opened with g_module_open() instead of build-time linking.
On Windows, nvcuda.dll is installed to system path by CUDA Toolkit
installer, and on *nix, user should ensure that libcuda.so.1 can be
loadable (i.e., via LD_LIBRARY_PATH or default dlopen path)
Therefore, NVIDIA_VIDEO_CODEC_SDK_PATH env build time dependency for Windows
is removed.
2019-07-08 10:37:46 +00:00

122 lines
1.7 KiB
Makefile

if USE_ANDROID_MEDIA
ANDROID_MEDIA_DIR=androidmedia
else
ANDROID_MEDIA_DIR=
endif
if USE_APPLE_MEDIA
APPLE_MEDIA_DIR=applemedia
else
APPLE_MEDIA_DIR=
endif
if USE_BLUEZ
BLUEZ_DIR=bluez
else
BLUEZ_DIR=
endif
if USE_WASAPI
WASAPI_DIR=wasapi
else
WASAPI_DIR=
endif
if USE_DIRECT3D
D3DVIDEOSINK_DIR=d3dvideosink
else
D3DVIDEOSINK_DIR=
endif
if USE_DECKLINK
DECKLINK_DIR=decklink
else
DECKLINK_DIR=
endif
if USE_WINKS
WINKS_DIR=winks
else
WINKS_DIR=
endif
if USE_DIRECTSOUND
DIRECTSOUND_DIR=directsound
else
DIRECTSOUND_DIR=
endif
if USE_FBDEV
FBDEV_DIR=fbdev
else
FBDEV_DIR=
endif
if USE_IPCPIPELINE
IPCPIPELINE_DIR=ipcpipeline
else
IPCPIPELINE_DIR=
endif
if USE_KMS
KMS_DIR=kms
else
KMS_DIR=
endif
if USE_DVB
DVB_DIR=dvb
else
DVB_DIR=
endif
if USE_SHM
SHM_DIR=shm
else
SHM_DIR=
endif
if USE_OPENSLES
OPENSLES_DIR=opensles
else
OPENSLES_DIR=
endif
if USE_WINSCREENCAP
WINSCREENCAP_DIR=winscreencap
else
WINSCREENCAP_DIR=
endif
if USE_UVCH264
UVCH264_DIR=uvch264
else
UVCH264_DIR=
endif
if USE_NVCODEC
NVCODEC_DIR=nvcodec
else
NVCODEC_DIR=
endif
if USE_TINYALSA
TINYALSA_DIR=tinyalsa
else
TINYALSA_DIR=
endif
if USE_MSDK
MSDK_DIR=msdk
else
MSDK_DIR=
endif
SUBDIRS = $(ANDROID_MEDIA_DIR) $(APPLE_MEDIA_DIR) $(BLUEZ_DIR) $(D3DVIDEOSINK_DIR) $(DECKLINK_DIR) $(DIRECTSOUND_DIR) $(WINKS_DIR) $(DVB_DIR) $(FBDEV_DIR) $(IPCPIPELINE_DIR) $(KMS_DIR) $(OPENSLES_DIR) $(SHM_DIR) $(UVCH264_DIR) $(WININET_DIR) $(WINSCREENCAP_DIR) $(WASAPI_DIR) $(NVCODEC_DIR) $(TINYALSA_DIR) $(MSDK_DIR)
DIST_SUBDIRS = androidmedia applemedia bluez d3dvideosink decklink directsound dvb fbdev ipcpipeline kms dshowdecwrapper dshowsrcwrapper dshowvideosink \
opensles shm uvch264 wasapi winks winscreencap \
nvcodec tinyalsa msdk
include $(top_srcdir)/common/parallel-subdirs.mak