I'm using a DM36x processor in support of a UVC webcam-like application. The project is based on the DVSDK (3.10.00.19) and uses an Aptina MT9J003 sensor. The current work revolves around the creation and implementation of an automatic white balance function. For a variety of reasons we are unable to use the auto functions that come with the DVSDK. Thus we are writing our own white balance algorithm. We already have a working auto exposure algorithm based on the H3A. We wish to use the Boxcar unit in 8x8 mode to gain access to a small RGB version of the image that is coming from the sensor ...... at a point before the white balance block and before most of the IPIPE. We have had some conversations with TI experts about whether the H3A might be able to support our AWB approach but so far we have concluded that it cannot since the H3A deals only with statistics on the *components* of color rather than with colors. For this reason we are turning our attention toward the Boxcar unit.
I'm wondering if you may be able to help me locate a driver for the boxcar unit that is compatible (or can be made compatible) with the rest of the IPIPE-related drivers that come with the DVSDK. I have seen the boxcar (user-mode) "driver" that came with the Leopard webcam development kit but that is not compatible with the DVSDK. The Boxcar unit appears simple enough that writing a driver for it from scratch isn't too daunting. However, the considerable complexity of the IPIPE software and drivers makes the interfacing of the new driver a bit more complicated. We are using the VPFE capture system and IPIPE in chained, continuous mode. Thus, we'd ideally like the Boxcar unit to automatically run a the right time during the IPIPE processing of each frame, putting its output into a buffer just like the resizer(s).
Any pointers to boxcar drivers or code that might get us closer to having one would be greatly appreciated.
Thanks much ....