aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-29 10:42:37 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-29 10:42:37 +0000
commitbd2837387c76327656971513ba335c7e9920e290 (patch)
treef530f4624178f1e1242bbfd5fb2260a716e709ef
parent87f68060691cb48a82faa993eeebe63621ef621c (diff)
downloadffmpeg-bd2837387c76327656971513ba335c7e9920e290.tar.gz
Document slice ordering assumption required by avfilter_draw_slice().
The assumption depends on the corresponding assumption done by sws_scale() and by the scale filter. Originally committed as revision 20655 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/avfilter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 1fb783de08..8ef93bae2e 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -558,6 +558,11 @@ void avfilter_end_frame(AVFilterLink *link);
/**
* Sends a slice to the next filter.
+ *
+ * Slices have to be provided in sequential order, either in
+ * top-bottom or bottom-top order. If slices are provided in
+ * non-sequential order the behavior of the function is undefined.
+ *
* @param link the output link over which the frame is being sent
* @param y offset in pixels from the top of the image for this slice
* @param h height of this slice in pixels