Michael Niedermayer
b11a889055
vf_tinterlace: default of mode switch is impossible, add assert.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
da9a45b681
lavfi/tinterlace: drop redundant NULL checks in uninit()
12 years ago
Stefano Sabatini
c6a216771f
lavfi/tinterlace: add support to option parsing
Simplify code, and provide introspection through the AVOption system.
12 years ago
Stefano Sabatini
fef7b2e0be
lavfi/tinterlace: switch to filter_frame API
Also add missing NULL checks.
12 years ago
Clément Bœsch
2d9d444051
lavfi: convert remaining input/output list compound literals to named objects.
This is following 568c70e79e
.
12 years ago
Michael Niedermayer
ac2a3a7a05
vf_tinterlace: check av_image_get_linesize() return value
Fixes CID703717
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
b420b87848
lavfi/tinterlace: remove poll_frame() callback
That interface is deprecated, and apparently useless.
12 years ago
Hendrik Leppkes
79393a8363
Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
9a2daef53f
lavfi/tinterlace: declare source buffers in copy_picture_field() as const
Increase performance (slightly).
12 years ago
Stefano Sabatini
fd5293d216
lavfi/tinterlace: set inlink->cur to NULL, since it is stored internally
If not set to NULL, the reference is freed by ff_end_frame(), and later
accessed in end_frame() by the filter code, causing a crash.
12 years ago
Nicolas George
71adb74059
vf_tinterlace: leave harmless permissions alone.
12 years ago
Stefano Sabatini
fda968aa8f
lavfi: decrease logging level of message showing initial parameters
Reduce log clutter, consistent with 1a49a169eb
.
13 years ago
Michael Niedermayer
e145afb4b0
vf_tinterlace: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
abb0a9982f
lavfi: do not pass opaque field to init functions
Fix signature mismatch warnings.
13 years ago
Paul B Mahol
c9e183b490
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Stefano Sabatini
5f161c2357
lavfi/tinterlace: support symbolic names for the parameter
Also deprecate the use of numerical values.
13 years ago
Stefano Sabatini
837d034787
lavfi/tinterlace: make video as interlaced in mode 6
This is useful for marking progressive video processed by the filter as
interlaced, avoiding the interlaced flag to switch back and forth at each
frame.
13 years ago
Stuart Morris
820c023142
lavfi/tinterlace: add tinterlace mode 6
This new mode is useful for generating frames for interlaced video
displays. Typically interlaced video displays have no form of field
synchronisation. This new mode guarantees correct field order without
any requirement for field synchronisation.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
18c6bd098b
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
13 years ago
Stefano Sabatini
cf9f7e40cc
lavfi/tinterlace: use avfilter_unref_bufferp()
13 years ago
Stefano Sabatini
a853e88af2
lavfi/tinterlace: fix doxy in copy_picture_field()
13 years ago
Stefano Sabatini
42a8ac94d9
vf_tinterlace: implement interlace mode 5
Allow creating interlaced bottom field first video.
13 years ago
Stefano Sabatini
8fb03b4d70
lavfi: port tinterlace filter from MPlayer
Port MPlayer tinterlace filter from MPlayer, with some ideas taken
from the FFmbc/libavfilter port, with the following main differences:
* added support for full-scale YUVJ formats
* added support for YUVA420P
* request_frame() on the filter is forced to return a frame
* some code factorization (related to the copy_picture_fields() function)
* fixed black padding values for mode 3
14 years ago