Re: ohci DMA code.
Brought to you by:
aeb,
bencollins
From: Matt P. <ma...@ls...> - 2000-06-02 21:17:23
|
If you're referring to a camera that adheres to the Digital Camera Spec, the best way (the only way, I think) to tell start of frame is to look at the sy bit in the isoc packet header. The driver will have to (probably optionally) pass along the sy bit to whoever is interested in capturing the frame. I think OHCI and PCILynx have the capability of starting a DMA program conditionally on the sy bit. Regards, Matt Bart Nabbe wrote: > For those of you who are using the Ohci DMA code. > > Is there a way to determine if the frame in the dma buffer is valid? The > DMA has a counter > right, so if we have the number of bytes in one frame before a frame > start we have a valid > frame. I have some chopped frames one in a while, say 1/3 of the new > frame and 2/3 the > last frame that was on that position in the dma buffer. > > Are there also ideas about how multiple cameras should be handled is > they are to be used > with different applications? > > Any suggestions how to do any of this in a nice way? > > Thanks, > > Bart > > By the way what is the recent status of the Sony Ohci chipset? > > _______________________________________________ > mailing list lin...@li... > http://lists.sourceforge.net/mailman/listinfo/linux1394-devel -- /*********************** Matt Pujol Product Marketing Manager 1394 and USB CoreWare technologies LSI Logic 2001 Danfield Court Fort Collins, Co 80525 970-206-5816 mat...@ls... ***********************/ |