From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Pawel Osciak <pawel@osciak.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: videobuf2-dma-sg and multiple planes semantics
Date: Tue, 08 Mar 2016 12:05:53 +0100 [thread overview]
Message-ID: <877fhdgrfy.fsf@belgarion.home> (raw)
In-Reply-To: <56DE9DBD.8010203@xs4all.nl> (Hans Verkuil's message of "Tue, 8 Mar 2016 10:39:09 +0100")
Hans Verkuil <hverkuil@xs4all.nl> 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 missing, thanks.
> You'll have to use sg_split() to split up that single large sglist into three, one for
> each channel.
Yeah, being the author of it, I should be able to use it again :)
Cheers.
--
Robert
prev parent reply other threads:[~2016-03-08 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 16:33 videobuf2-dma-sg and multiple planes semantics Robert Jarzmik
2016-03-07 18:08 ` Robert Jarzmik
2016-03-08 9:39 ` Hans Verkuil
2016-03-08 11:05 ` Robert Jarzmik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fhdgrfy.fsf@belgarion.home \
--to=robert.jarzmik@free.fr \
--cc=hverkuil@xs4all.nl \
--cc=kyungmin.park@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mchehab@osg.samsung.com \
--cc=pawel@osciak.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox