All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: linux-media@vger.kernel.org
Subject: CMYG support in V4L2
Date: Mon, 29 Dec 2014 14:33:58 +0100	[thread overview]
Message-ID: <201412291433.58677.linux@rainbow-software.org> (raw)

Hello,
I'm working on an old driver called "qcamvc" for Connectix QuickCam VC webcams 
(parallel port and USB models), found here:
http://sourceforge.net/projects/usb-quickcam-vc/

Luckily, it was modified last year to compile with 3.x kernels.

After trivial modification (mfr and model), it works with parallel-port 
QuickCam Pro (sort of - only at 320x240 and with vertical lines on the left 
and blank part at the top). I don't have QuickCam VC (yet).

After removing a lot of code (it's now around 1200 [main] + 660 [parallel] + 
320 [usb] lines), one problem still remains: in-kernel colour conversion with 
software contrast, hue, saturation and gamma.

According to comments in the code, the camera sensor seems to have a CMYG 
filter, like no other linux-supported camera. So the proper way to support 
these cameras is to introduce a new pixel format, move the conversion to 
libv4lconvert and remove all controls not provided by hardware?

-- 
Ondrej Zary

             reply	other threads:[~2014-12-29 13:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29 13:33 Ondrej Zary [this message]
2015-01-12 15:22 ` CMYG support in V4L2 Hans Verkuil

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=201412291433.58677.linux@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=linux-media@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.