12.12. VB¶
【Debug Information】
# cat /proc/cvitek/vb
-----VB PUB CONFIG-----------------------------------------------------------------------------------
MaxPoolCnt(512) , MaxBlkCnt(128)
-----COMMON POOL CONFIG-----------------------------------------------------------------------
PoolId( 0) Size( 3145728) Count( 12)
PoolId( 1) Size( 13283328) Count( 5)
-------------------------------------------------------------------------------------------------------------
PoolName : vbpool
PoolId : 0
PhysAddr : 0x130000000
VirtAddr : 0x0
IsComm : 1
Owner : -1
BlkSz : 3145728
BlkCnt : 12
Free : 9
MinFree : 9
BLK BASE VB SYS RGN CHNL VDEC VPSS VENC H264E JPEGE MPEG4E H265E JPEGD VO VI DIS
RC AIO AI AO AENC ADEC AUD VPU ISP IVE USER PROC LOG H264D GDC PHOTO FB
#0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 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 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
#4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 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 1 0 0 0 0 0 0
-------------------------------------------------------------------------------------------------------------
PoolName : vbpool
PoolId : 1
PhysAddr : 0x132400000
VirtAddr : 0x0
IsComm : 1
Owner : -1
BlkSz : 13283328
BlkCnt : 5
Free : 5
MinFree : 5
BLK BASE VB SYS RGN CHNL VDEC VPSS VENC H264E JPEGE MPEG4E H265E JPEGD VO VI DIS
RC AIO AI AO AENC ADEC AUD VPU ISP IVE USER PROC LOG H264D GDC PHOTO FB
#0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 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 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-------------------------------------------------------------------------------------------------------------
【Analysis】
Record the current VB module buffer usage.
【Parameter Description】
Parameter |
Decription |
|
---|---|---|
VB PUB CONFIG |
MaxPoolCnt |
Maximum number of cache pools |
MaxBlkCnt |
The maximum number of cache blocks. |
|
COMMON POOL CONFIG |
PoolId |
Handles to the public cache pool. |
Size |
The size of the block in the cache pool. |
|
Count |
The number of blocks in the cache pool. |
|
PER VB POOL INFO |
PoolName |
Public / private cache pool name, if not set, default to vbpool |
PoolId |
Handles to the public / private cache pool |
|
PhysAddr |
The starting physical address of the public / private cache pool. |
|
VirtAddr |
The starting virtual address of the public / private cache pool. |
|
IsComm |
Whether the cache pool is public. Value:{0, 1}。 |
|
Owner |
The owner of the cache pool. -2:private pool -1:public pool |
|
BlkSz |
The size of the cache block in the cache pool. |
|
BlkCnt |
The number of cache blocks in the cache pool. |
|
Free |
The number of free cache blocks in the cache pool. |
|
MinFree |
The minimum remaining number of free cache blocks since the program runs. If the count is 0, it indicates that there may be frame loss due to insufficient buffer blocks. |
|
BLK |
Handle to the cache block in the cache pool. |
|
BASE/VB/SYS/RGN/ CHNL/VDEC/VPSS/VENC/ H264E/JPEGE/MPEG4E/ H265E/JPEGD/VO/VI/ DIS/RC/AIO/AI/AO/AENC/ ADEC/AUD/VPU/ISP/ IVE/USER/PROC/LOG/ H264D/GDC/PHOTO/FB |
Module name. The corresponding number below indicates how many places of the current module occupy the cache block in the cache pool. 0:not occupied N: N blocks are occupied |