public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luc Saillard <luc@saillard.org>
To: Luca Risolia <luca.risolia@studio.unibo.it>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Linux 2.6.9-ac3
Date: Fri, 22 Oct 2004 11:21:02 +0200	[thread overview]
Message-ID: <20041022092102.GA16963@sd291.sivit.org> (raw)
In-Reply-To: <20041022101335.6dcf247a.luca.risolia@studio.unibo.it>

On Fri, Oct 22, 2004 at 10:13:35AM +0200, Luca Risolia wrote:
> > o       Restore PWC driver                              (Luc Saillard)
> 
> This driver does decompression in kernel space, which is not
> allowed. That part has to be removed from the driver before
> asking for the inclusion in the mainline kernel.

I know this problem, but without a user API like ALSA, each driver need to
implement the decompression module. When the driver will support v4l2, we can
return the compressed stream to the user land. I want a v4l3, which is
designed as ALSA does for soundcard, with a API for userland and kernelland.
In the meantime, i can put a module option, if the user want the
decompression in the kernel mode.

Just for your information, many other part in the kernel use
decompression/compression like PPP, video, ... Have you look about the
algorithm use in decompression ?, it's just a lookup table with some
pre-calculated values. Ok you lost ~60Kbytes of kernel memory. I you look into
the logitech windows drivers, you will a see a big fat library name openvc
(apt-cache search opencv). I don't want to include all operations but if we
haven't a good userland library, our webcam is useless on Linux. 
Please, if you can provide some help to put this in userland (provides
patches for mplayer, xawtv, kame, gnomeeting, ...), i'll be glad to remove
the offending code.

Luc

opencv:
 The Open Computer Vision Library is a collection of algorithms and sample
 code for various computer vision problems. The library is compatible with
 IPL (Intel's Image Processing Library) and, if available, can use IPP
 (Intel's Integrated Performance Primitives) for better performance.
 .
 OpenCV provides low level portable data types and operators, and a set
 of high level functionalities for video acquisition, image processing and
 analysis, structural analysis, motion analysis and object tracking, object
 recognition, camera calibration and 3D reconstruction.
(taken from apt-cache show libopencv-doc)

  reply	other threads:[~2004-10-22  9:26 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22  8:13 Linux 2.6.9-ac3 Luca Risolia
2004-10-22  9:21 ` Luc Saillard [this message]
2004-10-22 12:30   ` Luca Risolia
2004-10-22 12:34     ` Xavier Bestel
2004-10-22 13:33       ` Luc Saillard
2004-10-22 14:22         ` Ronald S. Bultje
2004-10-22 14:38         ` David Weinehall
2004-10-22 14:15       ` Gergely Nagy
2004-10-22 13:16     ` Luc Saillard
2004-10-22 14:07       ` Luca Risolia
2004-10-22 14:10     ` Gerd Knorr
2004-10-22 15:51       ` Alan Cox
2004-10-22 18:14         ` Gerd Knorr
2004-10-23 13:41           ` Luca Risolia
2004-10-22 11:09 ` Alan Cox
2004-10-22 13:00   ` Luca Risolia
2004-10-22 15:49     ` Alan Cox
2004-10-23 14:54 ` Bill Davidsen
2004-10-23 17:36   ` Luca Risolia
2004-10-25 22:22     ` Bill Davidsen
2004-10-26  5:29       ` Luc Saillard
  -- strict thread matches above, loose matches on Subject: below --
2004-10-21 23:08 Alan Cox
2004-10-22  0:59 ` Mark Lord
2004-10-22  1:18 ` Con Kolivas
2004-10-22  6:36 ` Jens Axboe

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=20041022092102.GA16963@sd291.sivit.org \
    --to=luc@saillard.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca.risolia@studio.unibo.it \
    /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