Date: Sun, 28 Sep 2008 15:59:29 -0700 (PDT) From: Fritz Katz <frtzkatz@yahoo.com> To: freebsd-multimedia@freebsd.org, Hans Petter Selasky <hselasky@c2i.net> Subject: V4L-2 support in FreeBSD Message-ID: <182143.1557.qm@web63007.mail.re1.yahoo.com> In-Reply-To: <200809240847.27194.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Tue, 9/23/08, Hans Petter Selasky <hselasky(at)c2i(dot)net> wrote: > > Hi, > > Maybe you will find the following file useful: > http://perforce.freebsd.org/fileLogView.cgi?FSPC=//depot/projects/usb/src/sys/sys/videodev.h > Thanks!, Yes, very useful. Can you point me at any drivers or user applications that include and use this file? Are there any plans to check it into the tree for FreeBSD-8? Some nits: 1) V4L2 has divided the info contained in this file into two: videodev.h which contains the obsolete V4L1 definitions & videodev2.h when I attempt to link a V4L2 application using it, I get compiler errors and am forced to edit the source files to get them to compile. Without V4L-1 structs and ioctl definitions, many older applications won't compile. 2) The "#define V4L2_STD_PAL_NC" is "#define V4L2_STD_PAL_Nc" in V4L2. (Just because Penguins do something silly like putting a lower case letter in a define doesn't mean we should do it too -- but it *IS* their standard). > > Regarding porting, there is not much you need to do. Simply > make sure that you handle the IOCTLs directly in the video driver. > > --HPS > Yes, "piece of cake!" :-) Cheers, -- Fritz Katz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?182143.1557.qm>
