Can imx6 support for RGB RAW camera?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can imx6 support for RGB RAW camera?

7,214 Views
xudong
Contributor I

Most high-res cameras only output RGB Raw format data, such as 8MP OV8825, 13MP OV13850,  but the RAW RGB format is not support by the IPU of imx6 form the datasheet. The Android BSP of  SABRE-SD Board has also only provided the code of 5MP cameras which output YUV format sensor data. Now, we want to add 8MP or 13MP cameras to our platform, how can we resolve the issue? Do you have any solutions for this issue?

Rgds

Dong Xu

Labels (4)
4 Replies

1,298 Views
Yuri
NXP Employee
NXP Employee

  According to i.MX6 DQ Reference Manual [section 9.2.1.1 (Camera Ports) ],

the IPU  supports Raw (Bayer), RGB, YUV 4:4:4, YUV 4:2:2 and grayscale

data formats, up to 16 bits per value (component).

  I am afraid the IPU does not support conversion Bayer to RGB / YUV in hardware.

Bayer data is a type of generic data from an image sensor. These data should be converted

to the RGB space or YUV space by software (using ARM cores).


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,298 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xu

yes, i.MX6 IPU can support camera raw format data. Please look at links below

https://community.freescale.com/message/331888

https://community.freescale.com/message/309833#309833

https://community.freescale.com/message/309069#309069

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,298 Views
xudong
Contributor I

The following is copied from the links you gave me:

    Got some comfirmed information from IC designer, for iMX6, the IPU can't support converting bayer format to RGB/YUV on the fly, it can only use generic mode to receive the CSI input bayer data to memory. The CPD can only be used to convert 10 bits color data to 8 bits.

    On iMX5x IPU, there is a module called "ISP" which can be used to handle bayer format data, but it was also not fully verified, so in the iMX5x document, the ISP section had been removed. And on iMX6, that "ISP" module had been removed.

   That means I have to use software to convert the raw RGB to RGB/YUV format for preview and capture, i think it will be very complex and hard to realize. Do you have the converting code or related solutions?

    Thanks!

     Xu

0 Kudos

1,298 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xu

actually seems there is just confusion in terminology:

format can be "raw" or "RGB" but not both "raw RGB".

I provided links for "raw format" - actually this may any (even weird) format,

it can be stored in memory, then in software one can convert it

to needed format. Hope this clarify.


Regarding "Do you have the converting code or related solutions?" - answer no.

Since this is very specific for every non-standard format.


Full list of supported formats is given in Table 66 "Camera Input Signal Cross

Reference, Format, and Bits Per Cycle" i.MX6DQ Datasheet (rev.3, 2/2014)

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf

0 Kudos