aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-14 13:21:13 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-14 13:21:13 +0000
commit6ebf0bfc17253e29a226e888fb9b7b31574a2eed (patch)
tree2ecb2e1180faaec6ec691514b93b8ad987b5479b /configure
parentc12f7b2d2cf45b18dbabb207bcf142e5f170c773 (diff)
downloadffmpeg-6ebf0bfc17253e29a226e888fb9b7b31574a2eed.tar.gz
Implement libopencv smooth filter.
Originally committed as revision 25118 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index ae3d738181..26db167bd5 100755
--- a/configure
+++ b/configure
@@ -164,6 +164,7 @@ External library support:
--enable-bzlib enable bzlib [autodetect]
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
+ --enable-libopencv enable video filtering via libopencv [no]
--enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
and libraw1394 [no]
--enable-libdirac enable Dirac support via libdirac [no]
@@ -887,6 +888,7 @@ CONFIG_LIST="
libnut
libopencore_amrnb
libopencore_amrwb
+ libopencv
libopenjpeg
librtmp
libschroedinger
@@ -1390,6 +1392,9 @@ rtp_protocol_select="udp_protocol"
tcp_protocol_deps="network"
udp_protocol_deps="network"
+# filters
+ocv_smooth_filter_deps="libopencv"
+
# libraries
avdevice_deps="avcodec avformat"
avformat_deps="avcodec"
@@ -2713,6 +2718,8 @@ enabled libmp3lame && require libmp3lame lame/lame.h lame_init -lmp3lame
enabled libnut && require libnut libnut.h nut_demuxer_init -lnut
enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb
+enabled libopencv && { check_lib opencv/cv.h cvCreateImageHeader $(pkg-config --libs opencv) ||
+ die "ERROR: libopencv not found"; }
enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg
enabled librtmp && { check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs librtmp) ||
die "ERROR: librtmp not found or RTMP_Socket() missing, librtmp version must be >= 2.2.f"; }
@@ -2997,6 +3004,7 @@ echo "libmp3lame enabled ${libmp3lame-no}"
echo "libnut enabled ${libnut-no}"
echo "libopencore-amrnb support ${libopencore_amrnb-no}"
echo "libopencore-amrwb support ${libopencore_amrwb-no}"
+echo "libopencv support ${libopencv-no}"
echo "libopenjpeg enabled ${libopenjpeg-no}"
echo "librtmp enabled ${librtmp-no}"
echo "libschroedinger enabled ${libschroedinger-no}"