public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Mark Ferrell <majortrips@gmail.com>
Cc: video4linux-list@redhat.com,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: [PATCH] Add support for OmniVision OV534 based USB cameras.
Date: Sat, 16 Aug 2008 10:03:13 +0200	[thread overview]
Message-ID: <48A689C1.7070007@hhs.nl> (raw)
In-Reply-To: <7813ee860808160046s60de698bu307ab5255631a5e@mail.gmail.com>

Mark Ferrell wrote:
> On Sat, Aug 16, 2008 at 08:58:21AM +0200, Hans de Goede wrote:
>> majortrips@gmail.com wrote:
>>> Adds suport for OmniVision OV534 based cameras:
>>>  - Hercules Blog Webcam
>>>  - Hercules Dualpix HD Webcam
>>>  - Sony HD PS3 Eye (SLEH 00201)
>>> Currently only supports 640x480 YUYV non-interlaced output.
>>> Signed-off-by: Mark Ferrell <majortrips@gmail.com>
>> Hi Mark,
>>
>> Have you taken a look at the ov519 driver which is currently in gspca,
>> which is  in 2.6.27rc1 and more general (latest version) available here:
>> http://linuxtv.org/hg/~jfrancois/gspca/
>>
>> That driver does do jpeg, maybe it can give some clues. gspca is a webcam
>> driver framework. Would you consider porting your driver to gspca, I (we ?)
>> really want to see all usb webcam drivers start using the gspca framework
>> to share as much code as possible.
> 
> I would definitely be willing to merge the code into an existing driver,
> though I was under the impression that the gspca core was for ISOC based
> USB devices.  The ov534's imagine end-point is bulk transfer, with the
> audio endpoints being isoc.
> 

Ah yes it is I didn't know non isoc cams existed, so thats why your driver is 
so small I already was sorta missing the isoc setup stufff :)

In that case its fine as is. Mauro as this is a new driver and looks clean (and 
uses videobuf) any chance this can get merged for 2.6.27 ?

I'll work together with Mark on getting YUYV support added to libv4l so that 
userspace support is taken care of.

>>> +The ov534 outputs frames in YUYV format, non-interlaced, at 640x480. This
>>> +format does not yet have wide support among user-land applications.
>>> Though at
>>> +the time of this writing xawtv was known to work correctly.
>>> +
>> This (custom cam formats) was a big problem with gspca too, for this I've
>> written libv4l, which is a library which does format conversion from many
>> cam specific formats to more general formats in userspace. A joined effort
>> between Debian, Suse and Fedora is currently working on making all v4l apps
>> use libv4l, patches have already been written for gstreamer (cheese), pwlib
>> (ekiga) and xawtv.
>>
>> For more on libv4l see:
>> http://hansdegoede.livejournal.com/3636.html
>> http://linuxtv.org/v4lwiki/index.php/Libv4l_Progress
>>
>> Maybe you can write a patch to add YUYV input support to libv4l, if you do
>> that please base your work on the latest version which is available here:
>> http://linuxtv.org/hg/~hgoede/v4l-dvb
> 
> Thanks, will take a look.
> 

Let me know how it goes. I'll gladly help where I can, but I prefer people with 
hardware to test to write the actual code. All you need todo is add support for 
YUYV to libv4lconvert/libv4lconvert.c and add a file under libv4lconvert with 
the actual conversion routines. Also take a good look at libv4lconvert/rgbyuv.c 
for some good inspiration for the YUV->RGB conversion routines.

Regards,

Hans

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

  reply	other threads:[~2008-08-16  7:53 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-16  5:00 [PATCH] Add support for OmniVision OV534 based USB cameras majortrips
2008-08-16  6:58 ` Hans de Goede
2008-08-16  7:46   ` Mark Ferrell
2008-08-16  8:03     ` Hans de Goede [this message]
2008-08-16 11:47       ` Mauro Carvalho Chehab
2008-08-17  7:03         ` Jean-Francois Moine
2008-08-16 11:36 ` Mauro Carvalho Chehab
2008-08-16 12:13   ` Mark Ferrell
2008-11-05 22:31     ` Mauro Carvalho Chehab
2008-11-11 17:42       ` Antonio Ospite
2008-11-11 18:15         ` Antonio Ospite
2008-11-11 20:01           ` Hans de Goede
2008-11-12 18:17             ` Antonio Ospite
2008-11-13 11:33               ` Jean-Francois Moine
2008-11-13 17:04                 ` Antonio Ospite
2008-11-13 18:30                   ` Jean-Francois Moine
2008-11-13 22:35                     ` Antonio Ospite
2008-11-14 10:55                       ` Jean-Francois Moine
2008-11-14 14:04                         ` Antonio Ospite
  -- strict thread matches above, loose matches on Subject: below --
2008-08-17 19:48 Theou Jean-Baptiste
2008-08-17 19:58 ` Theou Jean-Baptiste
2008-08-17 20:13   ` Theou Jean-Baptiste
2008-08-18  0:34   ` Mark Ferrell
2008-08-18 12:08     ` Theou Jean-Baptiste
2008-08-18 16:24       ` Mark Ferrell
2008-08-18 16:53         ` Theou Jean-Baptiste
2008-08-20 10:35           ` Theou Jean-Baptiste
2008-08-22 11:18             ` Mark Ferrell
2008-08-18  0:29 ` Mark Ferrell

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=48A689C1.7070007@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=majortrips@gmail.com \
    --cc=mchehab@infradead.org \
    --cc=video4linux-list@redhat.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