Reply
Highlighted
Regular Visitor
Posts: 9
Registered: ‎06-24-2010
Accepted Solution

Omnivision camera data format

Hi all,

I'm working on the example using the

Omnivision camera, but I'm not sure about 

the video format of the stream coming from the camera.

The "camera in" IP seems to work in

RGB data, whereas the pdf guide refers to

the "ccir 656" format which should be an YCrCb format.

Has anyone solved this question?

 

Regards.

Avnet Employee (Star Contributor)
Posts: 471
Registered: ‎04-16-2009

Re: Omnivision camera data format

The OmniVision OV9715 image sensor module output pixels in raw format.

 

The reference design configures the image sensor (via I2C transactions) to generate CCIR656 codes.

   NOTE : This concerns synchronization, not the actual video pixels (which are still in raw format).

 

The fmc_imageov_camera_in PCORE detects the CCIR656 sync codes that are embedded in the data,

and generates XSVI compliant synchronization signals

   Look at the fmc_imageov_camera_in.vhd VHDL source for details.

 

At the output of the fmc_imageov_camera_in PCORE, the video stream is XSVI compliant,

so any of the Xilinx Video IP LogiCOREs can be used.

 

In the reference design, the sg_cfa_s6_plbw PCORE (a PCORE generated with System Generator) is used to convert the image sensor's raw pixels to RGB pixels.

The tutorial shows how to use the Xilinx CFA LogiCORE (a PCORE generated with Core Generator) to perform the same task.

 

Hope this helps !

 

Regards,

 

Mario.

Regular Visitor
Posts: 9
Registered: ‎06-24-2010

Re: Omnivision camera data format

Thank you again for your kindly assistance.

Giovanni

 

Contributor
Posts: 14
Registered: ‎06-23-2010

Re: Omnivision camera data format

Hi Mario,

 

What are the major implications if one decides to swap the Omnivision camera with another image sensor without CCIR656? Would one need extra wires running from the camera to the FPGA?

 

I appreciate your answer.

 

Rick

Avnet Employee (Star Contributor)
Posts: 471
Registered: ‎04-16-2009

Re: Omnivision camera data format

Rick,

 

In this case, the image sensors would typically have some type of synchronization signals.

something like "line valid" and "frame valid".

 

The Xilinx Timing Controller would be the ideal solution in this case since it can recreate the missing synchronization signals based on a subset at its input.

 

Regards,

 

Mario.

Contributor
Posts: 14
Registered: ‎06-23-2010

Re: Omnivision camera data format

Thanks a lot for the quick answer!

 

Rick