[FFmpeg-devel] [PATCH 2/2] avfilter/paletteuse: add diff_mode

Michael Niedermayer michaelni at gmx.at
Thu Feb 19 01:14:04 CET 2015


On Wed, Feb 18, 2015 at 03:46:24PM +0100, Clément Bœsch wrote:
> From: Clément Bœsch <clement at stupeflix.com>
> 
> TODO: bump minor
> ---
>  doc/filters.texi            |  15 +++++
>  libavfilter/vf_paletteuse.c | 151 ++++++++++++++++++++++++++++++++++++++++----
>  2 files changed, 153 insertions(+), 13 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 191b52f..d75e39a 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -6991,6 +6991,21 @@ visible pattern for less banding, and higher value means less visible pattern
>  at the cost of more banding.
>  
>  The option must be an integer value in the range [0,5]. Default is @var{2}.
> +
> + at item diff_mode
> +If set, define the zone to process
> +
> + at table @samp
> + at item rectangle
> +Only the changing rectangle will be reprocessed. This is similar to GIF
> +cropping/offsetting compression mechanism. This option can be useful for speed
> +if only a part of the image is changing, and has use cases such as limiting the
> +scope of the error diffusal @option{dither} to the rectangle that bound the
> +moving scene (it leads to more deterministic output if the scene doesn't change
> +much, and as a result less moving noise and better GIF compression).
> + at end table
> +
> +Default is @var{none}.
>  @end table

this is a nice idea


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150219/99f147fa/attachment.asc>


More information about the ffmpeg-devel mailing list