Paul B Mahol
d3d6f5a76e
avfilter/vf_histogram: reindent after previous commit
2019-12-29 15:33:55 +01:00
Paul B Mahol
cc43c2f29a
avfilter: add thistogram video filter
2019-12-29 15:33:55 +01:00
James Almer
eb17a7906b
avfilter/vf_vectorscope: use av_clip_uint8()
...
Fixes fate-source
Signed-off-by: James Almer <jamrial@gmail.com>
2019-12-28 22:38:58 -03:00
Paul B Mahol
6399eed48a
avfilter/vf_waveform: implement tint options
2019-12-28 21:51:40 +01:00
Paul B Mahol
b3216f13ce
avfilter/vf_vectorscope: improve tint output for gbrp formats
2019-12-28 21:51:40 +01:00
Paul B Mahol
2736dc0564
avfilter/vf_vectorscope: rename gray mode to tint mode
2019-12-28 14:01:15 +01:00
Paul B Mahol
29b765d657
avfilter/vf_vectorscope: add invert graticule
2019-12-28 12:32:43 +01:00
Paul B Mahol
1669c970b1
avfilter/vf_vectorscope: use enum for graticule items
2019-12-28 12:32:43 +01:00
Michael Niedermayer
5c0d1f7896
avfilter/vf_geq: Add support for reading sample sums and means of rectangles
...
This allows integrating box blur style filters in geq.
Without this computing the mean of an area in geq would have been excessivly slow
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-28 11:20:48 +01:00
Michael Niedermayer
47fd73ace2
avfilter/vf_geq: Add NB_PLANES
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-28 11:20:48 +01:00
Michael Niedermayer
d5e7f01090
avfilter/vf_geq: Relicense to LGPL
...
All authors who have code in this under GPL agreed.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-28 11:20:48 +01:00
Paul B Mahol
6c883e214a
avfilter/vf_vibrance: add support for commands
2019-12-27 21:31:04 +01:00
Paul B Mahol
50cfe9662d
avfilter/vf_il: add support for commands
2019-12-27 21:17:00 +01:00
Paul B Mahol
5fb37598ad
avfilter/af_stereowiden: add support for commands
2019-12-27 21:03:29 +01:00
Paul B Mahol
954637805d
avfilter/af_extrastereo: add support for commands
2019-12-27 20:57:06 +01:00
Paul B Mahol
fad62eebee
avfilter/vf_neighbor: add support for commands
2019-12-27 20:21:20 +01:00
Paul B Mahol
b5f0cea16c
avfilter/vf_histogram: use the name 's' for the pointer to the private context
...
This is consistent across filters.
2019-12-26 20:45:20 +01:00
Andreas Rheinhardt
398a5f5d8f
avfilter/buffersrc: Remove unused variables
...
Unused since f09ae730
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-26 16:06:25 +01:00
Limin Wang
3dd6c4478b
avfilter/vf_yadif: cosmetics in the pix_fmts[] array
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-25 18:00:40 +01:00
Gyan Doshi
287620f59c
avfilter/drawtext: log why input pad failed to be configured
2019-12-24 11:04:52 +05:30
Paul B Mahol
547b0c61af
avfilter/vf_fade: reindent after previous commit
2019-12-23 20:24:36 +01:00
Paul B Mahol
6c9a9dd25a
avfilter/vf_fade: add support for gbrp/gbrap formats
2019-12-23 20:16:27 +01:00
Paul B Mahol
94ad5d0128
avfilter/vf_readeia608: factor some constants out
2019-12-23 20:09:20 +01:00
Paul B Mahol
94682555c6
avfilter/vf_readeia608: check if gaps between clock bits are big enough
...
Should help finding less false positives.
2019-12-23 19:56:05 +01:00
Paul B Mahol
16968b619d
avfilter/vf_readeia608: use special struct to hold line items
2019-12-23 18:02:38 +01:00
Zhao Zhili
0115dbd043
avfilter/avfilter: update documentation of avfilter_graph_create_filter
2019-12-23 17:02:55 +01:00
Zhao Zhili
61097535cd
avfilter/buffersink: deprecate AVBufferSinkParams and AVABufferSinkParams
2019-12-23 17:02:55 +01:00
Zhao Zhili
07ffdedf78
avfilter/buffersink: replace init_opaque by init
...
The argument 'opaque' is always NULL since 0acf7e2
(2013),
and avfilter_init_filter() was removed in 52067b3c0e
(2016).
2019-12-23 17:02:55 +01:00
Zhao Zhili
807e90d232
avfilter/buffersink: remove unused macros
2019-12-23 17:02:55 +01:00
Zhao Zhili
bf08264daa
avfilter/buffersrc: remove redundant flag
...
!(c->pix_fmt != AV_PIX_FMT_NONE || c->got_format_from_params)
equals
(c->pix_fmt == AV_PIX_FMT_NONE) && !c->got_format_from_params
1. When (c->pix_fmt == AV_PIX_FMT_NONE) is true, got_format_from_params is
always false, the flag doesn't contribute to the result.
2. When the first part is false, the second part doesn't matter, the flag
doesn't contribute to the result.
The result only depends on c->pix_fmt.
2019-12-23 17:02:55 +01:00
Nicolas George
f09ae7309d
lavfi/buffersrc: push frame directly.
...
This allows to remove the queued frame entirely.
2019-12-23 13:03:38 +01:00
Nicolas George
02daafb45c
lavfi: remove AVFilterPad.poll_frame().
...
This design is no longer used and was replaced a long time ago.
2019-12-23 13:03:38 +01:00
Nicolas George
f3a6ef69bf
lavfi/buffersrc: remove poll_frame.
2019-12-23 13:03:38 +01:00
Nicolas George
65e6850c56
lavfi: remove ff_poll_frame().
...
It is never used.
2019-12-23 13:03:38 +01:00
Nicolas George
9ea7e68907
lavfi/buffersrc: remove fifo.
...
The frame is immediately pushed, the fifo has never more than one.
2019-12-23 13:03:38 +01:00
Limin Wang
03eb96f9b7
avfilter/vf_readeia608: fix check for failed av_calloc
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2019-12-23 10:26:36 +01:00
Paul B Mahol
e890ce62ef
avfilter/af_adeclick: implement timeline support
2019-12-21 20:02:04 +01:00
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.
2019-12-21 12:11:38 +01:00
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