summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-30 11:20:32 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-05 09:38:16 +0200
commit803391f7195ba37a553026009ff989d6e2625d8f (patch)
tree4516f7e9e0ca7a4a15b7e610efecc4381de7814e /libavfilter/internal.h
parentfa417fcd278a003530fe6bf851f8194177a5e71f (diff)
lavfi: remove request/poll and drawing functions from public API on next bump
They are only useful inside filters and we don't allow user filters for now.
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 7f7cf45771..4b53831063 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -69,4 +69,21 @@ static inline void ff_insert_outpad(AVFilterContext *f, unsigned index,
&f->output_pads, &f->outputs, p);
}
+/**
+ * Poll a frame from the filter chain.
+ *
+ * @param link the input link
+ * @return the number of immediately available frames, a negative
+ * number in case of error
+ */
+int ff_poll_frame(AVFilterLink *link);
+
+/**
+ * Request an input frame from the filter at the other end of the link.
+ *
+ * @param link the input link
+ * @return zero on success
+ */
+int ff_request_frame(AVFilterLink *link);
+
#endif /* AVFILTER_INTERNAL_H */