[FFmpeg-cvslog] r20655 - trunk/libavfilter/avfilter.h

stefano subversion
Sun Nov 29 11:42:37 CET 2009


Author: stefano
Date: Sun Nov 29 11:42:37 2009
New Revision: 20655

Log:
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.

Modified:
   trunk/libavfilter/avfilter.h

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	Sun Nov 29 04:32:30 2009	(r20654)
+++ trunk/libavfilter/avfilter.h	Sun Nov 29 11:42:37 2009	(r20655)
@@ -558,6 +558,11 @@ void avfilter_end_frame(AVFilterLink *li
 
 /**
  * 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



More information about the ffmpeg-cvslog mailing list