[FFmpeg-devel] [PATCH] Document slice ordering assumption done by sws_scale()

Diego Biurrun diego
Wed Oct 28 18:08:25 CET 2009


On Tue, Oct 27, 2009 at 02:02:01AM +0100, Stefano Sabatini wrote:
> 
> --- libswscale/swscale.h	(revision 29797)
> +++ libswscale/swscale.h	(working copy)
> @@ -135,8 +135,16 @@
>   *
> + * Slices have to be provided in sequential order, either in
> + * top-bottom or bottom-top order. The assumed direction for each
> + * image depends on the first slice provided. If the first slice
> + * corresponds to a top slice then it is assumed the top-bottom order,
> + * if it corresponds to a bottom slice is assumed the bottom-top
> + * order, otherwise the function will not draw anything and will return

"order is assumed", not the other way around, i.e. "if x then y is
assumend".

Diego



More information about the ffmpeg-devel mailing list