fcbdd145cd
avfilter/f_metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
492b45cb19
avfilter/vf_libvmaf: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
d5d6e5ccec
avfilter/vf_coreimage: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
1cf526c37a
avfilter/vf_scale: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2022-12-01 11:21:14 +01:00
0ae459176b
lavfi/vf_vpp_qsv: scale_mode can be applied to color conversion
...
Reviewed-by: Soft Works <softworkz@hotmail.com >
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com >
2022-12-01 09:40:40 +08:00
7a856588dc
lavfi/qsvvpp: provide a default framerate if needed
...
VPP in the SDK requires the frame rate to be set to a valid value,
otherwise init will fail, so always set a default framerate when the
input link doesn't have a valid framerate.
Reviewed-by: Soft Works <softworkz@hotmail.com >
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com >
2022-12-01 09:40:31 +08:00
51bad2e6a7
lavfi/qsvvpp: avoid overriding the returned value
...
It means more than one output is ready when
MFXVideoVPP_RunFrameVPPAsync() returns MFX_ERR_MORE_SURFACE [1].
Currently the returned value from MFXVideoVPP_RunFrameVPPAsync() might
be overridden, so the check of 'ret == MFX_ERR_MORE_SURFACE' is always
false when MFX_ERR_MORE_SURFACE is returned from
MFXVideoVPP_RunFrameVPPAsync()
[1] https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#video-processing-procedures
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com >
2022-12-01 09:39:32 +08:00
50575e24be
lavfi/qsvvpp: change the output frame's width and height
...
Make sure the size of the output frame always matches the agreed upon
image size.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com >
2022-12-01 09:39:32 +08:00
14e6ca17e1
avfilter/af_astats: do not give output for 0 samples
2022-11-30 21:19:49 +01:00
569b1a24cd
avfilter/avf_showcwt: add yet another mode variant
2022-11-30 20:08:18 +01:00
7d20635aeb
avfilter/avf_showcwt: add frame slide mode
2022-11-30 18:06:42 +01:00
bcb5ef667d
avfilter/avf_showcwt: add some small optimizations
2022-11-30 18:06:42 +01:00
d7a5f068c2
avfilter/avf_showcwt: add thread jobs for forward fft per channel
2022-11-29 22:26:56 +01:00
9d717cb846
avfilter/avf_showcwt: flush frames at EOF
2022-11-29 22:26:55 +01:00
a08a508105
avfilter/avf_showcwt: refactor code into function
2022-11-29 22:26:55 +01:00
634e29f3c0
avfilter/avf_showcwt: always consume some available samples
...
Stop waiting for big cache of samples.
2022-11-29 22:26:55 +01:00
d34c1b389e
avfilter: add showcwt multimedia filter
2022-11-28 23:18:03 +01:00
48c385fb4c
avfilter/vf_libplacebo: support more output formats
...
Rather than hard-coding AV_PIX_FMT_VULKAN, expand this to the full list
of formats supported by <libplacebo/utils/libav.h>. We re-use the
existing `format` option to allow selecting specific software formats in
addition to specific vulkan hwframe formats.
Some minor changes are necessary to account for the fact that
`ff_vk_filter_config_output` is now only called optionally, the fact
that the output format must now be parsed before `query_format` gets
called, and the fact that we need to call a different function to
retrieve data from the `pl_frame` in the non-hwaccel case.
Signed-off-by: Niklas Haas <git@haasn.dev >
2022-11-28 16:05:36 +01:00
2324b917fc
avfilter/avf_avectorscope: simplify code a little
2022-11-27 19:53:16 +01:00
e0bc798ce5
avfilter/f_ebur128: fix crash when using vflip filter
2022-11-25 19:50:17 +01:00
4c1a79eb80
avfilter/avf_showcqt: fix crash when using vflip filter
2022-11-25 19:40:11 +01:00
9d2b5762d3
avfilter/avf_a3dscope: fix crash when using vflip filter
2022-11-25 19:40:11 +01:00
9c8b977c1e
avfilter/avf_avectorscope: fix crash when using vflip filter
2022-11-25 19:40:11 +01:00
f2ea508e16
avfilter/avf_showcqt: remove invalid line
2022-11-25 19:40:11 +01:00
3e288dbf56
avfilter/avf_showspectrum: set hop_size for showspectrumpic
...
Fixes invalid spikes in video output.
2022-11-21 15:47:02 +01:00
459527108a
libavfilter/x86/vf_convolution: fix sobel swap issue on WIN64
...
Reviewed by: James Almer <jamrial@gmail.com >
Signed-off-by: Wang, Bin <bin.wang@intel.com >
2022-11-21 12:28:25 +08:00
34eeb466fb
avfilter/af_surround: fix possible out of array access
2022-11-19 19:35:23 +01:00
66afa361e8
avfilter/af_surround: refactor code
...
So support for new i/o layouts are more easily added.
2022-11-19 15:20:23 +01:00
46a4cc460e
avfilter/vf_libplacebo: fix normalize_sar calculation
...
This previous expression multiplied a constant (outlink->h) that was
guaranteed to be 0 at this point, thus making it always a no-op.
Fix the calculation, and also properly reset the SAR to 1:1 as is now
necessary (the failure to do so previously hid this bug's existence).
2022-11-19 14:15:47 +01:00
05d390890a
avfilter/vf_libplacebo: default to normalize_sar=0
...
As a result of a typo in the source code, this option was completely
non-functional. In order to fix it, without breaking the current default
behavior, explicitly change this default to 0.
This behavior is also consistent with how other scale filters behave by
default, so it's probably best to enshrine it anyways.
2022-11-19 14:15:19 +01:00
3bcec58535
avfilter: fix av_tx_fn stride usage for complex inputs
2022-11-19 00:25:47 +01:00
fced45fd95
avfilter/af_surround: improve LFE loudness
2022-11-18 21:51:10 +01:00
52291d2ac8
avfilter/af_surround: implement smooth option/support
2022-11-18 21:51:10 +01:00
3d33003d59
avfilter/af_surround: split factors calculations
...
From multiplication with magnitude.
2022-11-18 21:51:10 +01:00
08b4c3d6d6
avfilter/af_surround: improve front center channel
...
Stops producing too loud output of front center channel in stereo upmix
by using average magnitude instead of square root of squared magnitudes.
2022-11-18 21:51:10 +01:00
12b4ab5d4d
avfilter/vf_libplacebo: fix output format selection
...
After commit c0b93, it's possible that `ff_vk_filter_config_input` never
gets called, leading to `s->vkctx.input_format` being left unset. This
broke the format auto-selection logic in `libplacebo_config_output`,
resulting in a default to yuv420p, instead of defaulting to the input
format as intended.
Fixes: c0b93c4f8b
2022-11-18 16:14:23 +01:00
d1b14b4f0b
avfilter/vf_libplacebo: suppress warning on older libplacebo
...
Move the declaration before the code.
2022-11-18 16:11:01 +01:00
3e6816514c
avfilter/af_surround: fix regression with channel i/o gain
2022-11-18 12:58:09 +01:00
193270ee87
avfilter/avf_showspectrum: fix stride and set scale
2022-11-18 12:58:09 +01:00
00409d81d9
avfilter/af_surround: simplify some code more
2022-11-18 00:53:51 +01:00
2e53376a9b
avfilter/af_surround: add more layouts for stereo upmix
2022-11-17 20:27:31 +01:00
4f6c06e8ff
avfilter/af_firequalizer: switch to TX from lavu
2022-11-17 13:28:58 +01:00
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
24cd4c9661
avfilter/af_loudnorm: simplify query_formats()
2022-11-17 12:37:22 +01:00
07357e56a6
avfilter/avf_showspectrum: fix possible hang at EOF
...
May happen when using filter fps option.
2022-11-17 01:15:05 +01:00
a640b2874a
avfilter/af_surround: allow non-power of 2 win_size
2022-11-17 00:01:40 +01:00
404c2955b1
avfilter/af_surround: move upmix before irdft
2022-11-16 20:40:04 +01:00
d770403cac
avfilter/af_surround: refactor some code
2022-11-16 20:40:04 +01:00
752039a9eb
avfilter/af_surround: add support for commands
2022-11-15 19:52:38 +01:00
64031c5e65
avfilter/af_surround: add focus option
...
And improve angle option handling.
2022-11-15 19:52:38 +01:00