[FFmpeg-devel] [PATCH] lavfi/scale: add nb_slices debug option

Nicolas George george at nsup.org
Fri Dec 18 16:33:18 CET 2015


L'octidi 28 frimaire, an CCXXIV, Clement Boesch a écrit :
> +        const int slice_h = FFMAX(1, link->h / scale->nb_slices);
> +        for (i = 0; i < scale->nb_slices; i++)
> +            scale_slice(link, out, in, scale->sws, i*slice_h, slice_h, 1, 0);

What happens if link->h is not a multiple of nb_slices?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151218/a27a2c40/attachment.sig>


More information about the ffmpeg-devel mailing list