From: Hans de Goede <hdegoede@redhat.com>
To: kilgota@banach.math.auburn.edu
Cc: Trent Piepho <xyzzy@speakeasy.org>,
Hans Verkuil <hverkuil@xs4all.nl>,
Adam Baker <linux@baker-net.org.uk>,
linux-media@vger.kernel.org,
Jean-Francois Moine <moinejf@free.fr>,
Olivier Lorin <o.lorin@laposte.net>
Subject: Re: Adding a control for Sensor Orientation
Date: Mon, 16 Feb 2009 09:30:16 +0100 [thread overview]
Message-ID: <49992418.3020903@redhat.com> (raw)
In-Reply-To: <alpine.LNX.2.00.0902151844340.1496@banach.math.auburn.edu>
kilgota@banach.math.auburn.edu wrote:
>
<huge snip>
> Therefore,
>
> 1. Everyone seems to agree that the kernel module itself is not going to
> do things like rotate or flip data even if a given supported device
> always needs that done.
>
> However, this decision has a consequence:
>
> 2. Therefore, the module must send the information about what is needed
> out of the module, to whatever place is going to deal with it.
> Information which is known to the module but unknown anywere else must
> be transmitted somehow.
>
> Now there is a further consequence:
>
> 3. In view of (1) and (2) there has to be a way agreed upon for the
> module to pass the relevant information onward.
>
> It is precisely on item 3 that we are stuck right now. There is an
> immediate need, not a theoretical need but an immediate need. However,
> there is no agreed-upon method or convention for communication.
>
We are no longer stuck here, the general agreement is adding 2 new buffer
flags, one to indicate the driver knows the data in the buffer is
vflipped and one for hflip. Then we can handle v-flipped, h-flipped and 180
degrees cameras
This is agreed up on, Trent is arguing we may need more flags in the future,
but that is something for the future, all we need know is these 2 flags and
Hans Verkuil who AFAIK was the only one objecting to doing this with buffer
flags has agreed this is the best solution.
So Adam, kilgota, please ignore the rest of this thread and move forward with
the driver, just add the necessary buffer flags to videodev2.h as part of your
patch (It is usually to submit new API stuff with the same patch which
introduces the first users of this API.
I welcome libv4l patches to use these flags.
Regards,
Hans
next prev parent reply other threads:[~2009-02-16 8:26 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-14 20:48 Adding a control for Sensor Orientation Adam Baker
2009-02-14 21:04 ` Hans Verkuil
2009-02-14 21:55 ` Hans de Goede
2009-02-14 21:59 ` Hans Verkuil
2009-02-14 22:44 ` kilgota
2009-02-15 9:08 ` Hans de Goede
2009-02-15 9:19 ` Hans Verkuil
2009-02-15 9:29 ` Hans de Goede
2009-02-15 13:03 ` Trent Piepho
2009-02-15 13:46 ` Hans de Goede
2009-02-15 23:09 ` Trent Piepho
2009-02-16 1:46 ` kilgota
2009-02-16 3:47 ` hermann pitton
2009-02-16 3:55 ` Trent Piepho
2009-02-16 8:30 ` Hans de Goede [this message]
2009-02-16 2:26 ` Mauro Carvalho Chehab
2009-02-16 4:04 ` Trent Piepho
2009-02-16 7:44 ` Hans Verkuil
2009-02-16 8:37 ` Hans de Goede
-- strict thread matches above, loose matches on Subject: below --
2009-02-16 8:33 Hans Verkuil
2009-02-16 22:36 ` Adam Baker
2009-02-17 2:00 ` kilgota
2009-02-17 7:27 ` Hans Verkuil
2009-02-17 22:29 ` Adam Baker
2009-02-16 8:57 Hans Verkuil
2009-02-16 9:07 Hans Verkuil
2009-02-16 9:44 ` Hans de Goede
2009-02-16 11:11 ` Mauro Carvalho Chehab
2009-02-16 12:19 ` Hans de Goede
2009-02-16 14:20 ` Mauro Carvalho Chehab
2009-02-16 15:00 ` Mauro Carvalho Chehab
2009-02-16 15:24 ` Hans de Goede
2009-02-16 11:01 Hans Verkuil
2009-02-16 11:12 ` Jean-Francois Moine
2009-02-16 12:07 ` Hans de Goede
2009-02-16 12:02 Hans Verkuil
2009-02-16 14:00 Hans Verkuil
2009-02-16 14:25 ` Hans de Goede
2009-02-16 16:09 ` Trent Piepho
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=49992418.3020903@redhat.com \
--to=hdegoede@redhat.com \
--cc=hverkuil@xs4all.nl \
--cc=kilgota@banach.math.auburn.edu \
--cc=linux-media@vger.kernel.org \
--cc=linux@baker-net.org.uk \
--cc=moinejf@free.fr \
--cc=o.lorin@laposte.net \
--cc=xyzzy@speakeasy.org \
/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