From: Gregor Jasny <jasny@vidsoft.de>
To: video4linux-list@redhat.com
Subject: Re: Announcing libv4l 0.1
Date: Thu, 26 Jun 2008 10:39:16 +0200 [thread overview]
Message-ID: <20080626083915.GA18818@vidsoft.de> (raw)
In-Reply-To: <4862BF41.9090208@hhs.nl>
Hi,
On Wed, Jun 25, 2008 at 11:57:21PM +0200, Hans de Goede wrote:
> As most of you know I've been working on a userspace library which can be
> used to (very) easily add support for all kind of pixelformats to v4l2
> applications.
>
> Just replace open("dev/video0", ...) with v4l2_open("dev/video0", ...),
> ioctl
> with v4l2_ioctl, etc. libv4l2 will then do conversion of any known (webcam)
> pixelformats to bgr24 or yuv420.
I'll give the conversion and v4l2 userspace library a try during
weekend. Is there a public rcs where I can pull updates from?
Thanks for your work!
Gregor
--- libv4lconvert/spca561-decompress.c.orig 2008-06-26 07:49:43.000000000 +0000
+++ libv4lconvert/spca561-decompress.c 2008-06-26 08:31:32.000000000 +0000
@@ -31,7 +31,7 @@
/*fixme: not reentrant */
static unsigned int bit_bucket;
-static unsigned char *input_ptr;
+static const unsigned char *input_ptr;
static inline void refill(int *bitfill)
{
@@ -300,7 +300,7 @@
}
static int internal_spca561_decode(int width, int height,
- unsigned char *inbuf,
+ const unsigned char *inbuf,
unsigned char *outbuf)
{
/* buffers */
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-06-26 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 21:57 Announcing libv4l 0.1 Hans de Goede
2008-06-26 8:39 ` Gregor Jasny [this message]
2008-06-26 8:41 ` Hans de Goede
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=20080626083915.GA18818@vidsoft.de \
--to=jasny@vidsoft.de \
--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