mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
configure: Allow linking to CUDA dynamically instead of dlopen()ing it at runtime
This currently doesn't do anything, but will be used later for hwaccel filters and libavutil. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
e1c15a9475
commit
9f2c1c77d2
4
configure
vendored
4
configure
vendored
@ -196,6 +196,7 @@ Individual component options:
|
|||||||
External library support:
|
External library support:
|
||||||
--enable-avisynth enable reading of AviSynth script files [no]
|
--enable-avisynth enable reading of AviSynth script files [no]
|
||||||
--disable-bzlib disable bzlib [autodetect]
|
--disable-bzlib disable bzlib [autodetect]
|
||||||
|
--enable-cuda enable dynamically linked CUDA [no]
|
||||||
--enable-chromaprint enable audio fingerprinting with chromaprint [no]
|
--enable-chromaprint enable audio fingerprinting with chromaprint [no]
|
||||||
--enable-fontconfig enable fontconfig, useful for drawtext filter [no]
|
--enable-fontconfig enable fontconfig, useful for drawtext filter [no]
|
||||||
--enable-frei0r enable frei0r video filtering [no]
|
--enable-frei0r enable frei0r video filtering [no]
|
||||||
@ -1426,6 +1427,7 @@ EXTERNAL_LIBRARY_LIST="
|
|||||||
bzlib
|
bzlib
|
||||||
chromaprint
|
chromaprint
|
||||||
crystalhd
|
crystalhd
|
||||||
|
cuda
|
||||||
decklink
|
decklink
|
||||||
frei0r
|
frei0r
|
||||||
gcrypt
|
gcrypt
|
||||||
@ -4883,6 +4885,7 @@ die_license_disabled gpl libxavs
|
|||||||
die_license_disabled gpl libxvid
|
die_license_disabled gpl libxvid
|
||||||
die_license_disabled gpl x11grab
|
die_license_disabled gpl x11grab
|
||||||
|
|
||||||
|
die_license_disabled nonfree cuda
|
||||||
die_license_disabled nonfree libfaac
|
die_license_disabled nonfree libfaac
|
||||||
die_license_disabled nonfree nvenc
|
die_license_disabled nonfree nvenc
|
||||||
enabled gpl && die_license_disabled_gpl nonfree libfdk_aac
|
enabled gpl && die_license_disabled_gpl nonfree libfdk_aac
|
||||||
@ -5452,6 +5455,7 @@ enabled avfoundation_indev && { check_lib2 CoreGraphics/CoreGraphics.h CGGetActi
|
|||||||
enabled avisynth && { { check_lib2 "windows.h" LoadLibrary; } ||
|
enabled avisynth && { { check_lib2 "windows.h" LoadLibrary; } ||
|
||||||
{ check_lib2 "dlfcn.h" dlopen -ldl; } ||
|
{ check_lib2 "dlfcn.h" dlopen -ldl; } ||
|
||||||
die "ERROR: LoadLibrary/dlopen not found for avisynth"; }
|
die "ERROR: LoadLibrary/dlopen not found for avisynth"; }
|
||||||
|
enabled cuda && check_lib cuda.h cuInit -lcuda
|
||||||
enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
|
enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
|
||||||
enabled decklink && { check_header DeckLinkAPI.h || die "ERROR: DeckLinkAPI.h header not found"; }
|
enabled decklink && { check_header DeckLinkAPI.h || die "ERROR: DeckLinkAPI.h header not found"; }
|
||||||
enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h header not found"; }
|
enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h header not found"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user