Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-22 Thread Michael Niedermayer
On Tue, Aug 22, 2023 at 03:24:17PM +0100, John Cox wrote: > On Mon, 21 Aug 2023 21:15:37 +0200, you wrote: [...] > >> I can get to simple bilinear without adding so much complexity that I > >> lose the speed I need - would that be OK? > > > >Not sure simple bilinear is 100% clearly defined > >I thi

Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-22 Thread John Cox
On Mon, 21 Aug 2023 21:15:37 +0200, you wrote: >On Sun, Aug 20, 2023 at 07:28:40PM +0100, John Cox wrote: >> On Sun, 20 Aug 2023 19:45:11 +0200, you wrote: >> >> >On Sun, Aug 20, 2023 at 07:16:14PM +0200, Michael Niedermayer wrote: >> >> On Sun, Aug 20, 2023 at 03:10:19PM +, John Cox wrote: >

Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-21 Thread Michael Niedermayer
On Sun, Aug 20, 2023 at 07:28:40PM +0100, John Cox wrote: > On Sun, 20 Aug 2023 19:45:11 +0200, you wrote: > > >On Sun, Aug 20, 2023 at 07:16:14PM +0200, Michael Niedermayer wrote: > >> On Sun, Aug 20, 2023 at 03:10:19PM +, John Cox wrote: > >> > Add a rgb24->yuv420p conversion. Uses the same

Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-20 Thread John Cox
On Sun, 20 Aug 2023 19:45:11 +0200, you wrote: >On Sun, Aug 20, 2023 at 07:16:14PM +0200, Michael Niedermayer wrote: >> On Sun, Aug 20, 2023 at 03:10:19PM +, John Cox wrote: >> > Add a rgb24->yuv420p conversion. Uses the same code as the existing >> > bgr24->yuv converter but permutes the conv

Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-20 Thread John Cox
On Sun, 20 Aug 2023 19:16:14 +0200, you wrote: >On Sun, Aug 20, 2023 at 03:10:19PM +, John Cox wrote: >> Add a rgb24->yuv420p conversion. Uses the same code as the existing >> bgr24->yuv converter but permutes the conversion array to swap R & B >> coefficients. >> >> Signed-off-by: John Cox

Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-20 Thread Michael Niedermayer
On Sun, Aug 20, 2023 at 07:16:14PM +0200, Michael Niedermayer wrote: > On Sun, Aug 20, 2023 at 03:10:19PM +, John Cox wrote: > > Add a rgb24->yuv420p conversion. Uses the same code as the existing > > bgr24->yuv converter but permutes the conversion array to swap R & B > > coefficients. > > >

Re: [FFmpeg-devel] [PATCH v1 3/6] swscale: Add explicit rgb24->yv12 conversion

2023-08-20 Thread Michael Niedermayer
On Sun, Aug 20, 2023 at 03:10:19PM +, John Cox wrote: > Add a rgb24->yuv420p conversion. Uses the same code as the existing > bgr24->yuv converter but permutes the conversion array to swap R & B > coefficients. > > Signed-off-by: John Cox > --- > libswscale/rgb2rgb.c | 5 + > l