Re: [PATCH 04/14] media: sun6i-csi: Fix the image storage bpp for 10/12-bit Bayer formats

2020-11-04 Thread Paul Kocialkowski
Hi Helen, On Fri 30 Oct 20, 19:45, Helen Koike wrote: > Hi Paul, > > On 10/23/20 2:45 PM, Paul Kocialkowski wrote: > > Both 10 and 12-bit Bayer formats are stored aligned as 16-bit values > > in memory, not unaligned 10 or 12 bits. > > > > Since the current code for retreiving the bpp is used on

Re: [PATCH 04/14] media: sun6i-csi: Fix the image storage bpp for 10/12-bit Bayer formats

2020-10-30 Thread Helen Koike
Hi Paul, On 10/23/20 2:45 PM, Paul Kocialkowski wrote: > Both 10 and 12-bit Bayer formats are stored aligned as 16-bit values > in memory, not unaligned 10 or 12 bits. > > Since the current code for retreiving the bpp is used only to > calculate the memory storage size of the picture (which is wh

[PATCH 04/14] media: sun6i-csi: Fix the image storage bpp for 10/12-bit Bayer formats

2020-10-23 Thread Paul Kocialkowski
Both 10 and 12-bit Bayer formats are stored aligned as 16-bit values in memory, not unaligned 10 or 12 bits. Since the current code for retreiving the bpp is used only to calculate the memory storage size of the picture (which is what pixel formats describe, unlike media bus formats), fix it there