Paul B Mahol
27ec72db06
avfilter/af_dynaudnorm: add support for commands
5 years ago
Paul B Mahol
e26d66daaa
avfilter/af_dynaudnorm: use already available pointer
...
Instead of dereferencing same thing again.
5 years ago
Paul B Mahol
1187dbb7e9
avfilter/af_dynaudnorm: move channels variable setup first
5 years ago
Jun Zhao
304eaa63a9
lavfi/buffersrc: Remove redundant free after ff_filter_frame() failure
...
ff_filter_frame() always frees the frame in case of error, so we don't
need to free the frame after ff_filter_frame() fails.
Fix CID 1457230.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Paul B Mahol
389865352d
avfilter/af_dynaudnorm: fix another clipping with custom peak value
...
This always happened at start with alternative boundary mode disabled.
The clipping only occurred if starting samples where high enough.
5 years ago
Paul B Mahol
c8253cb332
avfilter/af_dynaudnorm: implement threshold option
5 years ago
Paul B Mahol
6a1305e8b7
avfilter/af_dynaudnorm: do not clip audio
...
Clipping can happen when smoothed gain is higher than maximum
allowed gain factor for current frame and peak value option is
set to enough low value.
5 years ago
Jun Zhao
c8e72a6494
lavfi/coreimage: fix memory leak after av_dict_parse_string fail
...
In case of failure, all the successfully set entries are stored in
*pm. We need to manually free the created dictionary to avoid
memory leak.
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Paul B Mahol
81172b5e3a
avfilter/af_dynaudnorm: fix previous commit
...
We still need to analyze frame for amplification at EOF.
5 years ago
Paul B Mahol
ed02563ce0
avfilter/af_dynaudnorm: do not enqueue flush buffers
5 years ago
Paul B Mahol
d4d6280ab2
avfilter/af_dynaudnorm: do not hang forever if only EOF is received
5 years ago
Paul B Mahol
7bb09e57e0
avfilter/af_dynaudnorm: do not error out if even filter size was given
...
Instead issue a warning and make filter size odd number.
5 years ago
Paul B Mahol
f651b18c19
avfilter/vf_histogram: add envelope to thistogram filter
5 years ago
Zhao Zhili
b2491566a6
avfilter/buffersrc: deprecate sws_param option
5 years ago
Paul B Mahol
e20c6d95b2
avfilter/af_crystalizer: add support for commands
5 years ago
Paul B Mahol
22d3552f44
avfilter/af_crystalizer: add timeline support
5 years ago
Paul B Mahol
26eba8ca61
avfilter/vf_waveform: add support for 12bit yuva formats
5 years ago
Paul B Mahol
11f6657e92
avfilter/vf_vectorscope: add support for 12bit yuva formats
5 years ago
Paul B Mahol
612b5791b8
avfilter/vf_histogram: add support for 12bit yuva formats
5 years ago
Paul B Mahol
d3d6f5a76e
avfilter/vf_histogram: reindent after previous commit
5 years ago
Paul B Mahol
cc43c2f29a
avfilter: add thistogram video filter
5 years ago
James Almer
eb17a7906b
avfilter/vf_vectorscope: use av_clip_uint8()
...
Fixes fate-source
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
6399eed48a
avfilter/vf_waveform: implement tint options
5 years ago
Paul B Mahol
b3216f13ce
avfilter/vf_vectorscope: improve tint output for gbrp formats
5 years ago
Paul B Mahol
2736dc0564
avfilter/vf_vectorscope: rename gray mode to tint mode
5 years ago
Paul B Mahol
29b765d657
avfilter/vf_vectorscope: add invert graticule
5 years ago
Paul B Mahol
1669c970b1
avfilter/vf_vectorscope: use enum for graticule items
5 years ago
Michael Niedermayer
5c0d1f7896
avfilter/vf_geq: Add support for reading sample sums and means of rectangles
...
This allows integrating box blur style filters in geq.
Without this computing the mean of an area in geq would have been excessivly slow
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
47fd73ace2
avfilter/vf_geq: Add NB_PLANES
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Michael Niedermayer
d5e7f01090
avfilter/vf_geq: Relicense to LGPL
...
All authors who have code in this under GPL agreed.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
6c883e214a
avfilter/vf_vibrance: add support for commands
5 years ago
Paul B Mahol
50cfe9662d
avfilter/vf_il: add support for commands
5 years ago
Paul B Mahol
5fb37598ad
avfilter/af_stereowiden: add support for commands
5 years ago
Paul B Mahol
954637805d
avfilter/af_extrastereo: add support for commands
5 years ago
Paul B Mahol
fad62eebee
avfilter/vf_neighbor: add support for commands
5 years ago
Paul B Mahol
b5f0cea16c
avfilter/vf_histogram: use the name 's' for the pointer to the private context
...
This is consistent across filters.
5 years ago
Andreas Rheinhardt
398a5f5d8f
avfilter/buffersrc: Remove unused variables
...
Unused since f09ae730
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Limin Wang
3dd6c4478b
avfilter/vf_yadif: cosmetics in the pix_fmts[] array
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Gyan Doshi
287620f59c
avfilter/drawtext: log why input pad failed to be configured
5 years ago
Paul B Mahol
547b0c61af
avfilter/vf_fade: reindent after previous commit
5 years ago
Paul B Mahol
6c9a9dd25a
avfilter/vf_fade: add support for gbrp/gbrap formats
5 years ago
Paul B Mahol
94ad5d0128
avfilter/vf_readeia608: factor some constants out
5 years ago
Paul B Mahol
94682555c6
avfilter/vf_readeia608: check if gaps between clock bits are big enough
...
Should help finding less false positives.
5 years ago
Paul B Mahol
16968b619d
avfilter/vf_readeia608: use special struct to hold line items
5 years ago
Zhao Zhili
0115dbd043
avfilter/avfilter: update documentation of avfilter_graph_create_filter
5 years ago
Zhao Zhili
61097535cd
avfilter/buffersink: deprecate AVBufferSinkParams and AVABufferSinkParams
5 years ago
Zhao Zhili
07ffdedf78
avfilter/buffersink: replace init_opaque by init
...
The argument 'opaque' is always NULL since 0acf7e2
(2013),
and avfilter_init_filter() was removed in 52067b3c0e
(2016).
5 years ago
Zhao Zhili
807e90d232
avfilter/buffersink: remove unused macros
5 years ago
Zhao Zhili
bf08264daa
avfilter/buffersrc: remove redundant flag
...
!(c->pix_fmt != AV_PIX_FMT_NONE || c->got_format_from_params)
equals
(c->pix_fmt == AV_PIX_FMT_NONE) && !c->got_format_from_params
1. When (c->pix_fmt == AV_PIX_FMT_NONE) is true, got_format_from_params is
always false, the flag doesn't contribute to the result.
2. When the first part is false, the second part doesn't matter, the flag
doesn't contribute to the result.
The result only depends on c->pix_fmt.
5 years ago
Nicolas George
f09ae7309d
lavfi/buffersrc: push frame directly.
...
This allows to remove the queued frame entirely.
5 years ago