Thomas Mundt
2da5bf4c2f
avfilter/interlace: add complex vertical low-pass filter
This complex (-1 2 6 2 -1) filter slightly less reduces interlace 'twitter' but better retain detail and subjective sharpness impression compared to the linear (1 2 1) filter.
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Thomas Mundt
207e6debf8
avfilter/interlace: change lowpass_line function prototype
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Derek Buitenhuis
21f9468402
avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Vittorio Giovara
4709f72115
lavfi: Use AV_CEIL_RSHIFT where needed
9 years ago
Michael Niedermayer
65e73bc60f
vf_interlace: implement frame rate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from ffmpeg commit 227b4458fb
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Nicolas George
44f660e7e7
lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.
It has no longer any effect.
9 years ago
Clément Bœsch
0b93c6d831
avfilter/interlace: fix opt flags
9 years ago
Clément Bœsch
f790b54d98
avfilter/interlace: use AV_OPT_TYPE_BOOL
9 years ago
Paul B Mahol
a0854c084e
avfilter: handle error in query_formats() in bunch of filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Vittorio Giovara
4438c25638
vf_interlace: remove the warning tag in the message
The log level is already a warning.
10 years ago
Vittorio Giovara
15ea222778
vf_interlace: merge FIELD_LOWER check
10 years ago
Vittorio Giovara
046f75a970
vf_interlace: also assert for height
10 years ago
Vittorio Giovara
696141e898
vf_interlace: use image width rather than linesize
Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
10 years ago
Michael Niedermayer
46b64e3098
Revert "avfilter/vf_interlace: more accurate pts calculation"
This reverts commit df8248f66e
.
the revert produces a timebase and timestamps that are more close
to what users expect
Hoped-by: koda
10 years ago
Kieran Kunhya
2e1704059a
vf_interlace: Add SIMD for lowpass filter
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Aleksey Vasenev
df8248f66e
avfilter/vf_interlace: more accurate pts calculation
Signed-off-by: Aleksey Vasenev <margtu-fivt@ya.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Vittorio Giovara
52269f48e8
Revert "vf_interlace: deprecate lowpass option"
This reverts commit 35b05c5184
.
A warning is introduced in case this option is used.
10 years ago
Vittorio Giovara
58400ac133
lavfi: name anonymous structs
11 years ago
Vittorio Giovara
35b05c5184
vf_interlace: deprecate lowpass option
11 years ago
Vittorio Giovara
3a16ec19d2
vf_interlace: check one av_frame_clone allocation
11 years ago
Anton Khirnov
cd43ca0443
lavfi: do not export the filters from shared objects
11 years ago
Vittorio Giovara
06e7301a2e
vf_interlace: do not process an already interlaced frame
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Paul B Mahol
b211607b5c
avfilter: various cosmetics
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Vittorio Giovara
0ce1a7598e
vf_interlace: fix file permissions
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Michael Niedermayer
bec509db43
vf_interlace: better handling of odd video size
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Vittorio Giovara
cd0faeee62
lavfi: math typo in interlace filter
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Paul B Mahol
d349704eef
lavfi/interlace: make use of AVFILTER_DEFINE_CLASS
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
68def27124
lavfi/interlace: remove request frame hack
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
50e66726a2
lavfi: use ceil right shift for chroma width/height.
This should fix several issues with odd dimensions inputs.
lut, vflip, pad and crop video filters also need to be checked for such
issues. It's possible sws is also affected.
12 years ago
Clément Bœsch
7ee2daed9b
lavfi/interlace: remove exec permissions.
12 years ago
Paul B Mahol
65efa1dbd9
lavfi/interlace: remove now unused av_opt_free() call
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
227b4458fb
vf_interlace: fix frame rate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Vittorio Giovara
3fce136798
lavfi: new interlace filter
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago