From: Eino-Ville Talvala <talvala@stanford.edu>
To: Bastian Hecht <hechtb@googlemail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: New media framework user space usage
Date: Fri, 29 Oct 2010 11:36:51 -0700 [thread overview]
Message-ID: <4CCB1443.9080509@stanford.edu> (raw)
In-Reply-To: <AANLkTin9M0FZrBYy5xq_-uCFbYa=LfZqLWurb_rB+uW_@mail.gmail.com>
On 10/29/2010 7:06 AM, Bastian Hecht wrote:
> Hello Laurant,
>
> sorry I am flooding a bit here, but now I reached a point where I am
> really stuck.
>
> In the get_fmt_pad I set the following format
> *format = mt9p031->format;
> that is defined as
> mt9p031->format.code = V4L2_MBUS_FMT_SGRBG10_1X10;
> mt9p031->format.width = MT9P031_MAX_WIDTH;
> mt9p031->format.height = MT9P031_MAX_HEIGHT;
> mt9p031->format.field = V4L2_FIELD_NONE;
> mt9p031->format.colorspace = V4L2_COLORSPACE_SRGB;
>
> I found the different formats in /include/linux/v4l2-mediabus.h. I
> have 12 data bit channels, but there is no enum for that (like
> V4L2_MBUS_FMT_SGRBG10_1X12).
> I am the first guy needing a 12 bit-bus?
Most of the ISP can't handle more than 10-bit input - unless you're
streaming raw sensor data straight to memory, you'll have to use the
bridge lane shifter to decimate the input.
In the new framework, I don't know how that's done, unfortunately.
Also, technically, the mt9p031 output colorspace is not sRGB, although
I'm not sure how close it is. It's its own sensor-specific space,
determined by the color filters on it, and you'll want to calibrate for
it at some point.
Good luck,
Eino-Ville Talvala
Stanford University
next prev parent reply other threads:[~2010-10-29 18:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-28 14:38 New media framework user space usage Bastian Hecht
2010-10-28 15:16 ` Bastian Hecht
2010-10-28 23:39 ` Laurent Pinchart
2010-10-29 12:07 ` Bastian Hecht
2010-10-29 12:39 ` Bastian Hecht
2010-10-29 13:11 ` Bastian Hecht
2010-10-29 14:06 ` Bastian Hecht
2010-10-29 18:36 ` Eino-Ville Talvala [this message]
2010-10-31 11:51 ` Bastian Hecht
2010-10-31 23:07 ` Eino-Ville Talvala
2010-11-01 11:10 ` Bastian Hecht
2010-11-01 22:00 ` Laurent Pinchart
2010-11-01 22:02 ` Laurent Pinchart
2010-11-02 10:31 ` Bastian Hecht
2010-11-02 19:34 ` Eino-Ville Talvala
2010-11-04 2:35 ` Laurent Pinchart
2010-10-28 23:31 ` Laurent Pinchart
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=4CCB1443.9080509@stanford.edu \
--to=talvala@stanford.edu \
--cc=hechtb@googlemail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.