Commit a520e9f2 authored by Stefano Sabatini's avatar Stefano Sabatini

Document slice ordering assumption done by sws_scale().

Originally committed as revision 29804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent c5ec0d9d
...@@ -135,7 +135,11 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat ...@@ -135,7 +135,11 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
/** /**
* Scales the image slice in srcSlice and puts the resulting scaled * Scales the image slice in srcSlice and puts the resulting scaled
* slice in the image in dst. A slice is a sequence of consecutive * slice in the image in dst. A slice is a sequence of consecutive
* rows in an image. Slices can be bottom to top or top to bottom. * rows in an image.
*
* 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 context the scaling context previously created with * @param context the scaling context previously created with
* sws_getContext() * sws_getContext()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment