All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Jones <michael.jones@matrix-vision.de>
To: James <angweiyang@gmail.com>
Cc: linux-media@vger.kernel.org,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: Why is the Y12 support 12-bit grey formats at the CCDC input (Y12) is truncated to Y10 at the CCDC output?
Date: Thu, 15 Dec 2011 08:58:46 +0100	[thread overview]
Message-ID: <4EE9A8B6.4040102@matrix-vision.de> (raw)
In-Reply-To: <CAOy7-nNJXMbFkJWRubri2O_kc-V1Z+ZjTioqQu=8STtkuLag9w@mail.gmail.com>

Hi James,

On 12/15/2011 08:14 AM, James wrote:
> Hi all,
>
> I'm using an OMAP3530 board and a monochrome 12-bit grey sensor.
>
> Can anyone enlighten me why is the 12-bit grey formats at the CCDC
> input (Y12) is truncated to Y10 at the CCDC output?

There are 2 CCDC outputs: CCDC_PAD_SOURCE_OF and CCDC_PAD_SOURCE_VP. 
Only the VP (video port) truncates data to 10 bits, and it does that 
because the subdevs it feeds can only handle 10 bits max.

>
> I need to read the entire RAW 12-bit grey value from the CCDC to
> memory and the data does not pass through other OMAP3ISP sub-devices.
>
> I intend to use Laurent's yavta to capture the data to file to verify
> its operation for the moment.
>
> Can this 12-bit (Y12) raw capture be done?

Yes. If you are writing the 12-bit gray value directly into memory, you 
will use SOURCE_OF and can write the full 12-bits into memory.  You need 
to set up your media pipeline to do sensor->CCDC->OMAP3 ISP CCDC output.

>
> Thank you in adv.
>
> --
> Regards,
> James

-Michael

MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Erhard Meier

  reply	other threads:[~2011-12-15  8:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15  7:14 Why is the Y12 support 12-bit grey formats at the CCDC input (Y12) is truncated to Y10 at the CCDC output? James
2011-12-15  7:58 ` Michael Jones [this message]
2011-12-15  9:49   ` James
2011-12-15 10:10     ` Michael Jones
2011-12-16  0:53       ` James
2011-12-16  9:40         ` Laurent Pinchart
2011-12-19  4:06           ` James
2011-12-21  2:50       ` James
2011-12-21  3:06         ` James
2011-12-21 10:55           ` Laurent Pinchart
2011-12-22  6:23             ` James
2011-12-22 10:17               ` 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=4EE9A8B6.4040102@matrix-vision.de \
    --to=michael.jones@matrix-vision.de \
    --cc=angweiyang@gmail.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.