Nicolas George
67a316bbda
vsrc_buffer: deprecate the header.
2012-05-06 16:18:11 +02:00
Nicolas George
aaa94f2890
vsrc_buffer: deprecate av_vsrc_buffer_add_video_buffer_ref.
2012-05-06 16:18:10 +02:00
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.
2012-05-06 16:18:10 +02:00
Nicolas George
fe511b6e32
asrc_abuffer: deprecate the header.
2012-05-06 16:18:10 +02:00
Nicolas George
675e83bb5c
asrc_abuffer: deprecate av_asrc_buffer_* functions.
2012-05-06 16:18:10 +02:00
Nicolas George
6073ce71d0
lavfi: install buffersrc.h.
2012-05-06 16:18:10 +02:00
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.
2012-05-06 16:18:10 +02:00
Nicolas George
8ad1964ec5
buffersrc: fix av_buffersrc_add_ref doxy.
...
av_buffersrc_add_ref can handle audio too now.
2012-05-06 16:18:10 +02:00
Nicolas George
7bac2a78c2
src_buffer: implement av_buffersrc_add_frame.
...
It supersedes av_vsrc_buffer_add_frame and handles
both audio and video.
2012-05-04 23:26:40 +02:00
Nicolas George
a96cd73ff2
src_buffer: implement audio buffer copy.
2012-05-04 23:26:40 +02:00
Nicolas George
d8407bba0e
lavfi/avcodec: implement audio copy_frame_prop.
2012-05-04 23:26:40 +02:00
Nicolas George
32094285ad
lavfi: implement avfilter_get_audio_buffer_ref_from_frame.
2012-05-04 23:26:40 +02:00
Clément Bœsch
3c1d52d30b
Fix a few @file doxy inconsistencies.
2012-05-04 18:50:59 +02:00
Clément Bœsch
af58a77f0a
lavfi/src_buffer: fix indent.
2012-05-03 20:02:26 +02:00
Nicolas George
f8d58c594d
src_buffer: merge av_asrc_buffer_add_audio_buffer_ref.
...
Implement it using av_buffersrc_add_ref.
2012-05-03 19:55:28 +02:00
Nicolas George
be8edff8d1
src_buffer: move audio format change check in a separate function.
2012-05-03 19:55:28 +02:00
Nicolas George
cc14cdec45
src_buffer: move buffer copy in a separate function.
...
This will make merging with the audio part easier.
2012-05-03 19:55:28 +02:00
Nicolas George
f94b150a03
src_buffer: move format change check in a separate function.
...
This will make merging the check with the audio part easier.
2012-05-03 19:55:28 +02:00
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().
2012-05-03 19:55:28 +02:00
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.
2012-05-03 10:29:08 +02:00
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.
2012-05-03 10:26:41 +02:00
Stefano Sabatini
65d2b2fbe4
lavfi/drawtext: alphabetically sort the expression parameters
2012-05-03 10:17:57 +02:00
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>
2012-05-02 18:15:29 +02:00
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]
2012-05-01 01:24:48 +02:00
Stefano Sabatini
5f161c2357
lavfi/tinterlace: support symbolic names for the parameter
...
Also deprecate the use of numerical values.
2012-04-30 23:04:46 +02:00
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.
2012-04-30 23:04:46 +02:00
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>
2012-04-30 23:04:46 +02:00
Stefano Sabatini
46eba43e0e
lavfi/buffersink: fix header inclusion guard name
2012-04-29 18:46:59 +02:00
Nicolas George
f1b82099cd
src_buffer: add forgotten avfilter_unref_buffer.
2012-04-28 19:37:57 +02:00
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.
2012-04-28 18:48:12 +02:00
Nicolas George
2ae5af8094
lavfi: rename vsrc_buffer.c into src_buffer.c.
2012-04-28 09:59:13 +02:00
Nicolas George
7ad0d9864e
lavfi: merge asrc_abuffer into vsrc_buffer.
2012-04-28 09:59:13 +02:00
Stefano Sabatini
18c6bd098b
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
2012-04-27 22:45:11 +02:00
Stefano Sabatini
cf9f7e40cc
lavfi/tinterlace: use avfilter_unref_bufferp()
2012-04-27 22:45:11 +02:00
Stefano Sabatini
a853e88af2
lavfi/tinterlace: fix doxy in copy_picture_field()
2012-04-27 22:45:10 +02:00
Matthieu Bouron
73c1e3baad
asrc_abuffer: return EAGAIN if no frame is available
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-27 22:11:00 +02:00
Stefano Sabatini
6b55aab01a
lavfi: create buffer reference in filters which need to access the ref later
...
Also add internal function ff_null_start_frame_keep_ref().
Fix crash when a following filter (e.g. settb) will unref the reference
passed by start_frame(), and then the reference is accessed in
end_frame() through inlink->cur_buf.
2012-04-27 21:38:13 +02:00
Stefano Sabatini
6f3b1d7f86
lavfi/bbox: add missing space between pts and x1 values in the log
2012-04-27 21:33:42 +02:00
Matthieu Bouron
5473a98e45
af_amerge: return errors from subfilters when requesting a frame
2012-04-26 18:56:35 +02:00
Nicolas George
fd2cd64fc9
avfiltergraph: fix format selection.
...
The old code had two bugs:
For audio filters, the format was not set.
For video filters, if several links reference the same format list,
the same format must be selected in the end. This is done by
setting formats->format_count to 1: the other links sharing
the reference will therefore have only one choice.
If the heuristic does not pick the first format, the selected format
must also be moved to the first position.
2012-04-24 16:35:15 +02:00
Nicolas George
2e8f19d26f
avfiltergraph: free the sink_links heap.
2012-04-23 23:36:33 +02:00
Nicolas George
e11110dee4
buffersink: add AV_BUFFERSINK_FLAG_NO_REQUEST.
2012-04-23 14:13:59 +02:00
Nicolas George
2d6522bab0
vsrc_buffer: count the number of failed requests.
2012-04-23 14:13:40 +02:00
Nicolas George
f75ee4031e
vsrc_buffer: return EAGAIN if no frame is available.
...
This is not an erroneous condition, do not print a warning.
2012-04-23 14:13:40 +02:00
Nicolas George
2ce7972779
avfiltergraph: add avfilter_graph_request_oldest().
...
Keep a heap of all sink links ordered by timestamps.
2012-04-23 14:13:40 +02:00
Nicolas George
e0761feec4
avfilter: add a pointer from links to graph.
2012-04-23 14:13:40 +02:00
Nicolas George
78ac49c233
avfilter: document request_frame return codes.
2012-04-23 14:13:40 +02:00
Stefano Sabatini
dd3043d1c0
lavfi/setfield: remove stray argument in av_log()
...
Fix warning:
libavfilter/vf_setfield.c: In function ‘init’:
libavfilter/vf_setfield.c:64:20: warning: too many arguments for format [-Wformat-extra-args]
2012-04-21 12:32:50 +02:00
Stefano Sabatini
459414b4d9
lavfi/setfield: rename variable top_field_first to mode
...
The new name better reflects the meaning of the variable, after the
recent change.
2012-04-21 12:32:38 +02:00
Tim Nicholson
c97201dd29
lavfi/setfield: add "progressive" option
...
Add "prog" parameter value, and deprecate numeric values.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2012-04-21 10:09:49 +02:00