Re: [FFmpeg-devel] [RFC] swscale RGB24->YUV420P

2023-08-17 Thread Michael Niedermayer
On Thu, Aug 17, 2023 at 10:42:13AM +0100, John Cox wrote: > On Wed, 16 Aug 2023 19:37:02 +0200, you wrote: > > >On Wed, Aug 16, 2023 at 05:15:23PM +0100, John Cox wrote: > >> Hi > >> > >> The Pi has a use for a fast RGB24->YUV420P path for encoding camera > >> video. There is an existing BGR24 co

Re: [FFmpeg-devel] [RFC] swscale RGB24->YUV420P

2023-08-17 Thread John Cox
On Wed, 16 Aug 2023 19:37:02 +0200, you wrote: >On Wed, Aug 16, 2023 at 05:15:23PM +0100, John Cox wrote: >> Hi >> >> The Pi has a use for a fast RGB24->YUV420P path for encoding camera >> video. There is an existing BGR24 converter but if I build a RGB24 >> converter using the same logic (rearra

Re: [FFmpeg-devel] [RFC] swscale RGB24->YUV420P

2023-08-16 Thread Michael Niedermayer
On Wed, Aug 16, 2023 at 05:15:23PM +0100, John Cox wrote: > Hi > > The Pi has a use for a fast RGB24->YUV420P path for encoding camera > video. There is an existing BGR24 converter but if I build a RGB24 > converter using the same logic (rearrange the conversion matrix and use > the same code) I g