[MCU] 打不开ipipe

[复制链接]
 楼主| zhenykun 发表于 2019-6-29 22:31 | 显示全部楼层 |阅读模式
请问vpfe中ipipe和preview,resizer的关系是怎样的,ipipe驱动怎么用的,我始终打不开ipipe,有谁知道帮忙解决下,谢谢!
wyjie 发表于 2019-6-29 22:39 | 显示全部楼层

楼主详细说说怎么回事啊,这么说太笼统了
jlyuan 发表于 2019-6-29 22:43 | 显示全部楼层
DM368吗   这个驱动不太熟悉
 楼主| zhenykun 发表于 2019-6-29 22:45 | 显示全部楼层

其实还是不大明白,我再琢磨琢磨吧,多谢了哈,结贴了先
zhangmangui 发表于 2019-6-30 15:33 | 显示全部楼层
1. The line width limitation on IPIPE module is 2176 pixels per line. As you need 2456 pixels per line for your 5MP resolution, you cannot use IPIPE/RSZ in single pass. You would have to do vertical slicing of the frame and then do the imagepipe/resize operation on each vertical slice.

2. RSZ can take input from DDR or directly from ISIF (parallel input port interface). But when directly taking input from ISIF, the RSZ runs on input pixel clock and this more is calleed continuous mode. In this mode, generally, it is not possible to break the resize operation during the vertical blanking duration.

3. For your usecase, you need to run RSZ in DDR input mode as you need three different resolutions and you have only two resizer ports (RSZA and RSZB) to generate the YUV data.

So my suggestion for your data flow is as follows:

If input is bayer format

5MP Sensor --> ISIF --> DDR (5MP bayer data)  --> IPIPE (vertical slice mode) --> RSZA --> DDR (5MP YUV)

                                                                                                                                             | --> RSZB --> DDR (1080P YUV)

DDR(1080P YUV) --> RSZA --> DDR (720x480 YUV)

If input is YUV format

5MP YUV sensor --> ISIF --> DDR (5MP YUV)  --> IPIPE (vertical slice mode) --> RSZA --> DDR (1080P YUV)

                                                                                                                                         | --> RSZB --> DDR (720x480 YUV)

您需要登录后才可以回帖 登录 | 注册

本版积分规则

868

主题

11535

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部