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
This commit is contained in:
Stefano Sabatini 2009-11-29 10:42:37 +00:00
parent 87f6806069
commit bd2837387c
1 changed files with 5 additions and 0 deletions

View File

@ -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