On Mon, Aug 20, 2018 at 01:38:59PM +0100, Ayan Halder wrote:
> On Mon, Aug 20, 2018 at 12:03:19PM +0100, Liviu Dudau wrote:
> > On Fri, Aug 17, 2018 at 06:33:04PM +0100, Ayan Kumar Halder wrote:
> > > For multi-planar formats, while calculating offsets in planes with index
> > > greater than 0
> >
On Mon, Aug 20, 2018 at 12:03:19PM +0100, Liviu Dudau wrote:
> On Fri, Aug 17, 2018 at 06:33:04PM +0100, Ayan Kumar Halder wrote:
> > For multi-planar formats, while calculating offsets in planes with index
> > greater than 0
> > (ie second plane, third plane, etc), one needs to divide (src_x * cp
On Fri, Aug 17, 2018 at 06:33:04PM +0100, Ayan Kumar Halder wrote:
> For multi-planar formats, while calculating offsets in planes with index
> greater than 0
> (ie second plane, third plane, etc), one needs to divide (src_x * cpp) with
> horizontal
> chroma subsampling factor and (src_y * pitch)
For multi-planar formats, while calculating offsets in planes with index
greater than 0
(ie second plane, third plane, etc), one needs to divide (src_x * cpp) with
horizontal
chroma subsampling factor and (src_y * pitch) with vertical chroma subsampling
factor.
The reason being that the planes