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