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: Tue, 02 Nov 2010 12:34:56 -0700 [thread overview]
Message-ID: <4CD067E0.6070405@stanford.edu> (raw)
In-Reply-To: <AANLkTinWo7siGdbmRPNEfOfJHTZLEqxMFHOO9aqijP0d@mail.gmail.com>
On 11/2/2010 3:31 AM, Bastian Hecht wrote:
> Hello Laurent,
>
>>> I am the first guy needing a 12 bit-bus?
>> Yes you are :-) You will need to implement 12 bit support in the ISP driver,
>> or start by hacking the sensor driver to report a 10 bit format (2 bits will
>> be lost but you should still be able to capture an image).
> Isn't that an "officially" supported procedure to drop the least
> significant bits?
> You gave me the isp configuration
> .bus = { .parallel = {
> .data_lane_shift = 1,
> ...
> that instructs the isp to use 10 of the 12 bits.
>
I suspect what Laurent means is that there's no way to send out 12-bit
raw data to memory without ISP code changes. You can connect up a 12-bit
sensor and just decimate to 10 bits, but that's not the same as the ISP
driver supporting the 12-bit data paths that are possible in hardware.
That is, the OMAP3 ISP _is_ capable of writing out raw data to memory
that's 12 bits per pixel, but the current ISP code hardcodes the data
lane shift value in the ISP configuration, instead of making it depend
on format - you'd want GRBG12 to set the data lane shift to 0, and
GRBG10 or UYVY (enum names approximate) to set the data lane shift to
1. We had a hack deep in the ISP code for a bit that did this, but it
was hardcoded for the MT9P031, and we abandoned the idea pretty quickly.
Eino-Ville Talvala
Stanford University
next prev parent reply other threads:[~2010-11-02 19:35 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
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 [this message]
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=4CD067E0.6070405@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.