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
2015-12-12avfilter/vf_delogo: Use AVPixFmtDescriptor.nb_componentsJean Delvare
Relying on AVPixFmtDescriptor.nb_components is cleaner and faster than checking data and linesize for every possible plane. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-11lavfi/formats: fix segfault when allocation failsGanesh Ajjanagadde
This is a somewhat subtle failure that can occur when the realloc_array fails in FORMATS_REF. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-11avfilter/af_aemphasis: more declarations abovePaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-10lavfi/vf_alphamerge: fix unitialized pointersGanesh Ajjanagadde
Missed in commit 31f0d555e07797df1a0a141fa5e022648d480a49. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-10lavfi/vf_overlay: fix unitialized pointersGanesh Ajjanagadde
Missed in commit 301c2784b35036945cd9a7049808deecce149916. Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-10avfilter/x86/vf_maskedmerge: move %define out of .nextrowPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-10avfilter/avf_showfreqs: avoid wasteful powGanesh Ajjanagadde
pow is a ridiculous function for computing a simple Gaussian. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09lavfi/af_amix: fix memory leakGanesh Ajjanagadde
Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1250334. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09lavfi/af_channelmap: fix memory leakGanesh Ajjanagadde
Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338330. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09lavfi/vf_alphamerge: fix memory leaksGanesh Ajjanagadde
Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338326, 1338329. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09lavfi/vf_overlay: fix memory leaksGanesh Ajjanagadde
Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338327. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09lavfi/show_palette: fix memory leakGanesh Ajjanagadde
Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Unfortunately, even leaving aside this subtle intermediate failure aspect, commit 8087632027d755cd32ccc9e91ea025e276197055 was only partially successful in addressing memleaks. Hopefully, this commit fixes the issue completely. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1270818. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-09avfilter/vf_delogo: round to the closest valueJean Delvare
When the interpolated value is divided by the sum of weights, no rounding is done, which means the value is truncated. This results in a slight bias towards dark green in the interpolated area. Rounding properly removes the bias. I measured this change to reduce the interpolation error by 1 to 2 % on average on a number of sample input and logo area combinations. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-07avfilter/af_biquads: pass filter ctx to av_log callsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-07avfilter/showcqt: BASEFREQ and ENDFREQ cast to doubleMuhammad Faiz
fix default basefreq/endfreq comparison on platform that does not do comparison in double type found on zeranoe 32-bit build, where default freq range is detected as non-default Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-06avfilter/af_alimiter: add 3 more optionsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-06avfilter/af_stereotools: fix logic failPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-05avfilter/af_stereotools: check s->length sizePaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-05avfilter/codecview: reindent after previous commitClément Bœsch
2015-12-05avfilter/codecview: add QP supportClément Bœsch
2015-12-04avfilter: add audio emphasis filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-04avfilter: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch
2015-12-03avfilter/af_agate: change default for detection to rmsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-03avfilter/af_sidechaincompress: kill init functionPaul B Mahol
Should make addition of process_command easier. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-03avfilter/af_agate: compile agate only when requested.Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-03avfilter/af_agate: add level_sc option for sidechaingate filterPaul B Mahol
Also correct usage of input gain for both filters. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-03avfilter: add sidechaingate filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-03avfilter/af_agate: prepare for adding sidechain versionPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-03avfilter/af_flanger: use rint instead of floor hackGanesh Ajjanagadde
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-03avfilter/vf_perspective: use lrint instead of floor hackGanesh Ajjanagadde
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-03avfilter/vsrc_mptestsrc: use lrint instead of floor hackGanesh Ajjanagadde
lrint is faster, and is more consistent across the codebase. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-03avfilter/af_compand: do not clip; allow >0dB curve pointsPaul B Mahol
Do not clip output samples, so that clipping can be handled by other filters. Alow setting curve points above 0dB. This is useful when operating with floats. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-02avfilter/af_stereotools: remove floor usagePaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-02avfilter: add audio pulsator filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-02avfilter/af_volumedetect: use log10 instead of hardcoded constantGanesh Ajjanagadde
This is likely more precise and conveys the intent better. Reviewed-by: Mark Harris <mark.hsj@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-02avfilter/vf_shuffleframes: Assert that the case of an uninitialized ret does ↵Michael Niedermayer
not occur Fixes CID1258479 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-01avfilter/vf_histogram: remove deprecated stuffPaul B Mahol
Remove all modes except levels mode. Users should already switch to other filters with extended funcionality: vectorscope and waveform. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-12-01avfilter/af_compand: use hypot()Ganesh Ajjanagadde
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-30avfilter/af_sidechaincompress: do not require writable input frames for ↵Paul B Mahol
acompressor filter Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-30avfilter/af_sidechaincompress: add level_in and level_sc optionsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-29avfilter/af_sidechaincompress: fix output gain for rms(default) detectionPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-29avfilter/avf_showvolume: Fix "warning: comparison of unsigned expression < 0 ↵Michael Niedermayer
is always false" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-29avfilter/avf_showvolume: fix several issuesPaul B Mahol
Fix color fading: previously color could fade to red when volume level for red color was actually never reached. Display volume value on right side. Use red color only if clipping is needed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-28avfilter: add audio compressor filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-28avfilter: add compensation delay line filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-26avfilter/vsrc_mptestsrc: use hypot()Ganesh Ajjanagadde
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-26avfilter/af_dynaudnorm: remove wasteful powGanesh Ajjanagadde
This removes wasteful pow(x, 2.0) that although not terribly important for speed, is still useless. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-26avfilter/af_afade: improve accuracy and speed of gain computationGanesh Ajjanagadde
Gain computation for various curves was being done in a needlessly inaccurate fashion. Of course these are all subjective curves, but when a curve is advertised to the user, it should be matched as closely as possible within the limitations of libm. In particular, the constants kept here were pretty inaccurate for double precision. Speed improvements are mainly due to the avoidance of pow, the most notorious of the libm functions in terms of performance. To be fair, it is the GNU libm that is among the worst, but it is not really GNU libm's fault since others simply yield a higher error as measured in ULP. "Magic" constants are also accordingly documented, since they take at least a minute of thought for a casual reader. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-26avfilter/vf_stack: make it possible to stop with shortest streamPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-11-26avfilter: add '.' at and of long filter description where it is missingPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>