public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* RFC: Phase 2/3: Move the compat code into v4l1-compat. Convert apps.
@ 2010-03-20  9:21 Hans Verkuil
  2010-03-20 12:17 ` Chicken Shack
  2010-03-20 23:14 ` Hans de Goede
  0 siblings, 2 replies; 12+ messages in thread
From: Hans Verkuil @ 2010-03-20  9:21 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Hans de Goede

Hi all!

The second phase that needs to be done to remove the v4l1 support from the
kernel is that libv4l1 should replace the v4l1-compat code from the kernel.

I do not know how complete the libv4l1 code is right now. I would like to
know in particular whether the VIDIOCGMBUF/mmap behavior can be faked in
libv4l1 if drivers do not support the cgmbuf vidioc call.

In principle libv4l1 should allow V4L1 apps to run fine with V4L2 drivers.
That will also solve the problem of embedded device vendors running new
kernels with old V4L1 applications. They just need to use libv4l1.

The third phase that can be done in parallel is to convert V4L1-only apps.
I strongly suspect that any apps that are V4L1-only are also unmaintained.
We have discussed before that we should set up git repositories for such
tools (xawtv being one of the more prominent apps since it contains several
v4l1-only console apps). Once we have maintainership, then we can convert
these tools to v4l2 and distros and other interested parties have a place
to send patches to.

I'm afraid that it is unlikely that anyone will do that work for us, so it's
probably best just to bite the bullet and do it ourselves.

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-03-22 14:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20  9:21 RFC: Phase 2/3: Move the compat code into v4l1-compat. Convert apps Hans Verkuil
2010-03-20 12:17 ` Chicken Shack
2010-03-20 12:37   ` Hans Verkuil
2010-03-20 13:51     ` Chicken Shack
2010-03-20 14:14       ` Hans Verkuil
2010-03-20 16:14         ` Devin Heitmueller
2010-03-20 21:40           ` Hans Verkuil
2010-03-20 23:14 ` Hans de Goede
2010-03-22  8:11   ` Hans Verkuil
2010-03-22  8:41     ` Hans de Goede
2010-03-22 14:07       ` Mauro Carvalho Chehab
2010-03-22 13:49     ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox