Re: [fpc-pascal] nested macros in C headers

2011-05-03 Thread Bernd
2011/4/24 Paulo Costa : > Probably you are right. Let me know how does it works for you. I have further studied the entire v4l thing and there is something that could be improved in the SdpoVideo4L2 component: There exists a library libv4l2 that is an official part of the Linux V4l2 project. It im

Re: [fpc-pascal] nested macros in C headers

2011-04-30 Thread Bernd
2011/4/24 Paulo Costa : > Probably you are right. Let me know how does it works for you. Historically, > we had a V4L unit for Kylix that was used with a Bt878 Frame Grabber and we > had to build the new component when we wanted to use the USB cameras. Back > then, some drivers were not available

Re: [fpc-pascal] nested macros in C headers

2011-04-24 Thread Bernd
2011/4/24 Paulo Costa : > the TSdpoVideo4L2 component has the V4L2 translated... Thanks. This is interesting. I saw this before but didn't look deeper into it after I read "UVC compliant USB cameras" in the wiki, this seemed to imply for me that it would only work with the subset of cameras that

Re: [fpc-pascal] nested macros in C headers

2011-04-24 Thread Paulo Costa
On 24/04/2011 11:24, Bernd wrote: 2011/4/24 Sven Barth: Hi! I did convert the V4L2 headers some time ago, but did not publish them yet. If you want to, I can send you the Pascal file. I tested it with a radio tuner, so it should work mostly. This would surely be helpful. Please consider also

Re: [fpc-pascal] nested macros in C headers

2011-04-24 Thread Sven Barth
On 24.04.2011 12:24, Bernd wrote: 2011/4/24 Sven Barth: Hi! I did convert the V4L2 headers some time ago, but did not publish them yet. If you want to, I can send you the Pascal file. I tested it with a radio tuner, so it should work mostly. This would surely be helpful. Please consider also

Re: [fpc-pascal] nested macros in C headers

2011-04-24 Thread Bernd
2011/4/24 Sven Barth : > Hi! > > I did convert the V4L2 headers some time ago, but did not publish them yet. > If you want to, I can send you the Pascal file. I tested it with a radio > tuner, so it should work mostly. This would surely be helpful. Please consider also releasing them with an FPC c

Re: [fpc-pascal] nested macros in C headers

2011-04-24 Thread Sven Barth
Hi! I did convert the V4L2 headers some time ago, but did not publish them yet. If you want to, I can send you the Pascal file. I tested it with a radio tuner, so it should work mostly. Regards, Sven On 23.04.2011 22:50, Bernd wrote: Hi, I found this: http://pastebin.com/T4jkeE6F in a zi

Re: [fpc-pascal] nested macros in C headers

2011-04-23 Thread Marco van de Voort
In our previous episode, Bernd said: > > How should I now proceed? Should I try to make this entire thing > (including its macro pocessor) compile with a current FPC? I don't > really like this idea because v4l1 is deprecated anyways. And the > separate macro processor and the makefile also someho

[fpc-pascal] nested macros in C headers

2011-04-23 Thread Bernd
Hi, I found this: http://pastebin.com/T4jkeE6F in a zip file called vfp.tar.bz4 somewhere on the web, it seems not maintained since ages but obviously it must have compiled at some time in the past. I am tying to see whether I can hack a quick and dirty program that is able to open an v4l device