Paul B Mahol
00409d81d9
avfilter/af_surround: simplify some code more
2022-11-18 00:53:51 +01:00
Paul B Mahol
2e53376a9b
avfilter/af_surround: add more layouts for stereo upmix
2022-11-17 20:27:31 +01:00
Paul B Mahol
4f6c06e8ff
avfilter/af_firequalizer: switch to TX from lavu
2022-11-17 13:28:58 +01:00
Paul B Mahol
59b16355ec
avfilter/avf_showspatial: switch to lavu TX
...
Also try harder to make output constant frame rate.
2022-11-17 12:37:22 +01:00
Paul B Mahol
24cd4c9661
avfilter/af_loudnorm: simplify query_formats()
2022-11-17 12:37:22 +01:00
Paul B Mahol
07357e56a6
avfilter/avf_showspectrum: fix possible hang at EOF
...
May happen when using filter fps option.
2022-11-17 01:15:05 +01:00
Paul B Mahol
a640b2874a
avfilter/af_surround: allow non-power of 2 win_size
2022-11-17 00:01:40 +01:00
Paul B Mahol
404c2955b1
avfilter/af_surround: move upmix before irdft
2022-11-16 20:40:04 +01:00
Paul B Mahol
d770403cac
avfilter/af_surround: refactor some code
2022-11-16 20:40:04 +01:00
Paul B Mahol
752039a9eb
avfilter/af_surround: add support for commands
2022-11-15 19:52:38 +01:00
Paul B Mahol
64031c5e65
avfilter/af_surround: add focus option
...
And improve angle option handling.
2022-11-15 19:52:38 +01:00
Niklas Haas
c0b93c4f8b
avfilter/vf_libplacebo: support all supported pixfmts
...
This is done only to the inputs, not the outputs, because we always
output vulkan hwframes.
Doing so also requires keeping track of backing textures for non-hwdec
formats, but is otherwise a mostly straightforward change to the format
query function. Special care needs to be taken to avoid crashing on
older libplacebo due to AV_PIX_FMT_RGBF32LE et al.
2022-11-15 16:47:55 +01:00
Niklas Haas
be13812a23
avfilter/vf_libplacebo: init vulkan device in query_format
...
Instead of doing it ad-hoc in `filter_frame`. This is not a huge change
on its own, but paves the way for adding support for more formats in the
future, in particular formats other than AV_PIX_FMT_VULKAN.
2022-11-15 16:47:55 +01:00
Cosmin Stejerean
3b375a0c5c
lavfi/vf_dnn_processing.c: Fix missing AV_PIX_FMT_GRAY8
...
Has been removed by mistake in 2003e32f62
, readd it to the switch cases.
Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
2022-11-15 13:42:58 +01:00
Paul B Mahol
52f7adfbde
avfilter/af_surround: add forgotten null pointer check
2022-11-15 10:42:30 +01:00
Paul B Mahol
11d744343f
avfilter/af_surround: avoid using doubles
2022-11-15 10:42:30 +01:00
Paul B Mahol
9bbd3b3b17
avfilter/af_surround: check that upmix func ptr is valid
2022-11-14 22:20:44 +01:00
Paul B Mahol
e0fbf89939
avfilter/af_surround: speed up slice threading for stereo upmixing
...
And add stereo->octagonal/8.0 upmix.
2022-11-14 22:04:14 +01:00
bwang30
3ab11dc5bb
libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI
...
This commit enabled assembly code with intel AVX512 VNNI and added unit test for sobel filter
sobel_c: 4537
sobel_avx512icl 2136
Signed-off-by: bwang30 <bin.wang@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2022-11-14 10:04:16 +08:00
Andreas Rheinhardt
bfab87a61d
avfilter/vf_fftdnoiz: Check return value of av_tx_init()
...
Should fix Coverity issue #1500329 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-12 13:36:31 +01:00
Andreas Rheinhardt
c787eab395
avfilter/af_afir: Check return value of av_tx_init()
...
Should fix Coverity issue #1516762 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-12 13:35:45 +01:00
Andreas Rheinhardt
36d0550bc9
avfilter/vf_fftfilt: Check return value of av_tx_init()
...
Should fix Coverity issue #1516765 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-12 13:33:58 +01:00
Andreas Rheinhardt
b6fcf3a617
avfilter/af_surround: Check return value of av_tx_init()
...
Should fix Coverity issue #1516766 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-12 13:24:35 +01:00
Paul B Mahol
8e96319674
avfilter/af_dynaudnorm: add curve option
2022-11-10 19:16:05 +01:00
Paul B Mahol
a0c7c9d636
avfilter/f_ebur128: add quiet framelog mode
2022-11-10 19:15:53 +01:00
Paul B Mahol
05721c5df8
avfilter/vf_thumbnail: add slice threading support
2022-11-10 14:52:48 +01:00
Andreas Rheinhardt
a7ccfdc0d7
avfilter/vf_hqdn3d: Fix left-shift of negative numbers
...
Affected filter-hqdn3d and filter-hqdn3d-sample FATE-tests.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-09 17:39:00 +01:00
Andreas Rheinhardt
cf57147da1
avfilter/phase_template: Fix left-shift of negative numbers
...
Affected the filter-phase FATE-test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-09 17:39:00 +01:00
Andreas Rheinhardt
e72e8ec515
avfilter/vf_qp: Don't store NAN in int
...
Affected the filter-pp2 FATE-test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-11-09 17:39:00 +01:00
Paul B Mahol
10ddbaf514
avfilter/af_loudnorm: stop rewritting pts
2022-11-09 11:56:01 +01:00
Paul B Mahol
40d0cb93ab
avfilter/af_loudnorm: switch to activate
2022-11-09 11:56:01 +01:00
Rui Zhu
36572a0c1d
avfilter/af_loudnorm: fix incorrect gain when audio is shorter than 3s
...
The input data is multiplied by `s->offset` to get normalized output.
`s->target_tp` and `true_peak` is not in dB,
so `s->offset` should be calculated by division instead of subtraction.
Signed-off-by: Rui Zhu <real.zhurui@gmail.com>
2022-11-09 11:56:01 +01:00
Paul B Mahol
e17628b720
avfilter/af_speechnorm: change initial gain state
...
Stops doing unwanted fade-in at start.
2022-11-07 08:32:48 +01:00
Paul B Mahol
7f4c5f6525
avfilter/af_speechnorm: remove long search range for min gain
...
Effective only for linked channels processing.
2022-11-07 08:32:48 +01:00
Paul B Mahol
7027101904
avfilter/af_speechnorm: implement rms option
2022-11-07 08:32:48 +01:00
softworkz
c8050d82a9
avfilter/overlay_vaapi: enable expressions for overlay parameters
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
ff075f5abb
avfilter/overlay_vaapi: precalculate blend_state, enable pixel alpha
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
916447bf4c
avfilter/overlay_vaapi: add framesync options
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
db6b376db9
avfilter/overlay_vaapi: remove redundant .get_buffer assignments
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
7ebd6189a2
avfilter/overlay_vaapi: reformat options
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
50aeaadad0
avfilter/overlay_vaapi: handle secondary null input
...
Currently segfaults in this case.
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
55cc8312cc
avfilter/overlay_vaapi: remove double framesync init
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
e154d8931e
avfilter/overlay_vaapi: build filter params just once
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
softworkz
a847c82289
avfilter/overlay_vaapi: use FILTER_SINGLE_PIXFMT
...
Signed-off-by: softworkz <softworkz@hotmail.com>
2022-11-07 10:56:44 +08:00
mail@nodoa.me
e8850bc2a8
lavfi/vf_fieldmatch: keep fields as-is if not matched properly
...
Makes it possible to use deinterlacers which output one frame for each field as fallback if field
matching fails (combmatch=full).
Currently, the documented example with fallback on a post-deinterlacer will only work in case the
deinterlacer outputs one frame per first field (as yadif=mode=0). The reason for that is that
fieldmatch will attempt to match the second field regardless of whether it recognizes the end
result is still interlaced. This produces garbled output with for example mixed telecined 24fps and
60i content combined with a field-based deinterlaced such as yadif=mode=1.
This patch orders fieldmatch to revert to using the second field of the current frame in case the
end result is still interlaced and a post-deinterlacer is assumed to be used.
Signed-off-by: lovesyk <lovesyk@users.noreply.github.com>
2022-11-05 11:50:36 +01:00
Paul B Mahol
5c2a29cf72
avfilter: add backgroundkey video filter
2022-11-05 10:52:39 +01:00
Paul B Mahol
369b7f2654
avfilter/af_dynaudnorm: add slice threading support
2022-11-04 18:32:13 +01:00
Paul B Mahol
4a672f1c0e
avfilter/af_dynaudnorm: process also short durations
2022-11-04 18:32:13 +01:00
Paul B Mahol
4dda3b1653
avfilter/vf_pseudocolor: add spectral preset
2022-11-04 08:50:04 +01:00
Paul B Mahol
5661c8715c
avfilter/src_movie: support unknown channel layouts
2022-11-02 10:53:44 +01:00