diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-11-29 02:30:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-29 02:30:11 +0100 |
commit | 9178235ffb2dc56e3b9a39f4313b2a1248cffd7d (patch) | |
tree | ca6f6368655a590795ed62da286c6bfa8844429c /libavfilter/avfilter.h | |
parent | 502ecc9cc2322687f3dec51f72a4b8c5d70a169f (diff) | |
download | ffmpeg-9178235ffb2dc56e3b9a39f4313b2a1248cffd7d.tar.gz |
avfilter: mark start_frame/end_frame/draw_slice as deprecated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index b456437230..f194d33141 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -274,20 +274,7 @@ struct AVFilterPad { int rej_perms; /** - * Callback called before passing the first slice of a new frame. If - * NULL, the filter layer will default to storing a reference to the - * picture inside the link structure. - * - * The reference given as argument is also available in link->cur_buf. - * It can be stored elsewhere or given away, but then clearing - * link->cur_buf is advised, as it is automatically unreferenced. - * The reference must not be unreferenced before end_frame(), as it may - * still be in use by the automatic copy mechanism. - * - * Input video pads only. - * - * @return >= 0 on success, a negative AVERROR on error. picref will be - * unreferenced by the caller in case of error. + * @deprecated unused */ int (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref); @@ -309,23 +296,12 @@ struct AVFilterPad { int nb_samples); /** - * Callback called after the slices of a frame are completely sent. If - * NULL, the filter layer will default to releasing the reference stored - * in the link structure during start_frame(). - * - * Input video pads only. - * - * @return >= 0 on success, a negative AVERROR on error. + * @deprecated unused */ int (*end_frame)(AVFilterLink *link); /** - * Slice drawing callback. This is where a filter receives video data - * and should do its processing. - * - * Input video pads only. - * - * @return >= 0 on success, a negative AVERROR on error. + * @deprecated unused */ int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir); |