Paul B Mahol
786a2daa3d
avfilter/vf_readeia608: rewrite processing, make extracting more robust
...
Lots of options are now obsolete.
2019-12-20 18:08:46 +01:00
Paul B Mahol
3530fdc78e
avfilter/vf_stack: set framerate to VFR when inputs frame rates differs
2019-12-17 13:30:16 +01:00
Xinpeng Sun
2e2dfe6673
avfilter: Add tonemap vaapi filter for H2S
...
It performs HDR(High Dynamic Range) to SDR(Standard Dynamic Range) conversion
with tone-mapping. It only supports HDR10 as input temporarily.
An example command to use this filter with vaapi codecs:
FFMPEG -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi \
-i INPUT -vf 'tonemap_vaapi=format=p010' -c:v hevc_vaapi -profile 2 OUTPUT
Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
2019-12-17 07:49:49 +08:00
Marton Balint
1f8e43938b
avfilter/x86/vf_interlace: always use unaligned movs
...
Fixes crashes in command lines such as:
ffmpeg -f lavfi -i testsrc2=704x576:r=50,interlace,pad=720:576:8 -f null none
Related to ticket #6491 .
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-12-15 00:23:03 +01:00
Marton Balint
4cd2cee7ed
avfilter/vf_interlace: do not interlace already interlaced frames
...
The filter used to work this way before it was merged into tinterlace.
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-12-15 00:23:03 +01:00
Marton Balint
6498522bef
avfilter/vf_tinterlace: add support for bypassing already interlaced frames
...
The old interlace filter worked this way before it was merged with tinterlace.
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-12-15 00:23:01 +01:00
Marton Balint
28b5dc6199
avfilter/vf_interlace: restore lowpass mode constants
...
The documentation still mentions numerical constants in addition to textual
ones. It is also wrong to use distinct modes as flags and it disallows us to
actually use the flags field for real flags in the future.
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-12-14 22:53:56 +01:00
Guo, Yejun
ed9fc2e3c5
avfilter/vf_dnn_processing: refine code for better naming
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-12-13 11:41:10 -03:00
Paul B Mahol
824324db41
avfilter/vf_datascope: add decimal output
2019-12-13 12:51:47 +01:00
Michael Niedermayer
9d1f7870a9
avfilter: Fix type in av_log for random_seed in cellauto and life
...
Fixes CID 1456556 / 1456555
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-12 21:40:53 +01:00
Gyan Doshi
78676ee8f8
avfilter/scale_eval: remove redundant mathematical constants
...
Even though removed from vf_scale in 3b316f9f22
, they were reintroduced
when scale.c, now scale_eval.c, was split off in 037bb4021c
2019-12-11 16:08:53 +05:30
Michael Niedermayer
a0ae4b7df9
Remove redundant ;
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-10 16:09:14 +01:00
Gyan Doshi
e73688eff4
avfilter: rename scale.c,h to scale_eval
...
scale.c is too generic; scale_eval is more representative
2019-12-10 12:55:48 +05:30
Gyan Doshi
1b4f473d18
avfilter/scale.c: factorize ff_scale_eval_dimensions
...
Adjustment of evaluated values shifted to ff_adjust_scale_dimensions
Shifted code for force_original_aspect_ratio and force_divisble_by from
vf_scale so it is now available for scale_cuda, scale_npp and
scale_vaapi as well.
2019-12-08 16:12:31 +05:30
Jun Zhao
46d2a67f80
lavfi/avf_showspectrum: Fix the memory leak in error handle path
...
Fix the memory leak in error handle path.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-12-07 14:08:08 +08:00
Limin Wang
5ee4c12ec2
avfilter/vsrc_life: Fix for random_seed type
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-06 11:25:29 +01:00
Limin Wang
1d757b111a
avfilter/vsrc_cellauto: Fix for random_seed type
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-06 11:25:29 +01:00
leozhang
0c7f9f714d
avfilter/vf_yaepblur: add yaepblur filter
...
Signed-off-by: leozhang <leozhang@qiyi.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-06 11:25:29 +01:00
Gyan Doshi
b66a800877
avfilter/crop: avoid premature eval error
...
Width and height expressions can refer to each other. Width is
evaluated twice to allow for reference to output height. So we
should not error out upon failure of first evaluation of width.
2019-12-06 10:19:47 +05:30
Limin Wang
0485033ae1
avfilter/vf_elbg: Fix for the seed type
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-04 20:17:00 +01:00
Andreas Rheinhardt
710ab13693
avfilter/vf_unsharp: Don't dereference NULL
...
The unsharp filter uses an array of arrays of uint32_t, each of which is
separately allocated. These arrays also need to freed separately; but
before doing so, one needs to check whether the array of arrays has
actually been allocated, otherwise one would dereference a NULL pointer.
This fixes #8408 .
Furthermore, the array of arrays needs to be zero-initialized so that
no uninitialized pointer will be freed in case an allocation of one of
the individual arrays fails.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-03 09:50:00 +01:00
Zhao Zhili
f9d4366912
avfilter/buffersrc: remove write-only variable
2019-12-02 17:28:16 +01:00
Paul B Mahol
8c2f81a17a
avfilter/vf_hqdn3d: add support for commands
2019-11-29 17:28:59 +01:00
Paul B Mahol
3a61297a67
avfilter/vf_hqdn3d: add support for 12bit and 14bit yuv formats
2019-11-29 17:28:59 +01:00
Limin Wang
c1ed00fd18
avfilter/vf_yadif: rename config_props -> config_output, link -> outlink
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-29 00:03:28 +01:00
Limin Wang
8aa143eaa8
avfilter/vf_libvmaf: Check for av_frame_alloc failure
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-28 18:44:01 +01:00
Limin Wang
3a6ec10d90
avfilter/vf_colorconstancy: av_frame_free(&in) in case of error or direct flag is false
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-28 18:44:01 +01:00
Paul B Mahol
93414ce831
avfilter: add axcorrelate filter
2019-11-23 11:54:20 +01:00
Paul B Mahol
aaac48fb50
avfilter/vf_normalize: add support for commands
2019-11-23 11:07:02 +01:00
Paul B Mahol
89aa1342b1
avfilter/af_aiir: normalize biquads only if divisor is big enough
2019-11-22 21:10:43 +01:00
Paul B Mahol
f46b04c4c3
avfilter/af_biquads: add new normalize/n option
2019-11-22 21:10:43 +01:00
Paul B Mahol
f2a01b4c8b
avfilter/af_aiir: fix biquads normalization
2019-11-22 20:24:29 +01:00
Paul B Mahol
eecc45cea5
avfilter/af_aiir: add missing normalization of biquads gains
2019-11-22 17:42:04 +01:00
Paul B Mahol
2f5fb9e60f
avfilter/af_aiir: make a/b coefficients array
2019-11-22 16:13:06 +01:00
Paul B Mahol
e169d3756e
avfilter/af_aiir: factor out response calculation
2019-11-22 16:07:03 +01:00
Paul B Mahol
c36e72ed27
avfilter/af_aiir: check for stability
2019-11-22 16:07:02 +01:00
Paul B Mahol
9cd56bb94c
avfilter/af_aiir: fix array length when selecting conjugate poles
2019-11-21 23:27:34 +01:00
Zhao Zhili
bbb68be0cc
avfilter/graphdump: fix use of uninitialized variables
...
In case of av_bprint_finalize failed.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-21 21:26:12 +01:00
leozhang
4a3aa77d74
avfilter/avfilter: fix indentation
...
Signed-off-by: leozhang <leozhang@qiyi.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-21 21:26:12 +01:00
Paul B Mahol
55ca21d54e
avfilter/vf_amplify: add timeline support
2019-11-21 18:34:07 +01:00
Paul B Mahol
103effebc1
avfilter/vf_datascope: add support for commands in oscilloscope
2019-11-21 18:08:48 +01:00
Paul B Mahol
c98d8b2bf5
avfilter/vsrc_sierpinski: change seed option type
2019-11-21 17:38:48 +01:00
Paul B Mahol
d83304d539
avfilter/vsrc_sierpinski: fix another typos
2019-11-21 17:35:35 +01:00
Paul B Mahol
09fd1b18f0
avfilter/vsrc_testsrc: simplify color filter commands parsing
2019-11-21 17:32:04 +01:00
Paul B Mahol
94c0b27397
avfilter/vf_chromakey: add support for commands
2019-11-21 17:19:40 +01:00
Paul B Mahol
ae6c4168e6
avfilter/vf_lumakey: add support for commands
2019-11-21 16:59:39 +01:00
Paul B Mahol
6b9862f614
avfilter/vf_lumakey: change options to doubles, so that values are automatically scaled
2019-11-21 16:52:48 +01:00
Paul B Mahol
08f7968fc4
avfilter/vf_lumakey: add support for 12bit yuva formats
2019-11-21 16:40:17 +01:00
Paul B Mahol
f89ebf88a1
avfilter/vf_scroll: add support for slice threading
2019-11-21 12:59:08 +01:00
Paul B Mahol
9bd4df1654
avfilter/vf_chromashift: add support for commands
2019-11-21 12:24:02 +01:00
Paul B Mahol
fbcb141c06
avfilter/vf_fillborders: add support for commands
2019-11-21 12:07:58 +01:00
Paul B Mahol
84e9a55d8e
avfilter/af_afftdn: simplify changing commands
2019-11-21 11:49:23 +01:00
Paul B Mahol
8e2a832a55
avfilter/vf_median: clip radius instead of erroring out
2019-11-21 11:21:31 +01:00
Paul B Mahol
7ead0daa24
avfilter/vf_median: add support for commands
2019-11-20 22:41:19 +01:00
Paul B Mahol
176ac987aa
avfilter/f_graphmonitor: output frames in pts gaps
2019-11-20 17:44:18 +01:00
Paul B Mahol
a16de215c9
avfilter/af_rubberband: fix sample overqueueing
...
Fixes #8389
2019-11-20 13:05:50 +01:00
Paul B Mahol
e21d4a7ca4
avfilter/vf_chromakey: add >8 bit support
2019-11-20 11:15:27 +01:00
Paul B Mahol
804fce8bc2
avfilter/vf_midequalizer: add 16bit formats
2019-11-19 13:08:07 +01:00
Paul B Mahol
258f66998f
avfilter/vf_deblock: add 12bit yuva formats
2019-11-19 12:43:26 +01:00
Paul B Mahol
18d25ecede
avfilter/vf_weave: pal and hwaccel formats are not supported
2019-11-19 12:35:55 +01:00
Paul B Mahol
5ed6b735ab
avfilter/vf_blend: cosmetics: reindent
2019-11-19 12:14:36 +01:00
Paul B Mahol
c8f269f24f
avfilter/vf_chromashift: remove unused header
...
Reverts ef479ee660
.
2019-11-19 10:37:12 +01:00
Gyan Doshi
0cfda90b34
avfilter/Makefile: add missing dependency for lut3d
...
lut3d requires framesync
2019-11-19 14:11:20 +05:30
Gyan Doshi
ef479ee660
avfilter/Makefile: add missing dependency for chromashift
...
chromashift requires framesync
2019-11-19 14:10:42 +05:30
Gyan Doshi
2ff444bd3a
avfilter/Makefile: add missing dependency for scale_cuda
...
scale_cuda includes scale.h
2019-11-19 12:07:03 +05:30
Paul B Mahol
6c2f866309
avfilter/vf_bm3d: improve threshold scaling with different block_size and depth
2019-11-19 00:12:47 +01:00
Paul B Mahol
eae292919b
avfilter/vf_dedot: add 12bit yuva formats
2019-11-18 18:35:32 +01:00
Paul B Mahol
fa00f80086
avfilter/vf_deflicker: add support for alpha formats
2019-11-18 18:35:32 +01:00
Paul B Mahol
9c85e1a091
avfilter/vf_amplify: add support for alpha formats
2019-11-18 18:35:32 +01:00
Paul B Mahol
2f7da8ca36
avfilter/vf_limiter: add 12bit yuva formats
2019-11-18 18:35:32 +01:00
Paul B Mahol
4670f8126a
avfilter/vf_fillborders: add 12bit yuva formats
2019-11-18 18:35:32 +01:00
Paul B Mahol
9277510766
avfilter/vf_premultiply: add support for 12bit yuva format
2019-11-18 18:35:32 +01:00
Paul B Mahol
a960d33112
avfilter/vf_chromashift: add 12bit yuva formats
2019-11-18 18:35:32 +01:00
Paul B Mahol
39a4d69d05
avfilter/vf_midequalizer: add 12bit yuva formats
2019-11-18 18:08:13 +01:00
Paul B Mahol
ee8fe9c94d
avfilter/vf_convolution: add 12bit yuva formats
2019-11-18 18:01:12 +01:00
Paul B Mahol
4b554382a0
avfilter/vf_neighbor: add 12bit yuva formats
2019-11-18 18:00:25 +01:00
Paul B Mahol
37bf725296
avfilter/vf_maskedminmax: add 12bit yuva formats
2019-11-18 17:56:34 +01:00
Paul B Mahol
be8487798a
avfilter/vf_maskedmerge: add 12bit yuva formats
2019-11-18 17:55:21 +01:00
Paul B Mahol
b565d63894
avfilter/vf_maskedclamp: add 12bit yuva formats
2019-11-18 17:53:45 +01:00
Paul B Mahol
69f5a77dec
avfilter/vf_scroll: add support for 12bit yuva formats
2019-11-18 17:50:05 +01:00
Paul B Mahol
c7abb07331
avfilter/vf_blend: add 12bit yuva formats
2019-11-18 17:47:35 +01:00
Paul B Mahol
619f530812
avfilter/vf_vaguedenoiser: add support for alpha formats
2019-11-18 17:44:10 +01:00
Paul B Mahol
76ef2ec471
avfilter/vf_bm3d: use boolean for ref option
2019-11-18 17:39:45 +01:00
Paul B Mahol
cb844376c3
avfilter/vf_fftdnoiz: add support for alpha formats
2019-11-18 17:36:56 +01:00
Paul B Mahol
3e524a11d9
avfilter/vf_bm3d: add support for alpha formats
2019-11-18 17:33:19 +01:00
Paul B Mahol
86f636348c
avfilter/vf_w3fdif: add support for more >8 bit alpha formats
2019-11-18 17:30:44 +01:00
Paul B Mahol
6a38538a09
avfilter/vf_avgblur: add support for 12bit yuva formats
2019-11-18 17:27:42 +01:00
Paul B Mahol
1b26f27026
avfilter/vf_gblur: add support for 12bit yuva formats
2019-11-18 17:26:59 +01:00
Paul B Mahol
97cf49b7fe
avfilter/vf_median: add support for 12bit yuva formats
2019-11-18 17:24:52 +01:00
Paul B Mahol
f490c71553
avfilter/vf_remap: add support for 12bit yuva format
2019-11-18 17:21:09 +01:00
Paul B Mahol
410f81f822
avfilter/vf_lut2: add 12bit depth alpha formats
2019-11-18 17:15:29 +01:00
Paul B Mahol
a50bd3a50e
avfilter/vf_atadenoise: support alpha formats
2019-11-18 17:06:59 +01:00
Paul B Mahol
73b730e3e6
avfilter/vf_xmedian: add support for alpha formats
2019-11-18 17:06:05 +01:00
Paul B Mahol
315a4496ea
avfilter/f_loop: switch aloop to activate
2019-11-17 16:20:58 +01:00
Paul B Mahol
2e7ccd493a
avfilter/f_loop: fix pts handling when timebase and 1/samplerate differ
2019-11-17 16:19:07 +01:00
Paul B Mahol
f7ad9a6c16
avfilter/af_sidechaincompress: fix pts handling when timebase and 1/samplerate differ
2019-11-17 12:30:10 +01:00
Paul B Mahol
b66acf4a34
avfilter/af_anlmdn: fix pts handling when timebase and 1/samplerate differ
2019-11-17 12:25:54 +01:00
Paul B Mahol
0a17a30150
avfilter/af_agate: fix pts handling when timebase and 1/samplerate differ
2019-11-17 12:23:48 +01:00
Paul B Mahol
115537f487
avfilter/af_afftdn: fix pts handling when timebase and 1/samplerate differ
2019-11-17 12:21:10 +01:00
Paul B Mahol
c588a0f528
avfilter/af_afftfilt: fix pts handling when timebase and 1/samplerate differ
2019-11-17 12:19:39 +01:00