Dear libdc1394 list,
I've attached code for a Linux-only program that prints a list of ISO
channels and the current bus bandwidth allocation. If you run the
program with the '--freeall' argument, it will then forcefully free
This provides identical functionality to the
dc1394_cleanup_iso_channels_and_bandwidth() currently in libdc1394.
It has the following advantages over that function:
1. Since it's a standalone program, you can run it from the
command-line any time resources have not been freed instead of having to
start coriander and "press the button".
2. If you would like to integrate it into your existing program, you
can do so, but you can be clever about only freeing resources when you
really need to, instead of doing it always.
3. It forces you to realize the implications of what you are doing
when you forcefully free the bus resources, and to realize that this is
a Linux-specific issue.
Now that I've provided this code, please let me know if you still think
dc1394_cleanup_iso_channels_and_bandwidth() is needed.
On Sun, 2006-12-17 at 02:54 -0500, David Moore wrote:
> Dear libdc1394 list,
> I've attached code for a Linux-only program that prints a list of ISO
> channels and the current bus bandwidth allocation. If you run the
> program with the '--freeall' argument, it will then forcefully free
> these resources.
Would it be appropriate to add your code to the example programs of
libdc1394? (linux only of course)
_ Damien =E9=AB=98=E5=8E=9F Douxchamps, PhD
('- Post-doctoral investigator
//\ Image Processing Group, NAIST
From: David Moore <dcm@MIT.EDU> - 2006-12-17 19:12:55
I will commit it in a few days.
On Sun, 2006-12-17 at 18:26 +0900, Damien Douxchamps wrote:
> Would it be appropriate to add your code to the example programs of
> libdc1394? (linux only of course)
Get latest updates about Open Source Projects, Conferences and News.