Looking for an example of how to take video from USB camera and put it into memory
kutenai opened this issue · comments
My goal is to take the USB video and process it using OpenCL. In order to do this, I must take the USB camera input and put the frames into memory, where the VIP core can then access it.
My first goal would be to make a simple project without a linux GUI so that I can send the USB video direct to HDMI.
USB Video -> Software moves to Memory using AXI (Not sure how to do this... ) -> Frame reader from memory, to clock video output to HDMI
I just don't know how to do the software step, and was hoping someone could offer an example, or at least tips for getting started.
@kutenai
late reply,
- you can remove the altvipfb diver modprobe in /etc/rc.local ( c5soc_opencl_lxde_fpga_reconfigurable.img)
- using the memory mapping (/dev/mem), you can map the vip core address to user space, then you can acess to vip core in opencl host. also, it may refor to the framebuffer reader ip spec for details. I haven't done this before.