Page 1 of 1

Not able to understand the code flow of avr cam

PostPosted: Fri Dec 01, 2006 11:59 pm
by chaps555

I was trying to understand the code flow , but i am not able to understand it,Is cam interface asm the image processing engine. if true . can anyone have anyproper understanding of that code how it really works in practical.



PostPosted: Sun Dec 03, 2006 10:50 pm
by johno
Yes, CamInterfaceAsm is the code that actually monitors/processes the various signals coming from the camera (such as VSYNC and HREF), as well as the pixel data busses themselves. This code is in assembly because it needs to execute according to a fairly precise timing profile. There are a bunch of comments in the file in hopes of explaining what is going on for those not familiar with AVR assembly.

The blob-search code and other higher-level operationscan all be found in the FrameMgr.c file.

If you have questions about how something works, use the source, or post a question here.