Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-03vf_paletteuse: Don't free the second frame from ↵Derek Buitenhuis
ff_framesync_dualinput_get_writable on error This fixes a double free in he error case. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-01-03vf_paletteuse: Add error checking to apply_paletteDerek Buitenhuis
This fixes a segfault caused by passing NULL to ff_filter_frame when an error occurs. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2017-11-13lavfi/paletteuse: check get_color return valueTimo Rothenpieler
Fixes CID #1420396
2017-10-28lavfi/paletteuse: fix debug_kdtree after aba926e7dClément Bœsch
2017-10-28lavfi/paletteuse: fix debug_mean_error after aba926e7dClément Bœsch
2017-10-28lavfi/paletteuse: fix debug_accuracy after aba926e7dClément Bœsch
2017-10-28lavfi/paletteuse: simplify color get function prototypesClément Bœsch
2017-10-28lavfi/paletteuse: move "new" option before debugging optionsClément Bœsch
2017-10-28lavfi/paletteuse: fix to support transparencyBjorn Roche
This patch enables paletteuse to identify the transparency in incoming video and tag transparent pixels on outgoing video with the correct index from the palette. This requires tracking the transparency index in the palette, establishing an alpha threshold below which a pixel is considered transparent and above which the pixel is considered opaque, and additional changes to track the alpha value throughout the conversion process. This change is a partial fix for https://trac.ffmpeg.org/ticket/4443 However, animated GIFs are still output incorrectly due to a bug in gif optimization which does not correctly handle transparency. Signed-off-by: Clément Bœsch <u@pkh.me>
2017-10-07lavfi: Rename local variables "main" as "master".Carl Eugen Hoyos
Silences several warnings: main is usually a function
2017-09-12lavfi: rename framesync2 to framesync.Nicolas George
2017-08-29lavfi/vf_paletteuse: convert to framesync2.Nicolas George
2017-04-10avfilter/vf_paletteuse: silence warning about misaligned indentationPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-03-29Fix all -Wformat warnings raised by DJGPPClément Bœsch
2016-11-13lavfi: split frame_count between input and output.Nicolas George
AVFilterLink.frame_count is supposed to count the number of frames that were passed on the link, but with min_samples, that number is not always the same for the source and destination filters. With the addition of a FIFO on the link, the difference will become more significant. Split the variable in two: frame_count_in counts the number of frames that entered the link, frame_count_out counts the number of frames that were sent to the destination filter.
2016-09-07avfilter/vf_paletteuse: add option to use new palette for each output framePaul B Mahol
2016-06-26avfilter/vf_paletteuse: enable skip_initial_unpairedMichael Niedermayer
Fixes crash due to unprocessed input being passed through This fixes the last segfault caused by mixing 3.0 and 3.1 libs and applications Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-14avfilter/all: propagate errors of functions from avfilter/formatsGanesh Ajjanagadde
Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM). This propagates the return values. All of these were found by using av_warn_unused_result, demonstrating its utility. Tested with FATE. I am least sure of the changes to avfilter/filtergraph, since I don't know what/how reduce_format is intended to behave and how it should react to errors. Fixes: CID 1325680, 1325679, 1325678. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Previous version Reviewed-by: Nicolas George <george@nsup.org> Previous version Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-09avfilter/paletteuse: use AV_OPT_TYPE_BOOL for mean_err and debug_accuracy optionClément Bœsch
2015-08-18Replace av_dlog with ff_dlog.Ronald S. Bultje
ff_dlog checks compilability, and is non-public. av_dlog is deprecated and no longer exists if FF_API_DLOG=0.
2015-03-05avfilter/vf_paletteuse: indent fix after 7ccc5848Clément Bœsch
2015-03-05avfilter/vf_paletteuse: Use int where AVERROR can be returnedMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-26avfilter/paletteuse: use AV_QSORT()Clément Bœsch
See previous commit for a rationale.
2015-02-23avfilter/palette{gen,use}: add CopyrightClément Bœsch
2015-02-23avfilter/paletteuse: add diff_modeClément Bœsch
2015-02-23avfilter/paletteuse: fix error dithering accuracyClément Bœsch
2015-02-18avfilter/paletteuse: fix leak in case of errorClément Bœsch
Fixes CID1270819
2015-02-17avfilter/paletteuse: raise cache size from 64k to 512kClément Bœsch
(or 32k to 256k in 32-bit)
2015-02-14avfilter: add paletteuse filterClément Bœsch