06-12-2016 09:47 AM
I´ve got a project which takes video frames from a camera, writing and reading them from/to a ddr3 memory using vdma triple buffer configuration with dynamic genlock setup for the write and read channels and a VGA output.
It is simple design but now I would like to do something with the video frames, for instance to apply some opencv functions, filters, color conversion...etc on SDK using C. Well, I guess that I can´t operate on the vdma frames directly otherwise I would lose the synchronization....is it any example of video processing on sdk using similar configuration? what would be the best way to approach it?
Sorry if this question is already answered but after a while searching in the forum I could find nothing.
06-12-2016 05:18 PM
06-13-2016 04:07 AM
I knew about that link, I've got a ZC702 dev board, My question was more about bare metal image processing application using sdk (C code).
06-13-2016 07:50 AM
This use case is possible to do with the VDMA, but I don't know of any examples showing how to do it.
If it were me, I would use the external genlock feature of the VDMA to expose the genlock pointers. Then you could use a GPIO controlled by software to indicate to the VDMA which of its frames the processor is working on so that it will not overstep it.