From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: Sakari Ailus <sakari.ailus@iki.fi>, linux-media@vger.kernel.org
Subject: Re: Multiple Rectangle cropping
Date: Fri, 12 Oct 2012 12:19:33 +0200 [thread overview]
Message-ID: <2102289.5KH0601vIh@avalon> (raw)
In-Reply-To: <CAPybu_1HiH69Cf1ORDaEHWWaeTFUMvntLGqa__JS4fE4=B67NQ@mail.gmail.com>
On Friday 12 October 2012 09:18:42 Ricardo Ribalda Delgado wrote:
> Hello
>
> In fact, is the sensor, the one that supports multiple Areas of
> Interest. Unfortunatelly the userland v4l2 api only supports one area
> of interest for doing croping (or that is what I believe).
>
> Is there any plan to support multiple AOI? or I have to make my own ioctl?
You should use the selection API (VIDIOC_SUBDEV_G_SELECTION and
VIDIOC_SUBDEV_S_SELECTION). As a quick hack you can create custom selection
rectangle types, but it might be worth creating new standard types.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2012-10-12 10:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-11 10:40 Multiple Rectangle cropping Ricardo Ribalda Delgado
2012-10-11 22:32 ` Sakari Ailus
2012-10-12 7:18 ` Ricardo Ribalda Delgado
2012-10-12 10:19 ` Laurent Pinchart [this message]
2012-10-15 20:50 ` Sakari Ailus
2012-10-15 20:58 ` Ricardo Ribalda Delgado
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=2102289.5KH0601vIh@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=ricardo.ribalda@gmail.com \
--cc=sakari.ailus@iki.fi \
/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