5467
- 收藏
- 点赞
- 分享
- 举报
雄迈3516C二次开发做YUV抓拍vi_dump问题,帮助解决问题送新版SDK哦!
本帖最后由 peterlink 于 2016-2-25 14:40 编辑
大家好,如题,使用的是0A0的SDK,imx122传感器。
使用sample_envc 编译做jpeg抓拍可以,希望做vi抓拍YUV格式失败,调用 HI_MPI_VI_GetFrame
报错:
# cat /dev/logmpp
<3>[ vi] [Func]:ViuUserGetFrame [Line]:385 [Info]:<3>[ vi] vichn0's user buf depth is 0 or there is no frame in it and time out
我的初始化流程如下:
MPP初始化:
1. HI_MPI_VB_SetConf(&struVbConf);
2. HI_MPI_VB_Init()
3. HI_MPI_SYS_SetConf(&struSysConf);
4. HI_MPI_SYS_Init();
VI初始化
1. HI_MPI_VI_SetDevAttr
2. HI_MPI_VI_EnableDev
3. HI_MPI_VI_SetChnAttr
4. HI_MPI_VI_EnableChn
5. HI_MPI_VI_SetFrameDepth
一路都可以成功,但最后是调用 HI_MPI_VI_GetFrame 就报错,哪位好心给个提示,不胜感激!
——————————————————————————————————————————————————————————
# cat /proc/umap/vb
[VB] Version: [Hi3518_MPP_V2.0.A.0 ], Build Time[Apr 1 2015, 19:51:50]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 4179968 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Count 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
0 0x84276000 0xc5000000 1 4179968 2 2(2) 2
——————————————————————————————————————————————————————————
# cat /proc/umap/sys
[SYS] Version: [Hi3518_MPP_V2.0.A.0 ], Build Time[Apr 1 2015, 19:51:51]
System State: 0 (0: initialized; 1: exiting; 2: exited)
-----MEM TABLE--------------------------------------------------------
MOD MODNAME DEV CHN MMZNAME
-----BIND RELATION TABLE--------------------------------------------------------
FirMod FirDev FirChn SecMod SecDev SecChn TirMod TirDev TirChn SendCnt rstCnt
——————————————————————————————————————————————————————————
# cat /proc/umap/chnl
[CHNL] Version: [Hi3518_MPP_V2.0.A.0 ], Build Time[Apr 1 2015, 19:51:50]
Total Chnl Scheduler Count: 3
-----SCHEDULER 0 INFO----------------------------------------------------------
SchdlId VpuNum
0 1
-----VPU INFO------------------------------------------------------------------
VpuId Name State IntCnt TimeCnt VpuCnt ErrCnt InqCnt StartOk StartNo Config Reset
0 VEDU_0 PAUSE 132981 132981 0 0 0 0 0 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Type TskNum State InqCnt StartOk StartNo IntPro
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
-----SCHEDULER 1 INFO----------------------------------------------------------
SchdlId VpuNum
1 1
-----VPU INFO------------------------------------------------------------------
VpuId Name State IntCnt TimeCnt VpuCnt ErrCnt InqCnt StartOk StartNo Config Reset
0 VDA PAUSE 132981 132981 0 0 0 0 0 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Type TskNum State InqCnt StartOk StartNo IntPro
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
-----SCHEDULER 2 INFO----------------------------------------------------------
SchdlId VpuNum
2 1
-----VPU INFO------------------------------------------------------------------
VpuId Name State IntCnt TimeCnt VpuCnt ErrCnt InqCnt StartOk StartNo Config Reset
0 JPEGU_0 PAUSE 132981 132981 0 0 0 0 0 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Type TskNum State InqCnt StartOk StartNo IntPro
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
大家好,如题,使用的是0A0的SDK,imx122传感器。
使用sample_envc 编译做jpeg抓拍可以,希望做vi抓拍YUV格式失败,调用 HI_MPI_VI_GetFrame
报错:
# cat /dev/logmpp
<3>[ vi] [Func]:ViuUserGetFrame [Line]:385 [Info]:<3>[ vi] vichn0's user buf depth is 0 or there is no frame in it and time out
我的初始化流程如下:
MPP初始化:
1. HI_MPI_VB_SetConf(&struVbConf);
2. HI_MPI_VB_Init()
3. HI_MPI_SYS_SetConf(&struSysConf);
4. HI_MPI_SYS_Init();
VI初始化
1. HI_MPI_VI_SetDevAttr
2. HI_MPI_VI_EnableDev
3. HI_MPI_VI_SetChnAttr
4. HI_MPI_VI_EnableChn
5. HI_MPI_VI_SetFrameDepth
一路都可以成功,但最后是调用 HI_MPI_VI_GetFrame 就报错,哪位好心给个提示,不胜感激!
——————————————————————————————————————————————————————————
# cat /proc/umap/vb
[VB] Version: [Hi3518_MPP_V2.0.A.0 ], Build Time[Apr 1 2015, 19:51:50]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 4179968 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Count 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
0 0x84276000 0xc5000000 1 4179968 2 2(2) 2
——————————————————————————————————————————————————————————
# cat /proc/umap/sys
[SYS] Version: [Hi3518_MPP_V2.0.A.0 ], Build Time[Apr 1 2015, 19:51:51]
System State: 0 (0: initialized; 1: exiting; 2: exited)
-----MEM TABLE--------------------------------------------------------
MOD MODNAME DEV CHN MMZNAME
-----BIND RELATION TABLE--------------------------------------------------------
FirMod FirDev FirChn SecMod SecDev SecChn TirMod TirDev TirChn SendCnt rstCnt
——————————————————————————————————————————————————————————
# cat /proc/umap/chnl
[CHNL] Version: [Hi3518_MPP_V2.0.A.0 ], Build Time[Apr 1 2015, 19:51:50]
Total Chnl Scheduler Count: 3
-----SCHEDULER 0 INFO----------------------------------------------------------
SchdlId VpuNum
0 1
-----VPU INFO------------------------------------------------------------------
VpuId Name State IntCnt TimeCnt VpuCnt ErrCnt InqCnt StartOk StartNo Config Reset
0 VEDU_0 PAUSE 132981 132981 0 0 0 0 0 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Type TskNum State InqCnt StartOk StartNo IntPro
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
-----SCHEDULER 1 INFO----------------------------------------------------------
SchdlId VpuNum
1 1
-----VPU INFO------------------------------------------------------------------
VpuId Name State IntCnt TimeCnt VpuCnt ErrCnt InqCnt StartOk StartNo Config Reset
0 VDA PAUSE 132981 132981 0 0 0 0 0 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Type TskNum State InqCnt StartOk StartNo IntPro
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
-----SCHEDULER 2 INFO----------------------------------------------------------
SchdlId VpuNum
2 1
-----VPU INFO------------------------------------------------------------------
VpuId Name State IntCnt TimeCnt VpuCnt ErrCnt InqCnt StartOk StartNo Config Reset
0 JPEGU_0 PAUSE 132981 132981 0 0 0 0 0 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Type TskNum State InqCnt StartOk StartNo IntPro
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-02-24 21:58:52
-
2015-09-30 12:07:18
-
2021-05-26 16:55:29
-
2020-04-07 10:21:24
-
2018-01-14 12:42:03
-
2021-01-15 15:14:46
-
2021-04-22 19:25:47
-
2020-09-01 20:55:24
-
2018-12-24 09:04:26
-
2019-12-21 16:11:00
-
2016-03-10 15:30:32
-
2020-11-11 18:01:05
-
2020-09-22 22:59:20
-
2019-07-18 08:49:09
-
02017-12-21 17:32:22
-
2024-06-06 14:40:53
-
2024-01-23 18:01:13
-
2015-11-20 11:47:36
-
2017-10-30 09:38:15
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认