All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Schwarz <matthias.schw@googlemail.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Question on ISPs CFA interpolation coefficients
Date: Thu, 27 Aug 2009 22:40:10 +0200	[thread overview]
Message-ID: <4A96EF2A.9090204@gmail.com> (raw)

Hi all,

i just wondered how the camera interface's, especially the previewer 
module's CFA coefficients are setup on OMAP3530.

The TRM also does not give too much information about it:
> In the generic mode, CFA interpolation is implemented using 
> programmable filter coefficients that operate
> on a 5x5 grid:
> · Each coefficient is coded in S8Q6 format.
> · Each output color , G, and B) has its own set of coefficients.
> · There are 4 phases. Each pixel is associated with a phase.
> · Different sets of filter coefficients are provided, depending on the 
> tendency (gradient in the data:
> horizontal, vertical, or neutral).
> · So there are 3 color x 4 phase x 3 tendencies x 16 taps = 576 
> coefficients (each coefficient is 8 bits
> wide).
> Note: Coefficients are based on sensor type. However, users can use a 
> different methods of
> defining an optimal coefficient set.

Also drivers/media/video/isp/cfa_coef_table.h does not provide 
information on what the inserted values mean and how they are arrenged.

My question now is: is there anyone on the list who would provide me 
with information on how to compose these coefficients correctly?

Thank you very much,
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2009-08-27 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 20:40 Matthias Schwarz [this message]
2009-09-01 11:30 ` Question on ISPs CFA interpolation coefficients matthias schwarz

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=4A96EF2A.9090204@gmail.com \
    --to=matthias.schw@googlemail.com \
    --cc=linux-omap@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.