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: "Németh Márton" <nm127@freemail.hu>,
	"Thomas Kaiser" <thomas@kaiser-linux.li>,
	"V4L Mailing List" <linux-media@vger.kernel.org>,
	"leandro Costantino" <lcostantino@gmail.com>
Subject: Re: image quality of Labtec Webcam 2200
Date: Sun, 13 Sep 2009 20:48:27 +0200	[thread overview]
Message-ID: <4AAD3E7B.5030606@redhat.com> (raw)
In-Reply-To: <20090913092015.485fdbcd@tele>

Hi,

On 09/13/2009 09:20 AM, Jean-Francois Moine wrote:
> On Fri, 11 Sep 2009 09:09:20 +0200
> Németh Márton<nm127@freemail.hu>  wrote:
>
>> You can find my results at
>> http://v4l-test.sourceforge.net/results/test-20090911/index.html
>> There are three types of problems: a) Sometimes the picture contains
>> a 8x8 pixel error, like in image #9
>> http://v4l-test.sourceforge.net/results/test-20090911/index.html#img00009
>> b) Sometimes the brightness of the half picture is changed, like in
>> images #7, #36 and #37
>> http://v4l-test.sourceforge.net/results/test-20090911/index.html#img00007
>> http://v4l-test.sourceforge.net/results/test-20090911/index.html#img00036
>> http://v4l-test.sourceforge.net/results/test-20090911/index.html#img00037
>> c) Sometimes the libv4l cannot convert the raw image and the errno is
>> set to EAGAIN (11), for example image #1, #2 and #3
>>
>> Do you know how can I fix these problems?
>
> The error EAGAIN is normal when decoding pac7311 images, because they
> are rotated 90°. But this error should occur one time only.
>
> I looked at the raw image #1, and it seems that there are JPEG errors
> inside (sequences ff ff). There should be a problem in the pac7311
> driver. Hans, may you confirm?
>

The pac7311 / pac7302 are very cheap crap cams (I bought one brand new
for 3 euros, and that was not in the bargain bin).

These cams use a custom jpeg format, and we are very luky to be able to
decompress this at all (thanks to some of the wizards who worked on the
original gspca driver).

Yes there are still some issues, but with no documentation what soever,
and unreliable hardware (I've seen hang cams which needed to be unplugged
/ replugged to start working again), I'm afraid there is nothing we can do.

Still if people want to work on improving support for them more power to
then, I'll gladly help where I can. The ff ff you've found are special
Pixart padding sequences, see tinyjpeg.c: pixart_fill_nbits()

Also interesting is the comment about some of the special Pxiart markers
in the tinyjpeg.c: pixart_decode_MCU_2x1_3planes() function. Which
summaries what i've learned while getting pac7302 cams to work (to a
certain extend).

Regards,

Hans

      parent reply	other threads:[~2009-09-13 18:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  7:09 image quality of Labtec Webcam 2200 Németh Márton
2009-09-11 18:17 ` Németh Márton
2009-09-12  0:43   ` leandro Costantino
2009-09-12  1:21   ` leandro Costantino
     [not found]   ` <c2fe070d0909111741l21120025v3f45eb8566d27c7a@mail.gmail.com>
     [not found]     ` <4AAB3CB5.7090106@freemail.hu>
2009-09-12 14:51       ` leandro Costantino
2009-09-12 18:26         ` Németh Márton
2009-09-13  7:20 ` Jean-Francois Moine
2009-09-13 11:00   ` Németh Márton
2009-09-13 14:42     ` leandro Costantino
2009-09-13 15:59       ` Thomas Kaiser
2009-09-13 18:50         ` Hans de Goede
2009-09-13 18:48   ` Hans de Goede [this message]

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=4AAD3E7B.5030606@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=lcostantino@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=moinejf@free.fr \
    --cc=nm127@freemail.hu \
    --cc=thomas@kaiser-linux.li \
    /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