Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-17 Thread Michael Niedermayer
On Fri, Jun 11, 2021 at 07:16:17PM +0200, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-06-11 17:01:20) > > On Thu, Jun 10, 2021 at 05:49:48PM +0200, Anton Khirnov wrote: > > > Quoting Michael Niedermayer (2021-06-01 15:02:27) > > > > On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirn

Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-11 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-06-11 17:01:20) > On Thu, Jun 10, 2021 at 05:49:48PM +0200, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2021-06-01 15:02:27) > > > On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirnov wrote: > > > > Currently existing sws_scale() accepts as input a use

Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-11 Thread Michael Niedermayer
On Thu, Jun 10, 2021 at 05:49:48PM +0200, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-06-01 15:02:27) > > On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirnov wrote: > > > Currently existing sws_scale() accepts as input a user-determined slice > > > of input data and produces an ind

Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-10 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-06-01 15:02:27) > On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirnov wrote: > > Currently existing sws_scale() accepts as input a user-determined slice > > of input data and produces an indeterminate number of output lines. > > swscale() should return the num

Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-01 Thread Michael Niedermayer
On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirnov wrote: > Currently existing sws_scale() accepts as input a user-determined slice > of input data and produces an indeterminate number of output lines. swscale() should return the number of lines output it does "return dstY - lastDstY;" > Si

[FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-05-31 Thread Anton Khirnov
Currently existing sws_scale() accepts as input a user-determined slice of input data and produces an indeterminate number of output lines. Since the calling code does not know the amount of output, it cannot easily parallelize scaling by calling sws_scale() simultaneously on different parts of the