summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSergey Lavrushkin <dualfal@gmail.com>2018-06-03 20:22:50 +0300
committerPedro Arthur <bygrandao@gmail.com>2018-06-05 10:16:50 -0300
commitd8c0bbb0aa45eed61b159c4842473fe27e77ac12 (patch)
treecc3f2b09aacf93ea7d5ce42adfd62a4fcc561fb1 /configure
parentddf6ff9dc6e6441b68b83b3bf047dbc573cc5b7c (diff)
downloadffmpeg-d8c0bbb0aa45eed61b159c4842473fe27e77ac12.tar.gz
Adds TensorFlow backend for dnn inference module.
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 22eeca22a5..53224f0ed5 100755
--- a/configure
+++ b/configure
@@ -259,6 +259,8 @@ External library support:
--enable-libspeex enable Speex de/encoding via libspeex [no]
--enable-libsrt enable Haivision SRT protocol via libsrt [no]
--enable-libssh enable SFTP protocol via libssh [no]
+ --enable-libtensorflow enable TensorFlow as a DNN module backend
+ for DNN based filters like srcnn [no]
--enable-libtesseract enable Tesseract, needed for ocr filter [no]
--enable-libtheora enable Theora encoding via libtheora [no]
--enable-libtls enable LibreSSL (via libtls), needed for https support
@@ -1713,6 +1715,7 @@ EXTERNAL_LIBRARY_LIST="
libspeex
libsrt
libssh
+ libtensorflow
libtesseract
libtheora
libtwolame
@@ -2244,6 +2247,7 @@ CONFIG_EXTRA="
cbs_mpeg2
cbs_vp9
dirac_parse
+ dnn
dvprofile
exif
faandct
@@ -2507,6 +2511,7 @@ cbs_mpeg2_select="cbs"
cbs_vp9_select="cbs"
dct_select="rdft"
dirac_parse_select="golomb"
+dnn_suggest="libtensorflow"
error_resilience_select="me_cmp"
faandct_deps="faan"
faandct_select="fdctdsp"
@@ -3396,6 +3401,7 @@ spectrumsynth_filter_select="fft"
spp_filter_deps="gpl avcodec"
spp_filter_select="fft idctdsp fdctdsp me_cmp pixblockdsp"
srcnn_filter_deps="avformat"
+srcnn_filter_select="dnn"
stereo3d_filter_deps="gpl"
subtitles_filter_deps="avformat avcodec libass"
super2xsai_filter_deps="gpl"
@@ -6055,6 +6061,7 @@ enabled libsoxr && require libsoxr soxr.h soxr_create -lsoxr
enabled libssh && require_pkg_config libssh libssh libssh/sftp.h sftp_init
enabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_init
enabled libsrt && require_pkg_config libsrt "srt >= 1.2.0" srt/srt.h srt_socket
+enabled libtensorflow && require libtensorflow tensorflow/c/c_api.h TF_Version -ltensorflow
enabled libtesseract && require_pkg_config libtesseract tesseract tesseract/capi.h TessBaseAPICreate
enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
enabled libtls && require_pkg_config libtls libtls tls.h tls_configure