public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* soc-camera : add new flags
@ 2008-12-18  9:17 Matthieu CASTET
  2008-12-18 11:26 ` Guennadi Liakhovetski
  0 siblings, 1 reply; 4+ messages in thread
From: Matthieu CASTET @ 2008-12-18  9:17 UTC (permalink / raw)
  To: video4linux-list; +Cc: Guennadi Liakhovetski

Hi,

I am trying to use soc-camera for our camera IP.

Our IP allow to chose if the synchronization is done according to  ITU-R
BT601 or ITU-R BT656.
Can new flag be added to negotiate the synchronization standard between
host and sensor.

Our IP also allow to select if the data on the bus is transmitted on the
CbYCrY order or YCbYCr order.
Can new flag be added to negotiate the synchronization standard between
host and sensor.


Thanks


Matthieu

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: soc-camera : add new flags
  2008-12-18  9:17 soc-camera : add new flags Matthieu CASTET
@ 2008-12-18 11:26 ` Guennadi Liakhovetski
  2008-12-18 13:13   ` Matthieu CASTET
  0 siblings, 1 reply; 4+ messages in thread
From: Guennadi Liakhovetski @ 2008-12-18 11:26 UTC (permalink / raw)
  To: Matthieu CASTET; +Cc: video4linux-list

On Thu, 18 Dec 2008, Matthieu CASTET wrote:

> Hi,
> 
> I am trying to use soc-camera for our camera IP.
> 
> Our IP allow to chose if the synchronization is done according to  ITU-R
> BT601 or ITU-R BT656.
> Can new flag be added to negotiate the synchronization standard between
> host and sensor.

Yes, sure, send a patch. Just add required 
SOCAM_SYNC_{GATED,NONGATED,BT601,BT656} (or whatever you'd like to call 
them) flags, and extend soc_camera_bus_param_compatible() to verify them.

> Our IP also allow to select if the data on the bus is transmitted on the
> CbYCrY order or YCbYCr order.
> Can new flag be added to negotiate the synchronization standard between
> host and sensor.

Different statement but the same question? If you wanted to ask about 
colour format then just use different YUYV / UYVY / ... fourcc codes.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: soc-camera : add new flags
  2008-12-18 11:26 ` Guennadi Liakhovetski
@ 2008-12-18 13:13   ` Matthieu CASTET
  2008-12-18 13:40     ` Guennadi Liakhovetski
  0 siblings, 1 reply; 4+ messages in thread
From: Matthieu CASTET @ 2008-12-18 13:13 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: video4linux-list

Guennadi Liakhovetski a écrit :
> On Thu, 18 Dec 2008, Matthieu CASTET wrote:
> 
>> Hi,
>>
>> I am trying to use soc-camera for our camera IP.
>>
>> Our IP allow to chose if the synchronization is done according to  ITU-R
>> BT601 or ITU-R BT656.
>> Can new flag be added to negotiate the synchronization standard between
>> host and sensor.
> 
> Yes, sure, send a patch. Just add required 
> SOCAM_SYNC_{GATED,NONGATED,BT601,BT656} (or whatever you'd like to call 
> them) flags, and extend soc_camera_bus_param_compatible() to verify them.
> 
Ok

>> Our IP also allow to select if the data on the bus is transmitted on the
>> CbYCrY order or YCbYCr order.
>> Can new flag be added to negotiate the synchronization standard between
>> host and sensor.
> 
> Different statement but the same question? If you wanted to ask about 
> colour format then just use different YUYV / UYVY / ... fourcc codes.
How do you differentiate color format of the bus and the color format
output by v4l ?

In our case the bus format can be YUYV or UYVY, but the host camera IP
can only output YUV422P/YUV420/YVU420.



Matthieu

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: soc-camera : add new flags
  2008-12-18 13:13   ` Matthieu CASTET
@ 2008-12-18 13:40     ` Guennadi Liakhovetski
  0 siblings, 0 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2008-12-18 13:40 UTC (permalink / raw)
  To: Matthieu CASTET; +Cc: video4linux-list

On Thu, 18 Dec 2008, Matthieu CASTET wrote:

> Guennadi Liakhovetski a écrit :
> > On Thu, 18 Dec 2008, Matthieu CASTET wrote:
> > 
> >> Our IP also allow to select if the data on the bus is transmitted on the
> >> CbYCrY order or YCbYCr order.
> >> Can new flag be added to negotiate the synchronization standard between
> >> host and sensor.
> > 
> > Different statement but the same question? If you wanted to ask about 
> > colour format then just use different YUYV / UYVY / ... fourcc codes.
> How do you differentiate color format of the bus and the color format
> output by v4l ?
> 
> In our case the bus format can be YUYV or UYVY, but the host camera IP
> can only output YUV422P/YUV420/YVU420.

This is what our recently added format conversion infrastructure is for, 
basically your camera host driver is called on camera supported format 
enumeration for each camera format and it has to decide whether it 
supports that format and to which formats it can convert it. Both in-tree 
host drivers support this.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

end of thread, other threads:[~2008-12-18 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18  9:17 soc-camera : add new flags Matthieu CASTET
2008-12-18 11:26 ` Guennadi Liakhovetski
2008-12-18 13:13   ` Matthieu CASTET
2008-12-18 13:40     ` Guennadi Liakhovetski

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