<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mediapointer-dvb-s2/v4l2-apps/libv4l/libv4l2, branch master</title>
<subtitle>Mediapointer DVB-S2 driver
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/'/>
<entry>
<title>libv4l: enable libv4l2 usage with devices which just support read()</title>
<updated>2009-09-03T11:28:26+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-09-03T11:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=8ea6a6c6c6f581cbf41e8813f6edb45acd1181f6'/>
<id>8ea6a6c6c6f581cbf41e8813f6edb45acd1181f6</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: enable libv4l2 usage with devices which just support read(), this
allows applications to work with mpeg capture devices like the cx18, which
only do read() and only support mpeg and some exotic raw format
(which libv4l can convert).

Thanks to Simon Farnsworth &lt;simon.farnsworth@onelan.com&gt; for testing this.

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: enable libv4l2 usage with devices which just support read(), this
allows applications to work with mpeg capture devices like the cx18, which
only do read() and only support mpeg and some exotic raw format
(which libv4l can convert).

Thanks to Simon Farnsworth &lt;simon.farnsworth@onelan.com&gt; for testing this.

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: make get / set control use libv4lconvert functions</title>
<updated>2009-08-20T09:42:57+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-08-20T09:42:57+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=0201b5f76e609d40a5ac955aab083854bf21d5b7'/>
<id>0201b5f76e609d40a5ac955aab083854bf21d5b7</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: make get / set control use libv4lconvert functions

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: make get / set control use libv4lconvert functions

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: Fix reqbuf Device or Resource busy error when using read</title>
<updated>2009-08-14T07:50:33+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-08-14T07:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=1717b46f2e34d1655a665db31979f4bfaf969c06'/>
<id>1717b46f2e34d1655a665db31979f4bfaf969c06</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

Some applications such as v4l2-apps/test/capture-example.c, in read mode
use select() together with read() and do a select() before the first read().

This causes issues together with certain drivers (gspca for example),
do not allow switching from read mode to mmap mode and they assume read()
mode if a select or poll() is done before any buffers are requested.

When not using libv4l2, this is not an issue but libv4l2 uses mmap mode
under the hood when converting as that safes a memcpy for each frame read.

This fails with such drivers when the application has done a select() before
the first read() as the driver now is in "read mode" and disallows switching
to mmap mode.

This patch fixes this by falling back to using read() for v4l2_read() when
using mmap mode fails.

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

Some applications such as v4l2-apps/test/capture-example.c, in read mode
use select() together with read() and do a select() before the first read().

This causes issues together with certain drivers (gspca for example),
do not allow switching from read mode to mmap mode and they assume read()
mode if a select or poll() is done before any buffers are requested.

When not using libv4l2, this is not an issue but libv4l2 uses mmap mode
under the hood when converting as that safes a memcpy for each frame read.

This fails with such drivers when the application has done a select() before
the first read() as the driver now is in "read mode" and disallows switching
to mmap mode.

This patch fixes this by falling back to using read() for v4l2_read() when
using mmap mode fails.

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: update my email address</title>
<updated>2009-08-05T10:28:07+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-08-05T10:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=faf2479d2dfa16ad1c7a316f0443df4fa6f9c3c8'/>
<id>faf2479d2dfa16ad1c7a316f0443df4fa6f9c3c8</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: update my email address

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: update my email address

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: Make library subdir name configurable</title>
<updated>2009-07-16T15:03:40+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-07-16T15:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=9aba1d9db273279181ade3771f20a185f048348c'/>
<id>9aba1d9db273279181ade3771f20a185f048348c</id>
<content type='text'>
From: Gregor Jasny &lt;gjasny@googlemail.com&gt;

While studying the Debian library package name, I noticed that private

So /usr/lib/libv4l should become /usr/lib/libv4l0. As this would break
existing scripts, I suggest to start versioning with the next soname bump.

The line in the makefiles will then read:

ifeq ($(LIBSUBDIR),)
LIBSUBDIR = libv4l$(LIB_RELEASE)
endif

Unfortunately, the private subdirs in Debian must be named after the library
package, which would be libv4l-0. Therefore I need to configure the
LIBSUBDIR at compile time.

Priority: normal

Signed-off-by: Gregor Jasny &lt;gjasny@googlemail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Gregor Jasny &lt;gjasny@googlemail.com&gt;

While studying the Debian library package name, I noticed that private

So /usr/lib/libv4l should become /usr/lib/libv4l0. As this would break
existing scripts, I suggest to start versioning with the next soname bump.

The line in the makefiles will then read:

ifeq ($(LIBSUBDIR),)
LIBSUBDIR = libv4l$(LIB_RELEASE)
endif

Unfortunately, the private subdirs in Debian must be named after the library
package, which would be libv4l-0. Therefore I need to configure the
LIBSUBDIR at compile time.

Priority: normal

Signed-off-by: Gregor Jasny &lt;gjasny@googlemail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: fix deadlock introduced by locking fix in previous patch</title>
<updated>2009-06-17T13:45:32+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-06-17T13:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=e84f05aeceff30413ad2d1ee68bb11888e04e167'/>
<id>e84f05aeceff30413ad2d1ee68bb11888e04e167</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: fix deadlock introduced by locking fix in previous patch

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

libv4l: fix deadlock introduced by locking fix in previous patch

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: Report aligned resolution on first get_fmt</title>
<updated>2009-06-17T13:38:46+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-06-17T13:38:46+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=f62a7a8cd7c03f7694ea5260ac38b1f2cf7826d5'/>
<id>f62a7a8cd7c03f7694ea5260ac38b1f2cf7826d5</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

When a user does a try_fmt with the current dest_fmt and the dest_fmt
is a supported one we will align the resulution (see try_fmt for why).
Do the on the result of the first get_fmt, so that a try_fmt on the result of
a get_fmt done immediately after open leaves the fmt unchanged

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

When a user does a try_fmt with the current dest_fmt and the dest_fmt
is a supported one we will align the resulution (see try_fmt for why).
Do the on the result of the first get_fmt, so that a try_fmt on the result of
a get_fmt done immediately after open leaves the fmt unchanged

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: remove DEADJOE files during make clean</title>
<updated>2009-06-08T09:22:32+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-06-08T09:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=f78597ecea4ce107d99124eca84df338bfcbb29a'/>
<id>f78597ecea4ce107d99124eca84df338bfcbb29a</id>
<content type='text'>
From: Gregor Jasny &lt;gjasny@googlemail.com&gt;

libv4l: remove DEADJOE files during make clean

Priority: normal

Signed-off-by: Gregor Jasny &lt;gjasny@googlemail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Gregor Jasny &lt;gjasny@googlemail.com&gt;

libv4l: remove DEADJOE files during make clean

Priority: normal

Signed-off-by: Gregor Jasny &lt;gjasny@googlemail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: initial support for compiling on FreeBSD</title>
<updated>2009-06-02T13:34:34+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-06-02T13:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=5999b7d164dbf3118a3a75ee3f6f0b48cb8845c1'/>
<id>5999b7d164dbf3118a3a75ee3f6f0b48cb8845c1</id>
<content type='text'>
From: Hans Petter Selasky &lt;hselasky@freebsd.org&gt;

Add a patch by Hans Petter Selasky &lt;hselasky@freebsd.org&gt;, which should
lead to allowing use of libv4l (and the Linux webcam drivers ported
to userspace usb drivers) on FreeBSd, this is a work in progress

Priority: normal

Signed-off-by: Hans Petter Selasky &lt;hselasky@freebsd.org&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans Petter Selasky &lt;hselasky@freebsd.org&gt;

Add a patch by Hans Petter Selasky &lt;hselasky@freebsd.org&gt;, which should
lead to allowing use of libv4l (and the Linux webcam drivers ported
to userspace usb drivers) on FreeBSd, this is a work in progress

Priority: normal

Signed-off-by: Hans Petter Selasky &lt;hselasky@freebsd.org&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libv4l: Obsolete the V4L2_ENABLE_ENUM_FMT_EMULATION v4l2_fd_open flag</title>
<updated>2009-05-25T13:35:21+00:00</updated>
<author>
<name>hans@rhel5-devel.localdomain</name>
<email>hans@rhel5-devel.localdomain</email>
</author>
<published>2009-05-25T13:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=2ffc360be1c38ab86399d6d574ee7cc0671c03d6'/>
<id>2ffc360be1c38ab86399d6d574ee7cc0671c03d6</id>
<content type='text'>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

The V4L2_ENABLE_ENUM_FMT_EMULATION v4l2_fd_open flag is obsolete, libv4l2
now *always* reports emulated formats through the ENUM_FMT ioctl

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans de Goede &lt;hdegoede@redhat.com&gt;

The V4L2_ENABLE_ENUM_FMT_EMULATION v4l2_fd_open flag is obsolete, libv4l2
now *always* reports emulated formats through the ENUM_FMT ioctl

Priority: normal

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
