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
2017-10-29lavfi/palettegen: Fix compilation after 1da8c4e.Carl Eugen Hoyos
Found-by: James Almer
2017-10-29lavfi/palettegen: Allow setting the background colour.Carl Eugen Hoyos
2017-05-13avfilter: don't anonymously typedef structsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-03-29Fix all -Wformat warnings raised by DJGPPClément Bœsch
2017-01-22avfilter/vf_palettegen: Fix leak and simplify codeMichael Niedermayer
Fixes CID1270818 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-07avfilter/vf_palettegen: add mode for generating palette for each input framePaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-04all: use FFDIFFSIGN to resolve possible undefined behavior in comparatorsGanesh Ajjanagadde
FFDIFFSIGN was created explicitly for this purpose, since the common return a - b idiom is unsafe regarding overflow on signed integers. It optimizes to branchless code on common compilers. FFDIFFSIGN also has the subjective benefit of being easier to read due to lack of ternary operators. Tested with FATE. Things not covered by this are unsigned integers, for which overflows are well defined, and also places where overflow is clearly impossible, e.g an instance where the a - b was being done on 24 bit values. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
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-20lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George
It has no longer any effect.
2015-09-09avfilter/palettegen: use AV_OPT_TYPE_BOOL for reserve_transparent 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-15avfilter/palettegen: make sure at least one frame was sent to the filterClément Bœsch
Fix FPE.
2015-02-27avfilter/palettegen: fix frame mem leakClément Bœsch
2015-02-26avfilter/palettegen: use AV_QSORT()Clément Bœsch
This makes the sorting of the colors along an axis (r, g or b) predictible, and thus testable under FATE. The performance is not really an issue here since the function is called only once at the end and will need to sort very small number of entries, so an alternative would be to make the sorting functions (see DECLARE_CMP_FUNC()) fallback on another axis in case of equality. This approach was actually simpler. I don't know if there is any advantage in using a multidimensional sort, but it will affect the final palette one way or another.
2015-02-26avfilter/palettegen: consistently use the same frame for dimensionsClément Bœsch
2015-02-26avfilter/palettegen: use a logging context for the dupped color warningClément Bœsch
2015-02-26avfilter/palettegen: export color quantization ratioClément Bœsch
2015-02-25avfilter/palettegen: move longest variable to a local scopeClément Bœsch
Also drop initialization since it is initialized later on before any usage.
2015-02-23avfilter/palette{gen,use}: add CopyrightClément Bœsch
2015-02-19avfilter/palettegen: raise cache size from 64k to 512kClément Bœsch
(or 32k to 256k in 32-bit) This is similar to a00bab347518d4824d51ec7078f1d84ca097c53b
2015-02-18avfilter/palettegen: fix leak in case of errorClément Bœsch
2015-02-14avfilter: add palettegen filterClément Bœsch