V4L v2.0 support coming on FreeBSD 6+

Hans Petter Selasky hselasky at freebsd.org
Sat May 26 10:11:43 UTC 2007


Hi,

I just want to notify you that I am working on generic V4L support on FreeBSD 
6+. I have made several changes to your "videodev.h" and the kernel side 
header file.

In general:

Put an "u" after unnamed unions.

Typedef "struct file" to "v4l2_file_t", because on FreeBSD this structure is 
different.

Factored out getting and setting private data on a "v4l2_file_t" structure.

This will make porting dual licensed Video drivers easier.

See:

http://perforce.freebsd.org/chv.cgi?CH=120419

--HPS


More information about the freebsd-multimedia mailing list