[FFmpeg-devel] [PATCH] Implement histogram equalization filter.

Aurelien Jacobs aurel
Sun Nov 21 19:10:24 CET 2010


On Sat, Nov 20, 2010 at 04:44:01PM +0100, Stefano Sabatini wrote:
> diff --git a/configure b/configure
> index 7dcb50f..4cca86c 100755
> --- a/configure
> +++ b/configure
> @@ -1406,6 +1406,7 @@ udp_protocol_deps="network"
>  blackframe_filter_deps="gpl"
>  cropdetect_filter_deps="gpl"
>  frei0r_filter_deps="frei0r dlopen strtok_r"
> +histeq_filter_deps="gpl"
>  ocv_smooth_filter_deps="libopencv"
>  yadif_filter_deps="gpl"
> 
> [...]
> 
> diff --git a/libavfilter/vf_histeq.c b/libavfilter/vf_histeq.c
> new file mode 100644
> index 0000000..8578262
> --- /dev/null
> +++ b/libavfilter/vf_histeq.c
> @@ -0,0 +1,217 @@
> +/*
> + * Copyright (c) 2010 Stefano Sabatini
> + * Copyright (c) 2001 Donald A. Graft
> + *
> + * This file is part of FFmpeg.
> + *
> + * FFmpeg is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.

Did you ask Donald if he would agree to relicense this code under LGPL ?
I think asking original author if they would agree to relicense should
be mendatory before submitting some "imported" code under GPL.

Aurel



More information about the ffmpeg-devel mailing list