Nicolas George
75e0324eab
src_buffer: move code to avoid forward declarations.
13 years ago
Carl Eugen Hoyos
29fe6b3cbf
Add yuva422p to yadif format list.
13 years ago
Anton Khirnov
8134fafe9b
lavfi: uninline avfilter_copy_buffer_ref_props().
...
A nontrivial public function such as this should most certainly NOT be
inline.
13 years ago
Diego Biurrun
dbe6ba55a3
build: cosmetics: Add missing end-of-line backslashes to item lists.
13 years ago
Diego Biurrun
9eb83a56aa
build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.
13 years ago
Robert Nagy
a07578f3f2
vf_yadif: fix missing error handling for avfilter_poll_frame()
13 years ago
Anton Khirnov
0bbd874743
lavfi: support audio in avfilter_copy_frame_props().
13 years ago
Mina Nagy Zaki
11b6a82412
lavfi: avfilter_merge_formats: handle case where inputs are same
...
This fixes a double-free crash if lists are the same due to the two
merge_ref() calls at the end of the (useless) merging that happens.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Robert Nagy
4f5c5416ca
yadif: Add yuva444p to format list.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
d4ac703c7f
lavfi/formats: use sizeof(var) instead of sizeof(type).
13 years ago
Stefano Sabatini
f10530b78a
lavfi: remove avfilter_default_config_input_link() declaration
...
The function is not implemented (and possibly useless).
13 years ago
Anton Khirnov
25b3babe11
lavfi: always enable the scale filter and depend on sws.
...
The scale filter is used for internal colorspace conversions, so it must
always be present.
13 years ago
Anton Khirnov
fd18ee0ff6
vf_split: support user-specifiable number of outputs.
13 years ago
Nicolas George
67a316bbda
vsrc_buffer: deprecate the header.
13 years ago
Nicolas George
aaa94f2890
vsrc_buffer: deprecate av_vsrc_buffer_add_video_buffer_ref.
13 years ago
Nicolas George
4d4350f47a
src_buffer: update get_nb_failed_requests name.
...
Implement av_buffersrc_get_nb_failed_requests.
Deprecate av_vsrc_buffer_get_nb_failed_requests.
13 years ago
Nicolas George
fe511b6e32
asrc_abuffer: deprecate the header.
13 years ago
Nicolas George
675e83bb5c
asrc_abuffer: deprecate av_asrc_buffer_* functions.
13 years ago
Nicolas George
6073ce71d0
lavfi: install buffersrc.h.
13 years ago
Nicolas George
317b2b7e92
lavfi: remove av_buffersrc_buffer.
...
It is no longer used anywhere.
Furthermore, the header it was declared in was not installed,
so it can not be considered part of the public API.
13 years ago
Nicolas George
8ad1964ec5
buffersrc: fix av_buffersrc_add_ref doxy.
...
av_buffersrc_add_ref can handle audio too now.
13 years ago
Nicolas George
5cb4f1a127
vsrc_buffer: return EAGAIN if no frame is available.
...
This is not an erroneous condition, do not print a warning.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Nicolas George
7bac2a78c2
src_buffer: implement av_buffersrc_add_frame.
...
It supersedes av_vsrc_buffer_add_frame and handles
both audio and video.
13 years ago
Nicolas George
a96cd73ff2
src_buffer: implement audio buffer copy.
13 years ago
Nicolas George
d8407bba0e
lavfi/avcodec: implement audio copy_frame_prop.
13 years ago
Nicolas George
32094285ad
lavfi: implement avfilter_get_audio_buffer_ref_from_frame.
13 years ago
Clément Bœsch
3c1d52d30b
Fix a few @file doxy inconsistencies.
13 years ago
Clément Bœsch
af58a77f0a
lavfi/src_buffer: fix indent.
13 years ago
Nicolas George
f8d58c594d
src_buffer: merge av_asrc_buffer_add_audio_buffer_ref.
...
Implement it using av_buffersrc_add_ref.
13 years ago
Nicolas George
be8edff8d1
src_buffer: move audio format change check in a separate function.
13 years ago
Nicolas George
cc14cdec45
src_buffer: move buffer copy in a separate function.
...
This will make merging with the audio part easier.
13 years ago
Nicolas George
f94b150a03
src_buffer: move format change check in a separate function.
...
This will make merging the check with the audio part easier.
13 years ago
Nicolas George
3985ec0ee6
src_buffer: introduce av_buffersrc_add_ref().
...
This function merges the features of
av_vsrc_buffer_add_video_buffer_ref() and
av_buffersrc_buffer().
13 years ago
Stefano Sabatini
126ba1626e
lavfi/drawtext: give a new alias "timecode_rate" to the the r/rate option
...
The option is related to the timecode, the new name clearly specifies the
context. Also it allows to list the option close to the other timecode
options.
13 years ago
Stefano Sabatini
eb07f4ccb5
lavfi/drawtext: rename and document variables d_expr and d_pexpr
...
Use the more expressive names draw_expr and draw_pexpr, also more
consistent.
13 years ago
Stefano Sabatini
65d2b2fbe4
lavfi/drawtext: alphabetically sort the expression parameters
13 years ago
Paul B Mahol
2cda0429aa
lavfi: remove screenshot libmpcodecs wrapper
...
The filter is useless.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
bb39c74b59
lavfi/lut: remove unused variable
...
Fix warning:
libavfilter/vf_lut.c: In function ‘draw_slice’:
libavfilter/vf_lut.c:297:15: warning: unused variable ‘k’ [-Wunused-variable]
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
46eba43e0e
lavfi/buffersink: fix header inclusion guard name
13 years ago
Nicolas George
f1b82099cd
src_buffer: add forgotten avfilter_unref_buffer.
13 years ago
Nicolas George
75d5624cb2
avfilter: filter_samples: read pts before filtering.
...
The call to the next filter_sample will likely unref the
current buffer, so it is not possible to read it afterwards.
13 years ago
Nicolas George
2ae5af8094
lavfi: rename vsrc_buffer.c into src_buffer.c.
13 years ago
Nicolas George
7ad0d9864e
lavfi: merge asrc_abuffer into vsrc_buffer.
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
Matthieu Bouron
73c1e3baad
asrc_abuffer: return EAGAIN if no frame is available
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago