* Announcing libv4l 0.2
@ 2008-06-28 10:07 Hans de Goede
2008-06-28 11:16 ` [Spca50x-devs] " Jean-Francois Moine
2008-06-28 17:20 ` Gregor Jasny
0 siblings, 2 replies; 5+ messages in thread
From: Hans de Goede @ 2008-06-28 10:07 UTC (permalink / raw)
To: v4l2 library, video4linux-list,
SPCA50x Linux Device Driver Development
Cc: Mauro Carvalho Chehab
<now with link to the new version included, sorry for the spam>
Hi All,
I'm happy to announce version 0.2 of libv4l:
http://people.atrpms.net/~hdegoede/libv4l-0.2.tar.gz
This release has the following changes (mostly bugfixes):
libv4l-0.2
----------
*** API change ***
* Change v4lconvert api so that the v4lconvert struct always gets allocated
by the library, this to make it opaque, so that we can avoid future API
and ABI changes
* Add support for yuv420 -> bgr24 conversion
* When converting from v4l2 pixelformat to v4l12 palette return
VIDEO_PALETTE_YUV420P instead of VIDEO_PALETTE_YUV420 for
V4L2_PIX_FMT_YUV420 as that is what most apps seem to expect
* override kernel v4l1 compat min / max size with our own more accurate values
* fix v4l1 munmap bug where it didn't recognise the buffer being unmapped was
our fake buffer (fixes gstreamer v4l1 support, checked with cheese)
* add support for reporting the emulated pixelformats with ENUM_FMT, this
defaults to off, and can be activated by passing a flag to enable it to
v4l2_fd_open. This gets enabled by default the wrappers.
* v4l2: mmap the real device buffers before doing conversion when DQBUF gets
called before the application has called mmap (avoid crash).
The big improvement here is that gstreamer using applications now work as long
as they use v4l1, you can force this by [re]moving
/usr/lib[64]/gstreamer-0.10/libgstvideo4linux2.so
Getting gstreamer v4l2 working is planned for 0.3, this requires adding a
v4l2_dup function (and catching dup() in the wrapper), and probably also making
things threadsafe.
Regards,
Hans
p.s.
Thierry I know you're still working on getting 0.1 into the v4l-dvb no worries,
I can split the work from 0.1 in a few seperate patches and submit those once
0.1 is in the v4l1-dvb tree.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Spca50x-devs] Announcing libv4l 0.2
2008-06-28 11:16 ` [Spca50x-devs] " Jean-Francois Moine
@ 2008-06-28 11:03 ` Hans de Goede
0 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2008-06-28 11:03 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: video4linux-list, v4l2-library, spca50x-devs
Jean-Francois Moine wrote:
> On Sat, 2008-06-28 at 12:07 +0200, Hans de Goede wrote:
>> I'm happy to announce version 0.2 of libv4l:
>> http://people.atrpms.net/~hdegoede/libv4l-0.2.tar.gz
> [snip]
>
> May you go further with the v4l1 compat, i.e. have only v4l2 ioctl
> calls? So, the v4l1 compat module could be removed from the kernel...
>
Yes thats definitely a possibility for the near future.
Regards,
Hans
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Spca50x-devs] Announcing libv4l 0.2
2008-06-28 10:07 Announcing libv4l 0.2 Hans de Goede
@ 2008-06-28 11:16 ` Jean-Francois Moine
2008-06-28 11:03 ` Hans de Goede
2008-06-28 17:20 ` Gregor Jasny
1 sibling, 1 reply; 5+ messages in thread
From: Jean-Francois Moine @ 2008-06-28 11:16 UTC (permalink / raw)
To: spca50x-devs, v4l2-library, video4linux-list
On Sat, 2008-06-28 at 12:07 +0200, Hans de Goede wrote:
> I'm happy to announce version 0.2 of libv4l:
> http://people.atrpms.net/~hdegoede/libv4l-0.2.tar.gz
[snip]
May you go further with the v4l1 compat, i.e. have only v4l2 ioctl
calls? So, the v4l1 compat module could be removed from the kernel...
Cheers.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Announcing libv4l 0.2
2008-06-28 10:07 Announcing libv4l 0.2 Hans de Goede
2008-06-28 11:16 ` [Spca50x-devs] " Jean-Francois Moine
@ 2008-06-28 17:20 ` Gregor Jasny
2008-06-28 19:37 ` Hans de Goede
1 sibling, 1 reply; 5+ messages in thread
From: Gregor Jasny @ 2008-06-28 17:20 UTC (permalink / raw)
To: Hans de Goede; +Cc: video4linux-list, v4l2 library
Hi,
On Sat, Jun 28, 2008 at 12:07:36PM +0200, Hans de Goede wrote:
> libv4l-0.2
> ----------
> *** API change ***
It would be usesul if you expose the library or api version in your
public header files like for example OpenSSL in <openssl/opensslv.h>.
So the develpers can keep their code backward compatible with some
simple ifdefs.
Thanks,
Gregor
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Announcing libv4l 0.2
2008-06-28 17:20 ` Gregor Jasny
@ 2008-06-28 19:37 ` Hans de Goede
0 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2008-06-28 19:37 UTC (permalink / raw)
To: Gregor Jasny; +Cc: video4linux-list, v4l2 library
Gregor Jasny wrote:
> Hi,
>
> On Sat, Jun 28, 2008 at 12:07:36PM +0200, Hans de Goede wrote:
>> libv4l-0.2
>> ----------
>> *** API change ***
>
> It would be usesul if you expose the library or api version in your
> public header files like for example OpenSSL in <openssl/opensslv.h>.
> So the develpers can keep their code backward compatible with some
> simple ifdefs.
>
Actually the reason for this change is to make things so that an ABI change in
the future will most likely not be necessary ever.
Regards,
Hans
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-28 19:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-28 10:07 Announcing libv4l 0.2 Hans de Goede
2008-06-28 11:16 ` [Spca50x-devs] " Jean-Francois Moine
2008-06-28 11:03 ` Hans de Goede
2008-06-28 17:20 ` Gregor Jasny
2008-06-28 19:37 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox