public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@nokia.com>
To: "DongSoo(Nathaniel) Kim" <dongsoo.kim@gmail.com>
Cc: "Hiremath, Vaibhav" <hvaibhav@ti.com>,
	"Toivonen Tuukka.O (Nokia-D/Oulu)" <tuukka.o.toivonen@nokia.com>,
	"Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Nagalla, Hari" <hnagalla@ti.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: [REVIEW PATCH 11/14] OMAP34XXCAM: Add driver
Date: Tue, 03 Mar 2009 09:38:14 +0200	[thread overview]
Message-ID: <49ACDE66.6040903@nokia.com> (raw)
In-Reply-To: <5e9665e10903022113r17e36afh7861fd00cd8ef0f7@mail.gmail.com>

DongSoo(Nathaniel) Kim wrote:
> This is quite confusing because in case of mine, I wanna make
> switchable between different cameras attached to omap camera
> interface.

Currently the ISP doesn't have a very neat way of controlling its use. 
In the recent patches, there's a change that allows just one isp_get() 
--- subsequent calls return -EBUSY.

So in practice, if you open the first device, you can't open the second 
one before the first one is closed. That's not very elegant but at least 
it prevents problematic concurrent access to the ISP.

In theory (AFAIK) the ISP *can* be used to receive data from multiple 
sources at the same time, but there are limitations.

In practice, if you have a hardware mux, you can switch it to a specific 
sensor when the camera driver tells the slave to go to some state that's 
not V4L2_POWER_OFF.

> Which idea do I have to follow? Comparing with multiple video input
> devices and multiple cameras attached to single camera interface is
> giving me no answer.
> 
> Perhaps multiple cameras with single camera interface couldn't make
> sense at the first place because single camera interface can go with
> only one camera module at one time.
> But we are using like that. I mean dual cameras with single camera
> interface. There is no choice except that when we are using dual
> camera without stereo camera controller.

Yup, I know, some mobile devices have front and back cameras. :)

> By the way, I cannot find any API documents about
> VIDIOC_INT_S_VIDEO_ROUTING but it seems to be all about "how to route
> between input device with output device".

That, I guess, is meant for video output devices.

> What exactly I need is "how to make switchable with multiple camera as
> an input for camera interface", which means just about an input
> device. In my opinion, those are different issues each other..(Am I
> right?)
> Cheers,


-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com

  parent reply	other threads:[~2009-03-03  7:38 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5e9665e10903021848u328e0cd4m5186344be15b817@mail.gmail.com>
     [not found] ` <19F8576C6E063C45BE387C64729E73940427BC9B86@dbde02.ent.ti.com>
2009-03-03  5:13   ` [REVIEW PATCH 11/14] OMAP34XXCAM: Add driver DongSoo(Nathaniel) Kim
2009-03-03  7:36     ` Hans Verkuil
2009-03-04  0:42       ` DongSoo(Nathaniel) Kim
2009-03-04  7:39         ` Hans Verkuil
2009-03-04  7:49           ` Tuukka.O Toivonen
2009-03-04 19:22           ` Sakari Ailus
2009-03-04 21:05             ` Hans Verkuil
2009-03-04 21:46               ` Aguirre Rodriguez, Sergio Alberto
2009-03-04 22:44                 ` Hans Verkuil
2009-03-04 23:30                   ` Aguirre Rodriguez, Sergio Alberto
2009-03-05  7:39                     ` Hans Verkuil
2009-03-05 20:11                   ` Sakari Ailus
2009-03-05 21:24                     ` Hans Verkuil
2009-03-10 12:14                       ` Sakari Ailus
2009-03-04 23:42                 ` Trent Piepho
2009-03-05  2:25                   ` hermann pitton
2009-03-03  7:38     ` Sakari Ailus [this message]
2009-03-10 13:34 Hans Verkuil
  -- strict thread matches above, loose matches on Subject: below --
2009-03-04  8:12 Hans Verkuil
     [not found] <Acl1IyQQvIDQejCAQ5O/QnkHIBmt3w==>
2009-01-13  2:03 ` Aguirre Rodriguez, Sergio Alberto
2009-01-13  7:24   ` Hans Verkuil
2009-02-06  2:26   ` DongSoo Kim
2009-02-11  4:00   ` DongSoo Kim
2009-02-12  7:09     ` Sakari Ailus
2009-02-12  7:52       ` DongSoo Kim
2009-02-13  9:31         ` Arun KS
2009-02-13 10:04           ` DongSoo(Nathaniel) Kim
2009-02-13 10:02         ` Sakari Ailus
2009-02-13 10:11           ` DongSoo(Nathaniel) Kim
     [not found] <Aclb0Ghhhph2tRyARSuubB27tGfovg==>
2008-12-11 20:38 ` Aguirre Rodriguez, Sergio Alberto
2009-02-23  8:26   ` DongSoo(Nathaniel) Kim

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=49ACDE66.6040903@nokia.com \
    --to=sakari.ailus@nokia.com \
    --cc=dongsoo.kim@gmail.com \
    --cc=hnagalla@ti.com \
    --cc=hvaibhav@ti.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=saaguirre@ti.com \
    --cc=sakari.ailus@maxwell.research.nokia.com \
    --cc=tuukka.o.toivonen@nokia.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox