- 收藏
- 点赞
- 分享
- 举报
hi3559av100 使用cmos1 输入bt1120,有中断但是图像全部丢失,没有检测到图像宽高
输入的主要配置如下````cpp
combo_dev_attr_t BT1120_DEV1_ATTR =
{
.devno=1,
.input_mode =INPUT_MODE_BT1120,
.data_rate =DATA_RATE_X1,
.img_rect = {0,0,1920,1080},
// {
// .mipi_attr =
// {
// DATA_TYPE_RAW_12BIT,
// HI_MIPI_WDR_MODE_NONE,
// {0, 1, 2, 3, -1, -1, -1, -1}
// }
// }
{
.mipi_attr =
{
DATA_TYPE_RAW_12BIT,
HI_MIPI_WDR_MODE_NONE,
{0, 1, 2, 3, -1, -1, -1, -1}
}
}
};
VI_DEV_ATTR_S DEV_ATTR_FPGA_BT1120_1080P_BASE =
{
VI_MODE_BT1120_STANDARD,
VI_WORK_MODE_1Multiplex,
{0x00FF0000, 0xFF000000},
VI_SCAN_PROGRESSIVE,
{-1, -1, -1, -1},
VI_DATA_SEQ_UVUV,
{
// /port_vsync port_vsync_neg port_hsync port_hsync_neg /
// VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,
// VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,
VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1920, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 1080, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
VI_DATA_TYPE_YUV,
HI_FALSE,
{1920 , 1080},
{
{
{1920 , 1080},
},
{
VI_REPHASE_MODE_NONE,
VI_REPHASE_MODE_NONE
}
},
{
WDR_MODE_NONE,
1080
},
DATA_RATE_X1
};
VI_PIPE_ATTR_S PIPE_FPGA_BT1120_ATTR_1080P_YUV422 =
{
VI_PIPE_BYPASS_NONE, HI_TRUE, HI_TRUE,
1920, 1080,
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
COMPRESS_MODE_NONE,
DATA_BITWIDTH_8,
HI_FALSE,
{
PIXEL_FORMAT_YVU_SEMIPLANAR_420,
DATA_BITWIDTH_8,
VI_NR_REF_FROM_RFR,
COMPRESS_MODE_NONE
},
HI_FALSE,
{ -1, -1}
};
//cyclone fpga bt1120 input
VI_CHN_ATTR_S CHN_FPGA_BT1120_ATTR_1920x1080_420_SDR8_LINEAR =
{
{1920, 1080},
PIXEL_FORMAT_YUV_SEMIPLANAR_420,
DYNAMIC_RANGE_SDR8,
VIDEO_FORMAT_LINEAR,
COMPRESS_MODE_NONE,
0, 0,
0,
{
使用cat /proc/umap/vi显示如下
```cpp
~ # cat /proc/umap/vi
[VI] Version: [Hi3559AV100_MPP_V2.0.0.6 B020 Release], Build Time[Apr 3 2018, 18:11:00]
-------------------------------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
offline offline offline offline offline offline offline offline
-------------------------------VI STITCH GRP ATTR----------------------------------------------------------
StitchGrp bStitch PipeNum PipeId
-------------------------------VI DEV ATTR1----------------------------------------------------------------
DevID DevEn BindPipe Width Height IntfM WkM ComMsk0 ComMsk1 ScanM
7 Y Y 1920 1080 BT1120S 1Mux ff0000 ff000000 P
-------------------------------VI DEV ATTR2----------------------------------------------------------------
DevID AD0 AD1 AD2 AD3 Seq DataType DataRev BasW BasH HReph VReph WDRMode DataRate
7 -1 -1 -1 -1 UVUV YUV N 1920 1080 NONE NONE None X1
-------------------------------VI BIND ATTR----------------------------------------------------------------
MipiDev DevID PipeNum PipeId
-1 7 1 0,
-------------------------------VI DEV TIMING ATTR----------------------------------------------------------
DevID DevTimingEn DevFrmRate DevWidth DevHeight
-------------------------------VI PIPE ATTR----------------------------------------------------------------
PipeID BypassMode YuvSkip IspBypass Width Height PixFmt BitWidth NrEn SharpenEn CompressMode DiscProPic SrcFRate DstFRate
0 BypassNone Y Y 1920 1080 SP420 8 N N None N -1 -1
-------------------------------VI PIPE NR ATTR----------------------------------------------------------------
PipeID BitWidth CompressMode PixFmt RefSrc
-------------------------------VI PIPE DUMP ATTR--------------------------------------------------------
PipeID Enable Depth
-------------------------------VI CHN ATTR----------------------------------------------------------------
PipeID ChnID Width Height Mirror Flip SrcFRate DstFRate PixFmt VideoFmt DynamicRange CompressMode Depth Align
0 0 1920 1080 N N -1 -1 SP420 LINEAR SDR8 None 0 0
-------------------------------VI EXTCHN ATTR----------------------------------------------------------------
PipeID ChnID SrcChn Width Height SrcFRate DstFRate PixFmt DynamicRange CompressMode Depth Align
-------------------------------VI CHN CROP INFO----------------------------------------------------------------
PipeID ChnID CropEn CoorType CoorX CoorY Width Height TrimX TrimY TrimWid TrimHgt
0 0 N RIT 0 0 0 0 0 0 0 0
-------------------------------VI CHN ROTATION INFO----------------------------------------------------------------
PipeID ChnID Rotation
0 0 0
-------------------------------VI CHN LDC INFO----------------------------------------------------------------
PipeID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio
0 0 N N 0 0 0 0 0 0
-------------------------------VI CHN ROTATIO_EX INFO----------------------------------------------------------------
PipeID ChnID Enable ViewType Angle XOffset YOffset Width Height
0 0 N ALL 0 0 0 0 0
-------------------------------VI CHN SPREAD INFO----------------------------------------------------------------
PipeID ChnID Enable OutW OutH Coef
0 0 N 0 0 0
-------------------------------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 INFO-------------------------------------------------------------
PipeID ChnID Mode Motion PdtType BufNum CropRatio FrmRate GyroRange GyroBitWidth CamSteady Scale RotateMatrix
-------------------------------VI DIS ATTR INFO------------------------------------------------------------------
PipeID ChnID DisChn Enable MovSub Roef Timelag ViewAngle bStillCrop HorLimit VerLimit
-------------------------------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
0 0 Y N N 0 0 SP420 LINEAR SDR8 None 0
-------------------------------VI PIPE STATUS-------------------------------------------------------------
PipeID Enable IntCnt FrameRate LostFrame VbFail Width Height
0 Y 32539 0 32537 0 1920 1080
-------------------------------VI CHN STATUS--------------------------------------------------------------
PipeID ChnID Enable FrameRate LostFrame VbFail Width Height
0 0 Y 0 0 0 0 0
-------------------------------VI PIPE Statistic-----------------------------------------------------------
PipeID RecvPic LostCnt BufCnt CurSoftTm MaxSoftTm CurTaskTm MaxTaskTm
0 0 0 0 0 0 0 0
-------------------------------VI HW STATISTIC------------------------------------------------------------
ProcIdx HWCostTm MaxHWCostTm CycleCnt MaxCycleCnt
0 0 0 0 0
1 0 0 0 0
可以看到IntCnt和LostFrame都在同步增长,没有接收到有效的图像数据,求助```cpp
~ # cat /proc/umap/vi
[VI] Version: [Hi3559AV100_MPP_V2.0.0.6 B020 Release], Build Time[Apr 3 2018, 18:11:00]
———————————————-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
offline offline offline offline offline offline offline offline
———————————————-VI STITCH GRP ATTR—————————————————————————————
StitchGrp bStitch PipeNum PipeId
———————————————-VI DEV ATTR1————————————————————————————————
DevID DevEn BindPipe Width Height IntfM WkM ComMsk0 ComMsk1 ScanM
7 Y Y 1920 1080 BT1120S 1Mux ff0000 ff000000 P
———————————————-VI DEV ATTR2————————————————————————————————
DevID AD0 AD1 AD2 AD3 Seq DataType DataRev BasW BasH HReph VReph WDRMode DataRate
7 -1 -1 -1 -1 UVUV YUV N 1920 1080 NONE NONE None X1
———————————————-VI BIND ATTR————————————————————————————————
MipiDev DevID PipeNum PipeId
-1 7 1 0,
———————————————-VI DEV TIMING ATTR—————————————————————————————
DevID DevTimingEn DevFrmRate DevWidth DevHeight
———————————————-VI PIPE ATTR————————————————————————————————
PipeID BypassMode YuvSkip IspBypass Width Height PixFmt BitWidth NrEn SharpenEn CompressMode DiscProPic SrcFRate DstFRate
0 BypassNone Y Y 1920 1080 SP420 8 N N None N -1 -1
———————————————-VI PIPE NR ATTR————————————————————————————————
PipeID BitWidth CompressMode PixFmt RefSrc
———————————————-VI PIPE DUMP ATTR————————————————————————————
PipeID Enable Depth
———————————————-VI CHN ATTR————————————————————————————————
PipeID ChnID Width Height Mirror Flip SrcFRate DstFRate PixFmt VideoFmt DynamicRange CompressMode Depth Align
0 0 1920 1080 N N -1 -1 SP420 LINEAR SDR8 None 0 0
———————————————-VI EXTCHN ATTR————————————————————————————————
PipeID ChnID SrcChn Width Height SrcFRate DstFRate PixFmt DynamicRange CompressMode Depth Align
———————————————-VI CHN CROP INFO————————————————————————————————
PipeID ChnID CropEn CoorType CoorX CoorY Width Height TrimX TrimY TrimWid TrimHgt
0 0 N RIT 0 0 0 0 0 0 0 0
———————————————-VI CHN ROTATION INFO————————————————————————————————
PipeID ChnID Rotation
0 0 0
———————————————-VI CHN LDC INFO————————————————————————————————
PipeID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio
0 0 N N 0 0 0 0 0 0
———————————————-VI CHN ROTATIO_EX INFO————————————————————————————————
PipeID ChnID Enable ViewType Angle XOffset YOffset Width Height
0 0 N ALL 0 0 0 0 0
———————————————-VI CHN SPREAD INFO————————————————————————————————
PipeID ChnID Enable OutW OutH Coef
0 0 N 0 0 0
———————————————-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 INFO——————————————————————————————-
PipeID ChnID Mode Motion PdtType BufNum CropRatio FrmRate GyroRange GyroBitWidth CamSteady Scale RotateMatrix
———————————————-VI DIS ATTR INFO—————————————————————————————————
PipeID ChnID DisChn Enable MovSub Roef Timelag ViewAngle bStillCrop HorLimit VerLimit
———————————————-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
0 0 Y N N 0 0 SP420 LINEAR SDR8 None 0
———————————————-VI PIPE STATUS——————————————————————————————-
PipeID Enable IntCnt FrameRate LostFrame VbFail Width Height
0 Y 32539 0 32537 0 1920 1080
———————————————-VI CHN STATUS———————————————————————————————
PipeID ChnID Enable FrameRate LostFrame VbFail Width Height
0 0 Y 0 0 0 0 0
———————————————-VI PIPE Statistic—————————————————————————————-
PipeID RecvPic LostCnt BufCnt CurSoftTm MaxSoftTm CurTaskTm MaxTaskTm
0 0 0 0 0 0 0 0
———————————————-VI HW STATISTIC——————————————————————————————
ProcIdx HWCostTm MaxHWCostTm CycleCnt MaxCycleCnt
0 0 0 0 0
1 0 0 0 0
```
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
2019-01-07 14:47:21
-
2020-12-07 09:34:06
-
2019-05-16 11:44:42
-
2024-02-23 19:01:34
-
2016-01-04 22:40:16
-
2020-03-03 12:39:42
-
2019-08-12 17:54:24
-
2017-07-19 18:58:21
-
2017-07-24 14:07:39
-
2020-05-20 11:45:53
-
2019-05-14 17:38:53
-
2017-03-21 10:45:45
-
2019-08-23 08:47:30
-
2019-01-03 10:51:56
-
2020-07-22 11:16:58
-
2023-11-03 17:02:00
-
2020-04-17 09:40:46
-
2020-08-10 10:13:17
-
2019-05-20 18:21:57
-
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板子运行自己编码的程序
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明