public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] ISP lane shifter support
@ 2011-01-21  8:40 Michael Jones
  2011-01-24  0:10 ` Laurent Pinchart
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Jones @ 2011-01-21  8:40 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Laurent Pinchart

Hi all,

In the OMAP ISP driver, I'm interested in being able to choose between
8-bit and 12-bit formats when I have a 12-bit sensor attached.  At the
moment it looks like it's only possible to define this statically with
data_lane_shift in the board definition.  But with the ISP's lane
shifter, it should be possible for the application to ask for 8-bits
although it has a 12-bit sensor attached.

Has anybody already begun implementing this functionality?

One approach that comes to mind is to create a subdev for the
bridge/lane shifter in front of the CCDC, but this also seems a bit
overkill.  Otherwise, perhaps consider the lane shifter a part of the
CCDC and put the code in there?  Then ccdc_try_format() would have to
check whether the sink pad has a pixel format which is shiftable to the
requested pixel format on the source pad.  A problem with this might be
if there are architectures which have a CCDC but no shifter.

Are there other approaches I'm not considering?  Or problems I'm
overlooking?

Also- it looks like the CCDC now supports writing 12-bit bayer
data to memory.  Is that true?

thanks for your thoughts,
Michael

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-02-24 11:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21  8:40 [RFC] ISP lane shifter support Michael Jones
2011-01-24  0:10 ` Laurent Pinchart
2011-01-24 13:47   ` Michael Jones
2011-01-24 13:57     ` Laurent Pinchart
2011-01-24 14:16       ` Michael Jones
2011-01-24 19:45         ` Laurent Pinchart
2011-01-25  9:10           ` Michael Jones
2011-01-25  9:20             ` Laurent Pinchart
2011-01-26 23:46               ` Guennadi Liakhovetski
2011-02-02 10:36                 ` Michael Jones
2011-02-11 12:07                 ` Michael Jones
2011-02-11 13:06                   ` Laurent Pinchart
2011-02-22 12:36                     ` Michael Jones
2011-02-24 11:57                       ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox