Anton Khirnov
d566a37003
lavfi: move AVFilterLink.graph to FilterLink
4 months ago
Anton Khirnov
fb3efef1db
lavfi: move AVFilterLink.frame_wanted_out to FilterLinkInternal
4 months ago
Anton Khirnov
42cbf66fff
lavfi: move AVFilterLink.{frame,sample}_count_{in,out} to FilterLink
4 months ago
Anton Khirnov
a23d565ea7
lavfi: move AVFilterLink.frame_rate to FilterLink
...
Co-developed-by: James Almer <jamrial@gmail.com>
4 months ago
Anton Khirnov
d6318a244d
lavfi: move AVFilterLink.current_pts(_us) to FilterLink
4 months ago
Anton Khirnov
7f17e0e6dd
lavfi: move AVFilterLink.hw_frames_ctx to FilterLink
4 months ago
Anton Khirnov
99ee7a948f
lavfi: move AVFilterLink.m{ax,in}_samples to FilterLink
...
Also, document who sets these fields and when.
4 months ago
Anton Khirnov
54754eec1e
lavfi: add a new struct for private link properties
...
Specifically those that should be visible to filters, but hidden from
API callers. Such properties are currently located at the end of the
public AVFilterLink struct, demarcated by a comment marking them as
private. However it is generally better to hide them explicitly, using
the same pattern already employed in avformat or avcodec.
The new struct is currently trivial, but will become more useful in
following commits.
4 months ago
Nicolas George
531d09fb2d
lavfi: add ff_inoutlink_check_flow()
3 years ago
Paul B Mahol
7d65fe87e9
avfilter: add ff_inlink_queued_samples()
6 years ago
Marton Balint
8f14170b9a
avfilter/filters: add ff_inlink_peek_frame and ff_inlink_queued_frames to access frames in the inlink fifo
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Nicolas George
76613618d9
lavfi: add helper functions and macros for activate.
7 years ago
Nicolas George
ed1c884b9e
lavfi: add outlink helper functions.
...
These wrappers cost nothing, they make the namespace more
consistent and they will be useful if/when locking becomes
necessary.
8 years ago
Nicolas George
b77f041dff
lavfi: make FFERROR_NOT_READY available to filters.
...
I am not entirely sure that this return code is useful,
but having and using it makes no harm.
8 years ago
Nicolas George
9eb4c79afd
lavfi: add ff_inlink_request_frame().
8 years ago
Nicolas George
d360ddf03b
lavfi: add helpers to consume frames from link FIFOs.
8 years ago
Nicolas George
e7e4c8dfbe
lavfi: add ff_inlink_evaluate_timeline_at_frame().
8 years ago
Nicolas George
0e3d2496e2
lavfi: add ff_inlink_process_commands().
8 years ago
Nicolas George
28c62df672
lavfi: implement ff_inlink_make_frame_writable().
...
Unlike av_frame_is_writable(), it uses the link's alloc callback,
making direct rendering possible.
The code comes from ff_filter_frame_framed(), moved with mostly
trivial changes.
8 years ago
Nicolas George
918891e146
lavfi: export ff_filter_set_ready() to the library.
8 years ago
Nicolas George
4c24f3ac16
lavfi: add ff_inlink_acknowledge_status().
...
Also introduce libavfilter/filters.h for all functions needed
to implement filters.
8 years ago