Re: videobuf2-dma-sg and multiple planes semantics

2016-03-08 Thread Robert Jarzmik
Hans Verkuil writes: > Hi Robert, > > In the case of PIX_FMT_YUV422P there is only *one* buffer and the planes are > laid out in > that single buffer. So from the point of view of v4l2/vb2 this is a single > planar > format and you have a single sglist.h That's the piece of information I was mi

Re: videobuf2-dma-sg and multiple planes semantics

2016-03-08 Thread Hans Verkuil
Hi Robert, On 03/07/16 19:08, Robert Jarzmik wrote: > Robert Jarzmik writes: > >> Hi, >> >> I've been converting pxa_camera driver from videobuf to videobuf2, and I >> have a >> question about multiple plane semantics. >> >> I have a case where I have 3 planes for a yuv422 capture : >> - 1 Y p

Re: videobuf2-dma-sg and multiple planes semantics

2016-03-07 Thread Robert Jarzmik
Robert Jarzmik writes: > Hi, > > I've been converting pxa_camera driver from videobuf to videobuf2, and I have > a > question about multiple plane semantics. > > I have a case where I have 3 planes for a yuv422 capture : > - 1 Y plane (total_size / 2 bytes) > - 1 U plane (total_size / 4 bytes)

videobuf2-dma-sg and multiple planes semantics

2016-03-07 Thread Robert Jarzmik
Hi, I've been converting pxa_camera driver from videobuf to videobuf2, and I have a question about multiple plane semantics. I have a case where I have 3 planes for a yuv422 capture : - 1 Y plane (total_size / 2 bytes) - 1 U plane (total_size / 4 bytes) - 1 V plane (total_size / 4 bytes) I wo