Re: [FFmpeg-devel] [PATCH] swresample/rematrix: handle 22.2 as a 9 channel layout

2020-08-18 Thread Jan Ekström
On Fri, Aug 14, 2020 at 8:36 PM Michael Niedermayer wrote: > > On Thu, Aug 13, 2020 at 01:26:58AM +0300, Jan Ekström wrote: > > This is as far as 22.2 follows the same channel order as > > WaveFormatExtensible's channel mask (and the AV_CH_* defines). > > > > After LFE2 the side channels would

Re: [FFmpeg-devel] [PATCH] swresample/rematrix: handle 22.2 as a 9 channel layout

2020-08-15 Thread Jan Ekström
On Fri, Aug 14, 2020 at 8:36 PM Michael Niedermayer wrote: > > On Thu, Aug 13, 2020 at 01:26:58AM +0300, Jan Ekström wrote: > > This is as far as 22.2 follows the same channel order as > > WaveFormatExtensible's channel mask (and the AV_CH_* defines). > > > > After LFE2 the side channels would

Re: [FFmpeg-devel] [PATCH] swresample/rematrix: handle 22.2 as a 9 channel layout

2020-08-15 Thread Jan Ekström
On Sat, Aug 15, 2020 at 12:29 PM Jan Ekström wrote: > > On Fri, Aug 14, 2020 at 8:36 PM Michael Niedermayer > wrote: > > > > On Thu, Aug 13, 2020 at 01:26:58AM +0300, Jan Ekström wrote: > > > This is as far as 22.2 follows the same channel order as > > > WaveFormatExtensible's channel mask (and

Re: [FFmpeg-devel] [PATCH] swresample/rematrix: handle 22.2 as a 9 channel layout

2020-08-14 Thread Michael Niedermayer
On Thu, Aug 13, 2020 at 01:26:58AM +0300, Jan Ekström wrote: > This is as far as 22.2 follows the same channel order as > WaveFormatExtensible's channel mask (and the AV_CH_* defines). > > After LFE2 the side channels would follow, but that offset of > one stops us from utilizing them without

[FFmpeg-devel] [PATCH] swresample/rematrix: handle 22.2 as a 9 channel layout

2020-08-12 Thread Jan Ekström
This is as far as 22.2 follows the same channel order as WaveFormatExtensible's channel mask (and the AV_CH_* defines). After LFE2 the side channels would follow, but that offset of one stops us from utilizing them without further tweaks. This change was verified by using swresample to downmix