3756
- 收藏
- 点赞
- 分享
- 举报
缓冲池系统会自动生成,这个生成规律是什么?
例如有一个测试时注意工作的
1.配置缓冲池代码
u32BlkSize = 843264;
stVbConf.u32MaxPoolCnt = 64; //整个系统中可容纳的缓存池个数,即是astCommPool[]缓冲池最多64个,
stVbConf.astCommPool[0].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[0].u32BlkCnt = u32ViChnCnt * 16;
HI_MPI_VB_SetConf(&stVbConf);
2.其他代码工作
8个摄像头->VPSS->在VGA上9分屏显示,最后通过数据回写的方式在VGA内容映射到CVBS(SD0)设备上。
VGA配置是VO_OUTPUT_1366x768_60,
在启动找个测试程序时,cat /proc/umap/vb 查看缓冲池情况如下:
# cat /proc/umap/vb
[VB] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:10:54]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----VB SUPPLEMENT ATTR--------------------------------------------------------
Supplement Config: 0
Supplement Size: 0
Vb Total Cnt: 139
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0
Size 843264
Count 128
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x86b93000 0x 0 1 -1 843264 128 105(105) 100
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
39 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
77 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
69 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
79 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
96 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
65 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
67 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
108 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
125 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
83 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
80 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
78 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
87 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
37 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
31 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
62 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
38 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
73 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
100 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
72 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 10 2 0 0 0 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 0 0
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
1 0x8dbf6000 0x 0 0 -2 1585152 8 0(0) 0
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
0 0 15 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0
1 0 15 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0
2 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 0 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 0 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
6 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 8 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
2 0x8e80e000 0x 0 0 -2 622080 3 1(1) 1
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PoolId=1和PoolId=2缓冲池不是我创建的,这是怎么来的?
我猜测是:id=1缓冲池是VGA显示??id=2是CVBS显示使用吗?
好像没文档说明哪些情况下会自动生成缓冲池,那么我配置缓冲池是否需要注意下不要把MPP的内存分配光,留一点给系统?
1.配置缓冲池代码
u32BlkSize = 843264;
stVbConf.u32MaxPoolCnt = 64; //整个系统中可容纳的缓存池个数,即是astCommPool[]缓冲池最多64个,
stVbConf.astCommPool[0].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[0].u32BlkCnt = u32ViChnCnt * 16;
HI_MPI_VB_SetConf(&stVbConf);
2.其他代码工作
8个摄像头->VPSS->在VGA上9分屏显示,最后通过数据回写的方式在VGA内容映射到CVBS(SD0)设备上。
VGA配置是VO_OUTPUT_1366x768_60,
在启动找个测试程序时,cat /proc/umap/vb 查看缓冲池情况如下:
# cat /proc/umap/vb
[VB] Version: [Hi3521A_MPP_V1.0.4.0 B040 Release], Build Time[Jun 8 2016, 17:10:54]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----VB SUPPLEMENT ATTR--------------------------------------------------------
Supplement Config: 0
Supplement Size: 0
Vb Total Cnt: 139
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0
Size 843264
Count 128
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x86b93000 0x 0 1 -1 843264 128 105(105) 100
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
39 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
77 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
69 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
79 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
96 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
65 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
67 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
108 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
125 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
83 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
80 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
78 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
87 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
37 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
31 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
62 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
38 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
11 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
73 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
100 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
72 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 10 2 0 0 0 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 0 0
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
1 0x8dbf6000 0x 0 0 -2 1585152 8 0(0) 0
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
0 0 15 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0
1 0 15 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0
2 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
4 0 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 0 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
6 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 8 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
2 0x8e80e000 0x 0 0 -2 622080 3 1(1) 1
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PoolId=1和PoolId=2缓冲池不是我创建的,这是怎么来的?
我猜测是:id=1缓冲池是VGA显示??id=2是CVBS显示使用吗?
好像没文档说明哪些情况下会自动生成缓冲池,那么我配置缓冲池是否需要注意下不要把MPP的内存分配光,留一点给系统?
我来回答
回答4个
时间排序
认可量排序
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
322018-09-18 20:18:08
-
2018-12-12 11:27:25
-
152013-11-25 21:48:13
-
322018-01-16 10:34:43
-
2020-01-01 16:51:17
-
22020-06-10 10:41:13
-
2019-01-04 15:53:19
-
2019-12-07 10:53:22
-
2018-12-07 14:32:47
-
12019-07-05 11:48:27
-
2016-06-28 21:52:51
-
2008-09-17 17:14:07
-
2016-01-03 12:51:41
-
2019-02-19 13:51:27
-
2015-03-25 14:19:40
-
2020-11-02 09:49:27
-
2019-08-13 10:31:05
-
2019-01-21 11:14:16
-
2018-12-12 10:35:03
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认