public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Jean-Francois Moine <moinejf@free.fr>
Cc: Jose Alberto Reguero <jareguero@telefonica.net>,
	linux-media@vger.kernel.org
Subject: Re: Problem with gspca and zc3xx
Date: Mon, 11 Jan 2010 09:37:29 +0100	[thread overview]
Message-ID: <4B4AE349.4000707@redhat.com> (raw)
In-Reply-To: <20100110093730.14be3d7c@tele>

Hi,

On 01/10/2010 09:37 AM, Jean-Francois Moine wrote:
> On Sat, 9 Jan 2010 00:15:31 +0100
> Jose Alberto Reguero<jareguero@telefonica.net>  wrote:
>
>> When capturing with mplayer I have this erros and the bottom of the
>> image is black.
>>
>> [mjpeg @ 0xd2f300]error y=29 x=0
>> [mjpeg @ 0xd2f300]mjpeg_decode_dc: bad vlc: 0:0 (0x2c565b0)
> 	[snip]
>>
>> gspca: main v2.8.0 registered
>> gspca: probing 046d:08dd
>> zc3xx: Sensor MC501CB
>> gspca: video0 created
>> gspca: probing 046d:08dd
>> gspca: intf != 0
>> gspca: probing 046d:08dd
>> gspca: intf != 0
>> usbcore: registered new interface driver zc3xx
>> zc3xx: registered
>
> Hello Jose Alberto,
>
> May you send me a raw image done by my program svv? (look in my web page
> below - run it by 'svv -rg' and send me the generated image.dat)
>

JF,

This is the infamous zc3xx bottom of the image is missing in 320x240 problem,
with several sensors the register settings we took from the windows driver
will only give you 320x232 (iirc), we tried changing them to get 320x240,
but then the camera would not stream. Most likely some timing issue between
bridge and sensor.

I once had a patch fixing this by actually reporting the broken modes as
320x232, but that never got applied as it breaks app which are hardcoded
to ask for 320x240. libv4l has had the ability to extend the 320x232 image
to 320x240 for a while now (by adding a few black lines at the top + bottom),
fixing the hardcoded apps problem.

So I think such a patch can and should be applied now. This will get rid
of the jpeg decompression errors reported by libv4l and in case if yuv mode
the ugly green bar with some random noise in it at the bottom.

I'm afraid my patch is most likely lost, but I can create a new one if you want,
I have access to quite a few zc3xx camera's, and more over what resolution
they are actually streaming at can be deducted from the register settings
in the driver.

Regards,

Hans

  parent reply	other threads:[~2010-01-11  8:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 23:15 Problem with gspca and zc3xx Jose Alberto Reguero
2010-01-10  8:37 ` Jean-Francois Moine
2010-01-10 10:31   ` Jose Alberto Reguero
2010-01-11  8:37   ` Hans de Goede [this message]
2010-01-11  9:55     ` Jean-Francois Moine
2010-01-11 14:49       ` Jose Alberto Reguero
2010-01-12  8:36         ` Jean-Francois Moine
2010-01-12 11:54           ` Hans de Goede
2010-01-12 14:57           ` Jose Alberto Reguero
2010-01-13 13:50             ` Jose Alberto Reguero
2010-01-14 16:26               ` Jose Alberto Reguero
2010-05-06 18:09                 ` Mauro Carvalho Chehab
2010-05-06 18:32                   ` Jean-Francois Moine
2010-01-11 22:03       ` Hans de Goede
  -- strict thread matches above, loose matches on Subject: below --
2010-01-28 13:35 Fabio Rossi

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=4B4AE349.4000707@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=jareguero@telefonica.net \
    --cc=linux-media@vger.kernel.org \
    --cc=moinejf@free.fr \
    /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