Re: [libdc1394-devel] _dc1394_basic_format7_setup & min_bytes
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: Ralf E. <reb...@us...> - 2003-09-15 14:00:11
|
--On Montag, 15. September 2003 15:01 +0200 Damien Douxchamps <d.d...@te...> wrote: > On Mon, 2003-09-15 at 14:42, Ralf Ebeling wrote: > >> For now this should be Ok. But I fear for most cameras UnitBytePerPacket >> won't be the minimum allowed packet size (especially with the TI Link- >> Layer controller - limited to 4095 packets per iso transfer). > > Do you think we should allow bpp < UnitBytePerPacket? It's not very > difficult to add this possibility, but it surely breaks IIDC rules... No. IMHO bpp > UnitBytePerPacket, because of the limits with the TI LLC. I guess most cameras use UnitBytePerPacket as the allowed increment of bpp and not as the allowed min bpp... mainly if UnitBytePerPacket is lower than 16... but I don't know all cameras... But for now 'bpp % UnitBytePerPacket == 0 && bpp >= UnitBytePerPacket' should work, if the user is aware of a possible limit of PacketsPerFrame. Ralf |