Nicolas George
65e6850c56
lavfi: remove ff_poll_frame().
...
It is never used.
5 years ago
Nicolas George
9ea7e68907
lavfi/buffersrc: remove fifo.
...
The frame is immediately pushed, the fifo has never more than one.
5 years ago
Limin Wang
03eb96f9b7
avfilter/vf_readeia608: fix check for failed av_calloc
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Paul B Mahol
e890ce62ef
avfilter/af_adeclick: implement timeline support
5 years ago
Paul B Mahol
26f4ee37f7
avfilter/vf_readeia608: if parity bit check fails, set correct value
...
As described in U.S. Federal Register, Volume 56, Number 114, June 13, 1991, pages 27204-27205.
5 years ago
Paul B Mahol
786a2daa3d
avfilter/vf_readeia608: rewrite processing, make extracting more robust
...
Lots of options are now obsolete.
5 years ago
Paul B Mahol
3530fdc78e
avfilter/vf_stack: set framerate to VFR when inputs frame rates differs
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
Paul B Mahol
824324db41
avfilter/vf_datascope: add decimal output
5 years ago
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>
5 years ago
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
5 years ago
Michael Niedermayer
a0ae4b7df9
Remove redundant ;
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Gyan Doshi
e73688eff4
avfilter: rename scale.c,h to scale_eval
...
scale.c is too generic; scale_eval is more representative
5 years ago
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.
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
leozhang
0c7f9f714d
avfilter/vf_yaepblur: add yaepblur filter
...
Signed-off-by: leozhang <leozhang@qiyi.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
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.
5 years ago
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>
5 years ago
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>
5 years ago
Zhao Zhili
f9d4366912
avfilter/buffersrc: remove write-only variable
5 years ago
Paul B Mahol
8c2f81a17a
avfilter/vf_hqdn3d: add support for commands
5 years ago
Paul B Mahol
3a61297a67
avfilter/vf_hqdn3d: add support for 12bit and 14bit yuv formats
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
Paul B Mahol
93414ce831
avfilter: add axcorrelate filter
5 years ago
Paul B Mahol
aaac48fb50
avfilter/vf_normalize: add support for commands
5 years ago
Paul B Mahol
89aa1342b1
avfilter/af_aiir: normalize biquads only if divisor is big enough
5 years ago
Paul B Mahol
f46b04c4c3
avfilter/af_biquads: add new normalize/n option
5 years ago
Paul B Mahol
f2a01b4c8b
avfilter/af_aiir: fix biquads normalization
5 years ago
Paul B Mahol
eecc45cea5
avfilter/af_aiir: add missing normalization of biquads gains
5 years ago
Paul B Mahol
2f5fb9e60f
avfilter/af_aiir: make a/b coefficients array
5 years ago
Paul B Mahol
e169d3756e
avfilter/af_aiir: factor out response calculation
5 years ago
Paul B Mahol
c36e72ed27
avfilter/af_aiir: check for stability
5 years ago
Paul B Mahol
9cd56bb94c
avfilter/af_aiir: fix array length when selecting conjugate poles
5 years ago
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>
5 years ago
leozhang
4a3aa77d74
avfilter/avfilter: fix indentation
...
Signed-off-by: leozhang <leozhang@qiyi.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
55ca21d54e
avfilter/vf_amplify: add timeline support
5 years ago
Paul B Mahol
103effebc1
avfilter/vf_datascope: add support for commands in oscilloscope
5 years ago
Paul B Mahol
c98d8b2bf5
avfilter/vsrc_sierpinski: change seed option type
5 years ago
Paul B Mahol
d83304d539
avfilter/vsrc_sierpinski: fix another typos
5 years ago
Paul B Mahol
09fd1b18f0
avfilter/vsrc_testsrc: simplify color filter commands parsing
5 years ago
Paul B Mahol
94c0b27397
avfilter/vf_chromakey: add support for commands
5 years ago