- 收藏
- 点赞
- 分享
- 举报
HI3559设置VI_OFFLINE_VPSS_ONLINE,无中断触发
根据HI3559 SDK2.0.3.1开发包运行例程vio中的SAMPLE_VIO_4x4K30_WBC程序,hi3559接收MIPI0和MIPI2的FPGA数据,PIPE MODE设置为VI_OFFLINE_VPSS_ONLINE,显示两路均无中断,采集一路的时候,也没有中断。
以下是logmpp的信息
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
<3>[ vi] [func]:vi_drv_cap_is_wrong_int [line]:12449 [info]:pipe:2 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
以下是hi_mipi的信息
~ # cat /proc/umap/hi_mipi
Module: [MIPI], Build Time: [Sep 16 2019, 16:37:29]
——-MIPI LANE DIVIDE MODE——————————————————————————————————————————————-
MODE LANE DIVIDE
7 4+4+4+4
——-MIPI DEV ATTR——————————————————————————————————————————————————-
Devno WorkMode DataRate DataType WDRMode LinkId ImgX ImgY ImgW ImgH
0 MIPI X1 YUV422 None 0, 1 0 0 1920 1080
2 MIPI X1 YUV422 None 2, 3 0 0 1920 1080
——-MIPI LANE INFO——————————————————————————————————————————————————-
Devno LaneCnt LaneID
0 4 0, 1, 2, 3, -1, -1, -1, -1
2 4 4, 5, 6, 7, -1, -1, -1, -1
——-MIPI LINK INFO———————————————————————————
LinkIdx LaneCount LaneId PhyData0 PhyData1 AlignedData0 AlignedData1 ValidLane
0 2 0, 2 0x2b 0x2b 0xa9 0x0 0
1 2 1, 3 0xbb 0xbb 0xdd 0x77 1, 3
2 2 4, 6 0x0 0x0 0x0 0x0 4, 6
3 2 5, 7 0x70 0x70 0xf9 0x3f 5, 7
——-MIPI DETECT INFO——————————————————————————
Devno VC width height
0 0 1920 1080
0 1 0 0
0 2 0 0
0 3 0 0
2 0 1920 1080
2 1 0 0
2 2 0 0
2 3 0 0
——-FSM TIMEOUT AND ESCAPE INFO——————————————————————-
phy clkTOutCnt d0TOutCnt d1TOutCnt d2TOutCnt d3TOutCnt clkEscCnt d0EscCnt d1EscCnt d2EscCnt d3EscCnt
0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0 0 0
——-MIPI INT ERROR INFO—————————————————————————————-
Devno vc0CRC vc1CRC vc2CRC vc3CRC vc0OrderErr vc1OrderErr vc2OrderErr vc3OrderErr vc0NMatCnt vc1NMatCnt vc2NMatCnt vc3NMatCnt
0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0 0
Devno HCntErr vc0HECC vc1HECC vc2HECC vc3HECC vc0DtErr vc1DtErr vc2DtErr vc3DtErr
0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0
Devno CMD_FIFO_RERR DATA_FIFO_RERR CMD_FIFO_WERR DATA_FIFO_WERR
0 0 0 0 0
2 0 0 0 0
——-ALING ERROR INFO———————————————————
Devno FIFO_FullErr Lane0Err Lane1Err Lane2Err Lane3Err Lane4Err Lane5Err Lane6Err Lane7Err Lane8Err Lane9Err Lane10Err Lane11Err Lane12Err Lane13Err Lane14Err Lane15Err
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Devno FIFO_FullErr Lane0Err Lane1Err Lane2Err Lane3Err Lane4Err Lane5Err Lane6Err Lane7Err Lane8Err Lane9Err Lane10Err Lane11Err Lane12Err Lane13Err Lane14Err Lane15Err
2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
~ #
以下是vi的信息
~ # cat /proc/umap/vi
[VI] Version: [Hi3559AV100_MPP_V2.0.3.1 B020 Release], Build Time[Sep 16 2019, 16:21:48]
———————————————-MODULE PARAM —————————————————————————————————————-
DetectErrFrame DropErrFrame VbSource
0 0 Common
———————————————-VI MODE ————————————————————————————————————————
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode Pipe6Mode Pipe7Mode
offline offline offline offline offline offline offline offline
———————————————-VPSS MODE ———————————————————————————————————————
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode Pipe6Mode Pipe7Mode
online online online online online online online online
———————————————-VI STITCH GRP ATTR———————————————————————————————————
StitchGrp bStitch Mode MaxPTSGap PipeNum PipeId
———————————————-VI DEV ATTR1——————————————————————————————————————
DevID DevEn BindPipe Width Height IntfM WkM ComMsk0 ComMsk1 ScanM
0 Y Y 1920 1080 MIPI_YUV422 1Mux ff000000 ff0000 P
2 Y Y 1920 1080 MIPI_YUV422 1Mux ff000000 ff0000 P
———————————————-VI DEV ATTR2——————————————————————————————————————
DevID AD0 AD1 AD2 AD3 Seq DataType DataRev BasW BasH HReph VReph WDRMode CacheLine DataRate
0 -1 -1 -1 -1 UVUV YUV N 1920 1080 NONE NONE None 1080 X1
2 -1 -1 -1 -1 UVUV YUV N 1920 1080 NONE NONE None 1080 X1
———————————————-VI BIND ATTR——————————————————————————————————————
DevID PipeNum PipeId
0 1 0
2 1 2
———————————————-VI DEV TIMING ATTR———————————————————————————————————
DevID DevTimingEn DevFrmRate DevWidth DevHeight
———————————————-VI PIPE ATTR1—————————————————————————————————————-
PipeID BypassMode YuvSkip IspBypass Width Height PixFmt BitWidth NrEn SharpenEn CompressMode
0 BypassNone N Y 1920 1080 SP422 8 N N None
2 BypassNone N Y 1920 1080 SP422 8 N N None
———————————————-VI PIPE ATTR2—————————————————————————————————————-
DiscProPic SrcFRate DstFRate FrameSource RepeatMode VCNum IntType EarlyLine VbPoolId
N -1 -1 DEV NONE 0 START 0 -1
N -1 -1 DEV NONE 0 START 0 -1
———————————————-VI PIPE CROP ATTR———————————————————————————————————-
PipeID CropEn CoorX CoorY Width Height
———————————————-VI PIPE NR ATTR————————————————————————————————————-
PipeID BitWidth CompressMode PixFmt RefSrc Intf Version OptMode
———————————————-VI PIPE NRX_V1 PARAM——————————————————————————————————
PipeID ISO nRef SBS0 SBS1 SBS2 SDS0 SDS1 SDS2 STH0 STH1 STH2 MATH TFS SFC TFC CSFS
———————————————-VI PIPE USER PIC ATTR—————————————————————————————————-
PipeID Enable ChnID Mode BgColor PicID Width Height Stride PixFmt PoolID PhyAddr
———————————————-VI PIPE DUMP ATTR———————————————————————————————————-
PipeID Enable Depth DumpType
———————————————-VI PIPE BNR DUMP ATTR—————————————————————————————————-
PipeID Enable Depth
———————————————-VI CHN ATTR1——————————————————————————————————————
PipeID ChnID Width Height Mirror Flip SrcFRate DstFRate PixFmt VideoFmt DynamicRange
———————————————-VI CHN ATTR2——————————————————————————————————————
CompressMode Depth Align VbPoolId
———————————————-VI EXTCHN ATTR1————————————————————————————————————-
PipeID ChnID Source SrcChn Width Height SrcFRate DstFRate PixFmt DynamicRange CompressMode Depth
———————————————-VI EXTCHN ATTR2————————————————————————————————————-
Align VbPoolId
———————————————-VI CHN LOW DELAY ATTR—————————————————————————————————-
PipeID ChnID Enable LineCnt Effect
———————————————-VI CHN CROP INFO————————————————————————————————————
PipeID ChnID CropEn CoorType CoorX CoorY Width Height TrimX TrimY TrimWid TrimHgt
———————————————-VI CHN ROTATION INFO——————————————————————————————————
PipeID ChnID Rotation
———————————————-VI CHN LDC INFO————————————————————————————————————-
PipeID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio
———————————————-VI CHN ROTATIO_EX INFO—————————————————————————————————
PipeID ChnID Enable ViewType Angle XOffset YOffset Width Height
———————————————-VI CHN SPREAD INFO———————————————————————————————————
PipeID ChnID Enable OutW OutH Coef
———————————————-VI EXTCHN FISHEYE ATTR—————————————————————————————————
PipeID ChnID Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength
———————————————-VI EXTCHN FISHEYE REGION ATTR—————————————————————————————-
PipeID ChnID RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH
———————————————-VI DIS CONFIG INFO1——————————————————————————————————-
PipeID ChnID Mode Motion PdtType BufNum CropRatio FrmRate GyroRange GyroBitWidth CamSteady Scale
———————————————-VI DIS ATTR INFO————————————————————————————————————
PipeID ChnID DisChn Enable GdcBypass MovSub Roef Timelag ViewAngle bStillCrop HorLimit VerLimit Strength
———————————————-ISP 2DofDIS INFO————————————————————————————————————
PipeID Enable
0 N
2 N
———————————————-VI SNAP ATTR INFO———————————————————————————————————-
PipeID Type bLoadCCM FrameCnt rptTimes bZSL FrmDepth RollbaskMs Interval
———————————————-VI SNAP STATUS INFO——————————————————————————————————-
Status bDoublePipe VideoPipe SnapPipe VcNum ProDelayInt
———————————————-VI CHN OUTPUT RESOLUTION————————————————————————————————
PipeID ChnID Enable Mirror Flip Width Height PixFmt VideoFmt DynamicRange CompressMode FrameRate
———————————————-VI PIPE STATUS—————————————————————————————————————
PipeID Enable IntCnt FrameRate LostFrame VbFail Width Height
0 Y 30899 1 30896 0 1920 1080
2 Y 30898 1 30895 0 1920 1080
———————————————-VI CHN STATUS—————————————————————————————————————-
PipeID ChnID Enable FrameRate LostFrame VbFail Width Height
———————————————-VI PIPE Statistic———————————————————————————————————-
PipeID RecvPic LostCnt BufCnt CurSoftTm MaxSoftTm CurTaskTm MaxTaskTm LowBandWidth BeBufNum
0 1 0 0 261 261 12904684 12904684 0 0
2 1 0 0 156 156 18652520 18652520 0 0
———————————————-VI HW STATISTIC————————————————————————————————————-
ProcIdx HWCostTm MaxHWCostTm CycleCnt MaxCycleCnt
0 12904372 12904372 0 0
1 18652319 18652319 0 0
———————————————-VI PROC OFFLINE IRQ STATISTIC—————————————————————————————
ProcIdx SubmitCnt IntCnt ListCnt TmOutCnt BusErrCnt DcmpErrCnt StartErrCnt NodeIdErrCnt
0 1 1 0 1 0 0 0 0
1 1 1 0 1 0 0 0 0
———————————————-VI PROC ONLINE IRQ STATISTIC—————————————————————————————-
ProcIdx IntCnt FrmStartCnt FrmErrCnt FrmFlowCnt BusErrCnt DcmpErrCnt CfgLossCnt FirstIntPts
0 0 0 0 0 0 0 0 227090346
1 0 0 0 0 0 0 0 0
———————————————-VI PROC COST TIME STATISTIC—————————————————————————————-
ProcIdx IntCntPerSec MaxIntCntPerSec CurIntCostTm MaxIntCostTm TotalIntCostTm IntTmPerSec MaxIntTmPerSec
0 1 1 5746129 5746129 5746129 5746129 5746129
1 1 1 5746138 5746138 5746138 5746138 5746138
———————————————-VI DEV DETECT INFO———————————————————————————————————
DevID ValidWidth ValidHeight TotalWidth
0 1920 1080 8889
2 1920 1080 8887
———————————————-VI BAS DETECT INFO———————————————————————————————————
DevID ValidWidth ValidHeight TotalWidth
0 0 0 0
———————————————-VI ISP DETECT INFO———————————————————————————————————
ISPID ValidWidth ValidHeight TotalWidth
0 1920 1080 8889
2 1920 1080 8887
~ #
但是我设置只采集一路的时候,设置PIPE MODE为VI_ONLINE_VPSS_OFFLINE,MIPI 0 和2 的数据都能采集到。请问各位大牛,有没有好的解决思路。
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
2019-03-05 13:54:29
-
2016-05-17 15:40:02
-
2016-08-24 11:59:27
-
2022-04-27 13:55:39
-
2018-11-30 14:57:05
-
2016-08-30 18:53:24
-
2019-10-25 18:40:13
-
2014-12-11 20:44:47
-
2015-10-23 10:51:36
-
2020-12-08 13:26:19
-
2017-10-14 13:46:17
-
2020-06-24 10:18:18
-
2018-03-24 10:32:00
-
2015-12-23 14:30:13
-
2017-08-08 16:18:20
-
2020-02-07 21:31:46
-
2019-07-17 15:05:37
-
2016-04-10 17:45:15
-
2019-06-05 16:16:50
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明