[FFmpeg-devel] [PATCH 1/4] configure: add fftw3 detection

Paul B Mahol onemda at gmail.com
Fri Mar 25 10:05:09 CET 2016


On 3/25/16, Ganesh Ajjanagadde <gajjanag at gmail.com> wrote:
> Useful for fast FFT computation: http://www.fftw.org/.
>
> Signed-off-by: Ganesh Ajjanagadde <gajjanag at gmail.com>
> ---
>  configure | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/configure b/configure
> index 0987bcd..9a9a36d 100755
> --- a/configure
> +++ b/configure
> @@ -222,6 +222,7 @@ External library support:
>    --enable-libdcadec       enable DCA decoding via libdcadec [no]
>    --enable-libfaac         enable AAC encoding via libfaac [no]
>    --enable-libfdk-aac      enable AAC de/encoding via libfdk-aac [no]
> +  --enable-libfftw3        enable FFT computation via libfftw3 [no]
>    --enable-libflite        enable flite (voice synthesis) support via
> libflite [no]
>    --enable-libfreetype     enable libfreetype, needed for drawtext filter
> [no]
>    --enable-libfribidi      enable libfribidi, improves drawtext filter [no]
> @@ -1471,6 +1472,7 @@ EXTERNAL_LIBRARY_LIST="
>      libdcadec
>      libfaac
>      libfdk_aac
> +    libfftw3
>      libflite
>      libfontconfig
>      libfreetype
> @@ -4937,6 +4939,7 @@ die_license_disabled_gpl() {
>
>  die_license_disabled gpl frei0r
>  die_license_disabled gpl libcdio
> +die_license_disabled gpl libfftw3
>  die_license_disabled gpl librubberband
>  die_license_disabled gpl libsmbclient
>  die_license_disabled gpl libutvideo
> @@ -5536,6 +5539,7 @@ enabled libfaac           && require2 libfaac
> "stdint.h faac.h" faacEncGetVersio
>  enabled libfdk_aac        && { use_pkg_config fdk-aac
> "fdk-aac/aacenc_lib.h" aacEncOpen ||
>                                 { require libfdk_aac fdk-aac/aacenc_lib.h
> aacEncOpen -lfdk-aac &&
>                                   warn "using libfdk without pkg-config"; }
> }
> +enabled libfftw3          && require2 libfftw3f "fftw3.h" fftwf_execute
> -lfftw3f -lm
>  flite_libs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal
> -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish
> -lflite_cmulex -lflite"
>  enabled libflite          && require2 libflite "flite/flite.h" flite_init
> $flite_libs
>  enabled fontconfig        && enable libfontconfig
> --
> 2.7.4
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

Big NO from me. Please refrain from doing such silly things.
Either improve our implementation or do nothing.


More information about the ffmpeg-devel mailing list