Paul B Mahol
41cae501b7
avfilter/af_anlmdn: fix possible array overflow and increase options limits
2022-03-09 22:08:36 +01:00
Thilo Borgmann
74117abf0c
lavfi/drawtext: Add %N for drawing fractions of a second
...
Suggested-By: ffmpeg@fb.com
2022-03-08 13:28:02 +01:00
Paul B Mahol
3706fb8f16
avfilter/f_segment: fix sending frames with zero samples out
...
Fix max_samples variable type, and check for out of range values.
2022-03-08 10:26:46 +01:00
Paul B Mahol
13a153d801
avfilter/f_sendcmd: export width and height too
2022-03-07 17:00:12 +01:00
Paul B Mahol
328247076c
avfilter/af_channelsplit: switch to activate()
2022-03-07 15:29:40 +01:00
Paul B Mahol
a1f2e42ebf
avfilter/af_acrossover: switch to activate()
2022-03-07 15:29:39 +01:00
Paul B Mahol
7238541d39
avfilter/vf_extractplanes: switch to activate()
...
Fixes hang at end of input with this command:
ffmpeg -f lavfi -i testsrc2=d=50,format=yuv444p -lavfi \
"extractplanes=y+u+v[y][u][v];[y]tpad=start=0[y];[u]tpad=start=0[u];[v]negate[v];[y][u][v]vstack=3" -f null -
2022-03-07 15:29:39 +01:00
Paul B Mahol
0f5c964c57
avfilter/split: switch to activate()
2022-03-07 15:29:39 +01:00
Martin Storsjö
e645a1ddb9
libavfilter: vf_scale: Properly take in->color_range into account
...
While swscale can be reconfigured with sws_setColorspaceDetails,
the in/out ranges also need to be set before calling
sws_init_context, otherwise the initialization might choose
fastpaths that don't take the ranges into account.
Therefore, look at in->color_range too, when deciding on whether
the scaler needs to be reconfigured.
Add a new member variable for keeping track of this, for being
able to differentiate between whether the scale filter parameter
"in_range" has been set (which should override whatever the input
frame has set) or whether it has been configured based on the
latest frame (which should trigger reconfiguring the scaler if
the input frame ranges change).
Fixes: Ticket #9576
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-03-07 00:15:23 +02:00
Michael Niedermayer
b9973b72c0
avfilter/vf_colorlevels: Fix build failure on ARM
...
This fixes building for arm after 10c2ef1ca41dbe7811f0588f4163c8cf7b8fda66.
The argument to av_clip_uintp2 must be an assembly time immediate
constant.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by and commit message details-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-03-06 20:16:39 +01:00
Paul B Mahol
6f231664ab
avfilter/vsrc_gradients: add radial gradients
2022-03-06 15:54:10 +01:00
Paul B Mahol
7c23c9dfc7
avfilter/vsrc_gradients: add gbrapf32 format support
2022-03-06 15:54:09 +01:00
Paul B Mahol
10c2ef1ca4
avfilter/vf_colorlevels: add planar rgb formats support
2022-03-06 14:00:26 +01:00
Paul B Mahol
88a58b90fe
avfilter/avf_ahistogram: use av_clip_uint8() instead
2022-03-06 12:27:48 +01:00
Paul B Mahol
fb5e871937
avfilter/avf_ahistogram: add new histogram mode option
2022-03-05 22:11:38 +01:00
Paul B Mahol
c72b5be9e3
avfilter/vf_pad: use already available outlink variable
2022-03-04 18:30:10 +01:00
Paul B Mahol
779ae049b2
avfilter/vf_zscale: fix leaks in fast/bypass path
2022-03-04 14:07:20 +01:00
Paul B Mahol
8061098418
avfilter/avf_abitscope: make frame writable before writing to it
2022-03-04 13:54:12 +01:00
Paul B Mahol
2a5a14f3ca
avfilter/avf_aphasemeter: make frame writable before writing to it
2022-03-04 13:54:12 +01:00
Paul B Mahol
de07c57d5a
avfilter/avf_ahistogram: make frame writable before writing to it
2022-03-04 13:54:12 +01:00
Paul B Mahol
faac31cc86
avfilter/avf_avectorscope: make frame writable before writing to it
2022-03-04 13:54:12 +01:00
Paul B Mahol
dc8e83b4e0
avfilter/f_ebur128: make sure frame is writable before writing to it
2022-03-04 13:54:12 +01:00
Paul B Mahol
aede8424fe
avfilter/f_graphmonitor: add several more flags
2022-03-04 13:54:11 +01:00
Paul B Mahol
34836e91e0
avfilter/f_ebur128: switch to activate()
2022-03-04 13:54:11 +01:00
Paul B Mahol
99f7f4144a
avfilter/asrc_sinc: check allocation return value
2022-03-03 23:07:10 +01:00
Paul B Mahol
f4d123341c
avfilter/asrc_sinc: remove no longer correct (un)pack
2022-03-03 23:07:10 +01:00
James Almer
ee88804d07
avfilter/framepool: remove superfluous pallete buffer allocation
...
av_image_fill_plane_sizes() already sets sizes[1] to AVPALETTE_SIZE.
Should fix memory leaks.
Signed-off-by: James Almer <jamrial@gmail.com>
2022-03-03 14:18:28 -03:00
James Almer
8fcd9d7375
avfilter/framepool: use av_image_fill_plane_sizes() to calculate pool sizes
...
Signed-off-by: James Almer <jamrial@gmail.com>
2022-03-03 13:55:28 -03:00
Paul B Mahol
837c55da3d
avfilter/vf_zscale: fix several issues in previous commit
2022-03-03 17:35:48 +01:00
Victoria Zhislina
d0aefc3706
avfilter/vf_zscale: add slice threading support
...
By ffmpeg threading support implementation via frame slicing and doing
zimg_filter_graph_build that used to take 30-60% of each frame processig
only if necessary (some parameters changed)
the performance increase vs original version
in video downscale and color conversion >4x is seen
on 64 cores Intel Xeon, 3x on i7-6700K (4 cores with HT)
Signed-off-by: Victoria Zhislina <Victoria.Zhislina@intel.com>
2022-03-03 17:35:48 +01:00
Paul B Mahol
d607af50fd
avfilter/vf_geq: add float formats support
2022-03-03 17:35:48 +01:00
Paul B Mahol
352a01c3ef
avfilter/avf_abitscope: add support for more input formats
2022-03-03 17:35:48 +01:00
Paul B Mahol
de0bb77563
avfilter/avf_abitscope: refactor code & add trace mode
2022-03-03 17:35:48 +01:00
Paul B Mahol
dae95b3ffd
avfilter/vf_maskedmerge: fix rounding when masking
2022-03-03 09:57:53 +01:00
Paul B Mahol
59520f068d
avfilter/vf_colorchannelmixer: add float formats support
2022-03-03 09:57:53 +01:00
Paul B Mahol
835446a8e1
avfilter/vf_colorchannelmixer: refactor / add template
2022-03-03 09:57:53 +01:00
Nicolas George
add3571a59
lavfi/af_aformat: remove support for comma-separated lists
...
It has been deprecated for nine years.
2022-03-02 17:21:04 +01:00
Gyan Doshi
4b72bca6ca
avfilter/drawtext: change reload value to an interval
...
Allows user to specify a frame interval at which textfile is reloaded.
2022-03-02 12:56:58 +05:30
Paul B Mahol
84f5583078
avfilter/vf_unsharp: add support for alpha formats
2022-03-01 12:36:35 +01:00
Paul B Mahol
e1974622e1
avfilter/vf_v360: improve rounding in xyz_to_dfisheye()
2022-03-01 10:16:08 +01:00
Paul B Mahol
5ffad29d62
avfilter/vf_chromanr: fix rounding of final output
2022-03-01 09:47:41 +01:00
Limin Wang
d344169419
avfilter: support for CUVA HDR Vivid metadata
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2022-03-01 09:08:43 +08:00
Paul B Mahol
178d8036dc
avfilter/af_dynaudnorm: reduce number of lines by using for (int ...
2022-02-28 22:00:02 +01:00
Paul B Mahol
aa6b9066b9
avfilter/af_dynaudnorm: use fmin/fmax for doubles
2022-02-28 22:00:02 +01:00
Paul B Mahol
456d48c752
avfilter/af_dynaudnorm: add support for overlapping frames
2022-02-28 22:00:02 +01:00
Paul B Mahol
9a86e5338c
avfilter/af_dynaudnorm: do not leak frame on error
2022-02-28 22:00:02 +01:00
Paul B Mahol
567cab3bd8
avfilter/vf_amplify: improve performance
2022-02-27 23:50:57 +01:00
Paul B Mahol
a2dbd17788
avfilter/af_dynaudnorm: allocate new frame instead of making it writable
...
Later case does not use frame pool at all.
2022-02-27 20:05:57 +01:00
Paul B Mahol
a9124a75b0
avfilter/af_dynaudnorm: allow to filter subset of channels
2022-02-27 20:05:57 +01:00
Paul B Mahol
b9f91a7cbc
avfilter/af_dynaudnorm: make frame writable if it may be changed
2022-02-27 18:48:24 +01:00