[SCM] libav/experimental: Document slice ordering assumption required by avfilter_draw_slice().

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:55:07 UTC 2013


The following commit has been merged in the experimental branch:
commit bd2837387c76327656971513ba335c7e9920e290
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Nov 29 10:42:37 2009 +0000

    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

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 1fb783d..8ef93ba 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list