2012-10-15 13:53:12 +00:00
|
|
|
if USE_ANDROID_MEDIA
|
|
|
|
ANDROID_MEDIA_DIR=androidmedia
|
|
|
|
else
|
|
|
|
ANDROID_MEDIA_DIR=
|
|
|
|
endif
|
|
|
|
|
2012-03-19 22:58:02 +00:00
|
|
|
if USE_APPLE_MEDIA
|
2016-08-19 10:02:46 +00:00
|
|
|
APPLE_MEDIA_DIR=applemedia
|
2012-03-19 22:58:02 +00:00
|
|
|
else
|
|
|
|
APPLE_MEDIA_DIR=
|
|
|
|
endif
|
2001-12-20 21:03:18 +00:00
|
|
|
|
2013-01-09 18:10:30 +00:00
|
|
|
if USE_BLUEZ
|
|
|
|
BLUEZ_DIR=bluez
|
|
|
|
else
|
|
|
|
BLUEZ_DIR=
|
|
|
|
endif
|
|
|
|
|
2012-11-30 10:37:37 +00:00
|
|
|
if USE_WASAPI
|
|
|
|
WASAPI_DIR=wasapi
|
|
|
|
else
|
|
|
|
WASAPI_DIR=
|
|
|
|
endif
|
|
|
|
|
2011-06-05 01:43:45 +00:00
|
|
|
if USE_DIRECT3D
|
|
|
|
D3DVIDEOSINK_DIR=d3dvideosink
|
|
|
|
else
|
|
|
|
D3DVIDEOSINK_DIR=
|
|
|
|
endif
|
|
|
|
|
2011-02-27 08:48:19 +00:00
|
|
|
if USE_DECKLINK
|
|
|
|
DECKLINK_DIR=decklink
|
|
|
|
else
|
|
|
|
DECKLINK_DIR=
|
|
|
|
endif
|
|
|
|
|
2014-02-16 09:09:18 +00:00
|
|
|
if USE_WINKS
|
|
|
|
WINKS_DIR=winks
|
2012-08-07 14:53:02 +00:00
|
|
|
else
|
2014-02-16 09:09:18 +00:00
|
|
|
WINKS_DIR=
|
2012-08-07 14:53:02 +00:00
|
|
|
endif
|
|
|
|
|
2009-07-29 13:35:03 +00:00
|
|
|
if USE_DIRECTSOUND
|
|
|
|
DIRECTSOUND_DIR=directsound
|
|
|
|
else
|
|
|
|
DIRECTSOUND_DIR=
|
|
|
|
endif
|
|
|
|
|
2008-01-06 22:00:32 +00:00
|
|
|
if USE_FBDEV
|
|
|
|
FBDEV_DIR=fbdev
|
|
|
|
else
|
|
|
|
FBDEV_DIR=
|
|
|
|
endif
|
|
|
|
|
2017-08-01 14:07:59 +00:00
|
|
|
if USE_IPCPIPELINE
|
|
|
|
IPCPIPELINE_DIR=ipcpipeline
|
|
|
|
else
|
|
|
|
IPCPIPELINE_DIR=
|
|
|
|
endif
|
|
|
|
|
2016-01-20 11:00:51 +00:00
|
|
|
if USE_KMS
|
|
|
|
KMS_DIR=kms
|
|
|
|
else
|
|
|
|
KMS_DIR=
|
|
|
|
endif
|
|
|
|
|
2006-10-10 15:47:49 +00:00
|
|
|
if USE_DVB
|
|
|
|
DVB_DIR=dvb
|
|
|
|
else
|
|
|
|
DVB_DIR=
|
|
|
|
endif
|
|
|
|
|
2012-03-19 22:58:02 +00:00
|
|
|
if USE_SHM
|
|
|
|
SHM_DIR=shm
|
2009-04-20 11:09:46 +00:00
|
|
|
else
|
2012-03-19 22:58:02 +00:00
|
|
|
SHM_DIR=
|
2009-04-20 11:09:46 +00:00
|
|
|
endif
|
|
|
|
|
2012-10-18 11:56:55 +00:00
|
|
|
if USE_OPENSLES
|
|
|
|
OPENSLES_DIR=opensles
|
|
|
|
else
|
|
|
|
OPENSLES_DIR=
|
|
|
|
endif
|
|
|
|
|
2013-06-20 20:12:11 +00:00
|
|
|
if USE_WINSCREENCAP
|
2012-03-19 21:49:17 +00:00
|
|
|
WINSCREENCAP_DIR=winscreencap
|
2010-06-03 18:42:06 +00:00
|
|
|
else
|
2012-03-19 21:49:17 +00:00
|
|
|
WINSCREENCAP_DIR=
|
2011-08-31 02:39:36 +00:00
|
|
|
endif
|
|
|
|
|
2012-09-10 20:09:26 +00:00
|
|
|
if USE_UVCH264
|
|
|
|
UVCH264_DIR=uvch264
|
|
|
|
else
|
|
|
|
UVCH264_DIR=
|
|
|
|
endif
|
|
|
|
|
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-05-17 13:27:50 +00:00
|
|
|
if USE_NVCODEC
|
|
|
|
NVCODEC_DIR=nvcodec
|
2017-05-03 00:21:43 +00:00
|
|
|
else
|
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-05-17 13:27:50 +00:00
|
|
|
NVCODEC_DIR=
|
2015-07-30 06:42:38 +00:00
|
|
|
endif
|
|
|
|
|
2016-01-27 11:12:09 +00:00
|
|
|
if USE_TINYALSA
|
|
|
|
TINYALSA_DIR=tinyalsa
|
|
|
|
else
|
|
|
|
TINYALSA_DIR=
|
|
|
|
endif
|
|
|
|
|
2016-09-09 22:43:25 +00:00
|
|
|
if USE_MSDK
|
|
|
|
MSDK_DIR=msdk
|
|
|
|
else
|
|
|
|
MSDK_DIR=
|
|
|
|
endif
|
|
|
|
|
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-05-17 13:27:50 +00:00
|
|
|
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)
|
2001-12-17 19:03:13 +00:00
|
|
|
|
2018-12-18 00:34:44 +00:00
|
|
|
DIST_SUBDIRS = androidmedia applemedia bluez d3dvideosink decklink directsound dvb fbdev ipcpipeline kms dshowdecwrapper dshowsrcwrapper dshowvideosink \
|
2019-06-06 17:22:43 +00:00
|
|
|
opensles shm uvch264 wasapi winks winscreencap \
|
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-05-17 13:27:50 +00:00
|
|
|
nvcodec tinyalsa msdk
|
2008-02-13 23:52:42 +00:00
|
|
|
|
2010-03-30 00:17:15 +00:00
|
|
|
include $(top_srcdir)/common/parallel-subdirs.mak
|