[FFmpeg-devel] [PATCH] libopencv smooth filter

Justin Ruggles justin.ruggles
Sat Aug 21 17:07:34 CEST 2010


Stefano Sabatini wrote:

> On date Tuesday 2010-08-03 03:05:11 +0200, Stefano Sabatini encoded:
>> Hi all,
>>
>> proof of concept filter, which shows how it is possible to wrap
>> external libraries for the filtering.
>>
>> Still missing documentation, and the filter crashes depending on the
>> params provided to the filter (which is a problem of libopencv, but we
>> should check them for validity anyway).
> [...]
> 
> Updated against latest API changes, added missing checks and
> documentation.
> 

>>From 95efe60ad3c745ff34c89cda13ad0248e836fb63 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Tue, 3 Aug 2010 02:22:20 +0200
> Subject: [PATCH] Implement libopencv smooth filter.
> 
> ---
>  configure                  |    8 ++
>  doc/filters.texi           |   27 +++++++
>  libavfilter/Makefile       |    1 +
>  libavfilter/allfilters.c   |    1 +
>  libavfilter/vf_libopencv.c |  169 ++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 206 insertions(+), 0 deletions(-)
>  create mode 100644 libavfilter/vf_libopencv.c
> 
> diff --git a/configure b/configure
> index 9b86247..d23f505 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 filtering via libopencv [no]
>    --enable-libdc1394       enable IIDC-1394 grabbing using libdc1394
>                             and libraw1394 [no]
>    --enable-libdirac        enable Dirac support via libdirac [no]


I think "enable smooth filtering via libopencv" would be more useful for
those who don't know what libopencv is and don't want to have to
research it.

-Justin



More information about the ffmpeg-devel mailing list