Re: Video capture in FPGA -- simple hardware to emulate?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> > > I'm working on project that will need doing video capture from
> > > FPGA. That means I can define interface between kernel and hardware.
> > >
> > > Is there suitable, simple hardware we should emulate in the FPGA? I
> > > took a look, and pxa_camera seems to be one of the simple ones...
> 
> Too bad this one
> 
> http://opencores.org/project,100

Too bad indeed, that would certainly help.

> is only in planning... Maybe you could collaborate with them?

I will not be the one doing hardware, and that might be too much to ask...

> > Thats actually a pretty open-ended question. You might get better
> > advice if you describe your hardware platform in a little more detail.
> 
> +1. As usually you have to begin with what you need. Will it be using an 
> external DMA engine or will it have one built into it? If you've got a 
> DMAC core already, it will define your V4L2 dma operations choice - 
> contiguous or SG, unless, as Steven mentioned, you go over USB. Then you 
> decide what sensor interface you need - parallel or CSI, etc.

I don't know about the sensor interface -- it will likely change in future.

There is no PCI or USB involved.

The simplest device I could imagine would be just fixed location in memory,
where FPGA puts the RGB values (or YUV or something). Now... that would have
issues with teared frames. But perhaps if FPGA cycled between 5 such buffers,
and notified CPU using interrupts when buffer is filled, that would work 
"well enough"? (There would be teared frames where other designs drop frames,
but that could be acceptable.)

OTOH nobody is doing that, so it is probably bad idea for some reason...?

> > Are you using a USB or PCIe controller to talk to the fpga, or does
> > the fpga contain embedded IP cores for USB or PCIe?

There should be no USB/PCIe involved.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux