RT1052 CSI & Bayer Input

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RT1052 CSI & Bayer Input

跳至解决方案
2,947 次查看
variable_andrew
Senior Contributor I

We have a camera connected to the CSI that provides data in Bayer 12-bit format.

We're able to get the image data and pretend it's just black/white data to either send over USB or display to an LCD, but what if we want to convert to RGB?

The RT1052 RM notes that the CSI accepts Bayer format data, but what can you do with this? As in: when CSI "accepts" the Bayer format data, and you can use CSI_CSICR2[BTS] to determine the Bayer tile start, is the CSI interface going to enable automatic conversion to RGB565 or RGB888 via the PXP perhaps? If so - how can you do this?

If the CSI and PXP are unable to do the Bayer to RGB conversion, then what is the purpose of setting the CSICR2 BTS bit? Just for statistics?

标签 (1)
0 项奖励
回复
1 解答
2,837 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hello Andrew,

 

The IPU can't support converting bayer format to RGB, it can only use generic mode to receive the CSI input bayer data to memory. To make the conversion you will need to use some graphics library.

 

Sorry for the inconvenience this may cause you.

 

Best regards,

Felipe

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,838 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hello Andrew,

 

The IPU can't support converting bayer format to RGB, it can only use generic mode to receive the CSI input bayer data to memory. To make the conversion you will need to use some graphics library.

 

Sorry for the inconvenience this may cause you.

 

Best regards,

Felipe

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复