7387
- 收藏
- 点赞
- 分享
- 举报
hi3531 vi接口在VI_MODE_DIGITAL_CAMERA 外同步信号模式下无法获取图像
vi接一个带外同步信号的视频接口,设置VIDEV属性的接口为VI_MODE_DIGITAL_CAMERA,再设置好时序,但是vi通道无图像中断
设备属性设置:
VI_DEV_ATTR_S DEV_ATTR_CAMPORT_384_288 =
106 {
107 VI_MODE_DIGITAL_CAMERA,
108 VI_WORK_MODE_1Multiplex,
109 {0xFFFF0000, 0x0},
110 VI_SCAN_PROGRESSIVE,
111 /*AdChnId*/
112 {-1, -1, -1, -1},
113 VI_INPUT_DATA_YUYV,
114
115 {
116 /*port_vsync port_vsync_neg port_hsync port_hsync_neg */
117 VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYN C_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
118 /*hsync_act hsync_hhb*/
119 {0, 384, 0,
120 /*vsync0_vhb vsync0_act vsync0_hhb*/
121 0, 288, 0,
122 /*vsync1_vhb vsync1_act vsync1_hhb*/
123 0, 0, 0}
124 }
125 };
[VIU] Version: [Hi3531_MPP_V1.0.D.0 ], Build Time: [Feb 6 2015, 20:22:46]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
0 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev
0 DC 1Mux ffff0000 0 P -1 -1 -1 -1 VYUY ByPass YUV N
2 BT1120S 1Mux ff00 ff P -1 -1 -1 -1 UVUV ByPass YUV N
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat
0 0 0 384 288 384 288 both N N Y sp420 -1 -1
4 0 0 1920 1080 1920 1080 both N N Y sp420 -1 -1
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 0 0 0 0 0 0 0 (null) 0
4 2 267 0 2 0 2 2 75 60 frm 1920
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 0 0 0 0 0 0 0 0 0 0 0
4 140 40000 40008 174 0 1 0 0 0 2 24
-----VI PHYCHN VBI ATTR---------------------------------------------------------
PhyChn VbiId X Y Local Len CasErrN
-----VI CASCADE CHN ATTR---------------------------------------------------------
CasChn Dev PhyChn SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate 422to420
0 N 0 0 0 0 NONE N
4 N 40001 25 265 0 NONE N
-----VI CHN CALL DSU STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL DSU STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL DSU STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
设备属性设置:
VI_DEV_ATTR_S DEV_ATTR_CAMPORT_384_288 =
106 {
107 VI_MODE_DIGITAL_CAMERA,
108 VI_WORK_MODE_1Multiplex,
109 {0xFFFF0000, 0x0},
110 VI_SCAN_PROGRESSIVE,
111 /*AdChnId*/
112 {-1, -1, -1, -1},
113 VI_INPUT_DATA_YUYV,
114
115 {
116 /*port_vsync port_vsync_neg port_hsync port_hsync_neg */
117 VI_VSYNC_PULSE, VI_VSYNC_NEG_LOW, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYN C_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
118 /*hsync_act hsync_hhb*/
119 {0, 384, 0,
120 /*vsync0_vhb vsync0_act vsync0_hhb*/
121 0, 288, 0,
122 /*vsync1_vhb vsync1_act vsync1_hhb*/
123 0, 0, 0}
124 }
125 };
[VIU] Version: [Hi3531_MPP_V1.0.D.0 ], Build Time: [Feb 6 2015, 20:22:46]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
0 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev
0 DC 1Mux ffff0000 0 P -1 -1 -1 -1 VYUY ByPass YUV N
2 BT1120S 1Mux ff00 ff P -1 -1 -1 -1 UVUV ByPass YUV N
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat
0 0 0 384 288 384 288 both N N Y sp420 -1 -1
4 0 0 1920 1080 1920 1080 both N N Y sp420 -1 -1
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 0 0 0 0 0 0 0 (null) 0
4 2 267 0 2 0 2 2 75 60 frm 1920
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 0 0 0 0 0 0 0 0 0 0 0
4 140 40000 40008 174 0 1 0 0 0 2 24
-----VI PHYCHN VBI ATTR---------------------------------------------------------
PhyChn VbiId X Y Local Len CasErrN
-----VI CASCADE CHN ATTR---------------------------------------------------------
CasChn Dev PhyChn SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate 422to420
0 N 0 0 0 0 NONE N
4 N 40001 25 265 0 NONE N
-----VI CHN CALL DSU STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL DSU STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL DSU STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2015-08-06 21:50:41
-
2015-08-07 16:05:53
-
2017-08-23 16:30:31
-
2018-11-04 12:53:20
-
2017-07-27 14:10:29
-
2016-02-23 16:14:15
-
2017-06-30 15:53:46
-
2016-03-04 17:17:21
-
2016-12-21 17:06:44
-
2018-12-06 19:34:24
-
2016-07-28 20:39:19
-
2017-06-12 09:13:14
-
2017-06-12 18:15:38
-
2016-12-15 16:01:02
-
2017-04-16 00:24:09
-
2016-09-09 12:32:00
-
2015-08-26 19:22:07
-
2021-05-11 17:48:45
-
2018-08-30 14:33:37
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认