1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-07 11:13:41 +02:00
Commit Graph

10040 Commits

Author SHA1 Message Date
Paul B Mahol
17a59a634c avfilter/framepool: fix alignment requirements for audio and video filters 2022-02-22 09:22:03 +01:00
Wu Jianhua
82ef4c708e avfilter/vf_gblur_vulkan: add sizeV option
This commit added a sizeV option, integrated some identical operations
to a separate function, and updated the CGS for horizontal and vertical
respectively.

The following command is on how to apply sizeV option:

ffmpeg -init_hw_device vulkan -i input.264 -vf \
hwupload,gblur_vulkan=size=127:sigma=20:sizeV=3:sigmaV=0.5,hwdownload,format=yuv420p \
-y out.264

Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
2022-02-22 05:52:44 +01:00
Wu Jianhua
50ca36f845 avfilter/scale_vulkan: use RET for checking return value
Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
2022-02-22 05:47:18 +01:00
Wu Jianhua
8f470133f6 avfilter/vf_blend_vulkan: add multiply blend mode
Use the commands below to test: (href: https://trac.ffmpeg.org/wiki/Blend)

I. make an image for test
ffmpeg -f lavfi -i color=s=256x256,geq=r='H-1-Y':g='H-1-Y':b='H-1-Y' -frames 1 \
-y -pix_fmt yuv420p test.jpg

II. blend in sw
ffmpeg -i test.jpg -vf "split[a][b];[b]transpose[b];[a][b]blend=all_mode=multiply,\
pseudocolor=preset=turbo" -y multiply_sw.jpg

III. blend in vulkan
ffmpeg -init_hw_device vulkan -i test.jpg -vf "split[a][b];[b]transpose[b];\
[a]hwupload[a];[b]hwupload[b];[a][b]blend_vulkan=all_mode=multiply,hwdownload,\
format=yuv420p,pseudocolor=preset=turbo" -y multiply_vulkan.jpg

Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
2022-02-22 05:46:06 +01:00
Paul B Mahol
0aa7142442 avfilter/vf_dblur: add float formats support 2022-02-21 17:52:20 +01:00
Paul B Mahol
6a9cb5a7ba avfilter/vf_lagfun: add float formats support 2022-02-21 17:52:20 +01:00
Paul B Mahol
b8e58f0858 avfilter/vf_limiter: refactor slice functions 2022-02-21 00:35:11 +01:00
Paul B Mahol
ebcde3fda8 avfilter/vf_maskedminmax: add float pixel formats 2022-02-21 00:35:11 +01:00
Paul B Mahol
b7dc07c07c avfilter/vf_maskedminmax: refactor slice function 2022-02-21 00:35:10 +01:00
Paul B Mahol
105234ce80 avfilter/vf_maskedmerge: add float pixel formats 2022-02-21 00:35:10 +01:00
Paul B Mahol
ac0fdac0fc avfilter/vf_maskedmerge: refactor slice function 2022-02-21 00:35:10 +01:00
Paul B Mahol
954279564a avfilter/vf_monochrome: use lrintf for rounding 2022-02-20 23:15:34 +01:00
Paul B Mahol
df98e8e4b4 avfilter/f_ebur128: add support for any number of channels 2022-02-20 17:45:50 +01:00
Nicolas George
01440e2588 lavfi/vf_fps: check flow before sending more frames
Analyzed by Paul B Mahol <onemda@gmail.com>.

Fixes OOM in #9081.
2022-02-20 12:38:52 +01:00
Nicolas George
531d09fb2d lavfi: add ff_inoutlink_check_flow() 2022-02-20 12:38:52 +01:00
Paul B Mahol
c439c6b191 avfilter/af_headphone: improve stereo hrir support
Until now, in some cases produced output would be wrong.
2022-02-19 13:45:47 +01:00
Paul B Mahol
51cd565208 avfilter/vf_xmedian: small additional speedup 2022-02-18 17:12:46 +01:00
Paul B Mahol
cca6fe7fe0 avfilter/vf_xmedian: refactor slice function 2022-02-18 17:12:46 +01:00
Paul B Mahol
b40419c99b avfilter/vf_atadenoise: fix >8 depth filtering with planes disabled 2022-02-18 17:12:46 +01:00
Paul B Mahol
33417198aa avfilter/vf_mix: additional speedup 2022-02-18 17:12:46 +01:00
Paul B Mahol
cc2b3201e7 avfilter/vf_waveform: do not add tint if output format is gray 2022-02-17 23:05:13 +01:00
Paul B Mahol
da473e0984 avfilter/vf_extractplanes: unbreak "extracting" >8 depth gray formats 2022-02-17 23:05:13 +01:00
Paul B Mahol
b66afd1caa avfilter/vf_amplify: add float formats support 2022-02-17 22:19:46 +01:00
Paul B Mahol
c644d6605d avfilter/vf_amplify: refactor amplify function 2022-02-17 22:19:46 +01:00
Paul B Mahol
51b968c66e avfilter/vf_mix: refactor mix function 2022-02-17 22:19:46 +01:00
Paul B Mahol
891c3bef6f avfilter/vf_fieldmatch: fix crash when inputs have different subsampling 2022-02-17 19:28:04 +01:00
Paul B Mahol
881b80ffcf avfilter/vf_mix: use correct type for flags 2022-02-17 09:07:50 +01:00
Paul B Mahol
b9306afce6 avfilter/vf_mix: fix handling non-native endianess formats 2022-02-17 09:07:50 +01:00
Paul B Mahol
d151166fe1 avfilter/vf_mix: add missing float format support 2022-02-17 09:07:30 +01:00
Paul B Mahol
2d87cae55c avfilter/vf_readeia608: fix oversight in 278984b34 2022-02-16 20:38:23 +01:00
Paul B Mahol
7ad645eb7e avfilter/af_surround: fix oversight with inverse rdft initialization 2022-02-16 20:22:44 +01:00
Paul B Mahol
698de27f25 avfilter/af_speechnorm: speed up filtering code
Reduce some asserts by default.
2022-02-16 20:22:44 +01:00
Paul B Mahol
52218c0322 avfilter/af_superequalizer: stop extending last frame duration 2022-02-16 17:28:14 +01:00
Paul B Mahol
18ad9fb0c5 avfilter/af_superequalizer: switch rdft to lavu/tx 2022-02-16 17:28:14 +01:00
Paul B Mahol
a63879049d avfilter/af_superequalizer: check allocations return value 2022-02-16 17:28:14 +01:00
Paul B Mahol
30c7f37d80 avfilter/vf_mix: add planes option 2022-02-15 20:07:40 +01:00
Paul B Mahol
0da255dd10 avfilter/vf_mix: improve speed of processing 2022-02-14 23:57:58 +01:00
Paul B Mahol
e235c76487 avfilter/vf_tmix: increase max allowed number of frames 2022-02-14 23:57:58 +01:00
Paul B Mahol
81df787b53 avfilter/avf_showspectrum: stop using AVAudioFifo to keep samples
Fixes limitation of input duration that showspectrumpic can process.
2022-02-14 23:32:22 +01:00
pascal massimino
9f4dff61f7 avfilter/vf_fftfilt: Add missing cpu.h inclusion
Error was: implicit declaration of function 'av_cpu_max_align'
is invalid in C99

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-02-14 19:17:48 +01:00
Paul B Mahol
8e825ec3ab avfilter/vf_fftfilt: switch to rdft from lavu/tx 2022-02-14 17:52:09 +01:00
Paul B Mahol
e26a0afabd avfilter/vf_fftdnoiz: switch to fft from lavu/tx 2022-02-14 17:52:09 +01:00
Paul B Mahol
f1daa3b120 avfilter/blend_modes: unbreak interpolate mode for float format 2022-02-14 17:51:45 +01:00
Paul B Mahol
9e11a7e193 avfilter/af_aderivative: add timeline support 2022-02-14 17:51:28 +01:00
Paul B Mahol
66f8f9ed29 avfilter/f_perms: add commands support 2022-02-14 17:51:20 +01:00
Paul B Mahol
fcee53619a avfilter/af_surround: change x/y spread defaults
Previous default value of 1.0 is producing lesser quality channels.
2022-02-12 12:48:42 +01:00
Paul B Mahol
619519ee0a avfilter/af_surround: avoid implicit conversion to float 2022-02-12 12:48:28 +01:00
Paul B Mahol
b015c101ab avfilter/af_surround: switch to rdft from avutil/tx 2022-02-12 12:48:18 +01:00
Paul B Mahol
f05c52985c avfilter: add dialogue enhance audio filter 2022-02-12 12:47:36 +01:00
Paul B Mahol
800dfd2eac avfilter/af_atempo: switch to rdft from lavu/tx 2022-02-12 12:45:43 +01:00