[Lazarus] 5dpo components last update

Michael Van Canneyt michael at freepascal.org
Fri Feb 12 17:04:22 CET 2016



On Fri, 12 Feb 2016, Paulo Costa wrote:

> On 11-Feb-16 23:33, Michael Van Canneyt wrote:
>> 
>> 
>> On Thu, 11 Feb 2016, Paulo Costa wrote:
>> 
>>> On 11-Feb-16 21:48, Michael Van Canneyt wrote:
>>>>> The most important changes are:
>>>>> - TSdpoSerial tested and working on the Raspberry Pi 2.
>>>>> 
>>>> 
>>>> Question: can these components be used to work with the pi's camera ?
>
> Now I can answer:
>
> Yes! The UVC component (TSdpoVideo4L2) works with the native V4L2 driver!

Great news.

>
> With a raspberry pi 2, I've captured and displayed a 640x480 image at 30 fps.
> I can send you the code if you want.

Yes, please !!

Can you also send me the complete configuration you used ?
(model pi, raspbian version, fpc, laz etc.)

I would like to write an article for Blaise Pascal magazine, the editor will
be very pleased to hear this, he has been asking for it since a long time :)

> The supplied example does not work out of the box because the gtk based form 
> viewer component isn't working with the raspberry pi. I had to replace it 
> with a bgrabitmap based one. That adds one more dependency. Do you have any 
> suggestion for a fpc "native" alternative?

You mean an image component ? What is missing in the ones in fpImage ?

Michael.




More information about the Lazarus mailing list