I needed a quick and dirty adapter to be able to read the Pointgrey Dragonfly firewire camera with matlab, on a linux distro. Given the lack of stuff out there, here is my little contribution.

It should compile.
It is not perfect. Some of the parameters are hard coded.
But you will find useful things like how to convert  between a firewire bayer encoder format to a I(:,:,3) matlab matrix.

That being said, have fun.

Philippe.