2374
- 收藏
- 点赞
-
分享
微信扫码分享QQ好友
- 举报
HI3520DV400+NXP6158编码get venc stream time out
各位大神, 现在用HI3520DV400+NXP6158同事进行两路720p编码,一路位MJPEG,一路为H264打印get venc stream time out.MJPEG编码正常,H264无法编码./proc/umap/venc中veStr为N.
请教各位什么原因造成的呢.
请教各位什么原因造成的呢.
我来回答
回答2个
时间排序
认可量排序
认可0
回复
引用
举报
附着代码:
HI_S32 SAMPLE_VENC_NORMALP_CLASSIC(HI_VOID)
{
PAYLOAD_TYPE_E enPayLoad[2]= {PT_MJPEG, PT_H264};
PIC_SIZE_E enSize[2] = {PIC_HD720, PIC_HD720} ;//{PIC_HD720, PIC_HD720};
HI_U32 u32Profile = 0;
VB_CONF_S stVbConf;
SAMPLE_VI_MODE_E enViMode = SAMPLE_VI_MODE_8_720P ;//SAMPLE_VI_MODE_8_720P;
HI_S32 s32VpssGrpCnt = 4;
VPSS_GRP VpssGrp;
VPSS_CHN VpssChn;
VPSS_GRP_ATTR_S stVpssGrpAttr = {0};
VENC_CHN VencChn;
SAMPLE_RC_E enRcMode= SAMPLE_RC_CBR;
HI_S32 s32ChnNum=2;
HI_S32 s32Ret = HI_SUCCESS;
HI_U32 u32BlkSize;
SIZE_S stSize;
char c;
if(HI3521D_V100 != g_u32ChipId)
{
enViMode = SAMPLE_VI_MODE_8_720P;//SAMPLE_VI_MODE_8_720P;
s32VpssGrpCnt = 2;
}
/******************************************
step 1: init sys variable
******************************************/
memset(&stVbConf,0,sizeof(VB_CONF_S));
stVbConf.u32MaxPoolCnt = 128;
/*video buffer*/
if(s32ChnNum >= 1)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[0], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[0].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[0].u32BlkCnt = 32;
}
if(s32ChnNum >= 2)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[1], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[1].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[1].u32BlkCnt =32;
}
/******************************************
step 2: mpp system init.
******************************************/
s32Ret = SAMPLE_COMM_SYS_Init(&stVbConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("system init failed with %d!\n", s32Ret);
goto END_VENC_1080P_CLASSIC_0;
}
/******************************************
step 3: start vi dev & chn to capture
******************************************/
s32Ret = SAMPLE_COMM_VI_Start(enViMode,gs_enNorm);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("start vi failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
/******************************************
step 4: start vpss and vi bind vpss
******************************************/
s32Ret = SAMPLE_COMM_SYS_GetPicSize(gs_enNorm, enSize[0], &stSize);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("SAMPLE_COMM_SYS_GetPicSize failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
if(s32ChnNum >= 1)
{
VpssGrp = 0;
memset(&stVpssGrpAttr,0,sizeof(VPSS_GRP_ATTR_S));
stVpssGrpAttr.u32MaxW = stSize.u32Width;
stVpssGrpAttr.u32MaxH = stSize.u32Height;
stVpssGrpAttr.bNrEn = HI_TRUE;
stVpssGrpAttr.enDieMode = VPSS_DIE_MODE_NODIE;
stVpssGrpAttr.enPixFmt = SAMPLE_PIXEL_FORMAT;
s32Ret = SAMPLE_COMM_VPSS_Start(s32VpssGrpCnt, &stSize,s32ChnNum , &stVpssGrpAttr);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_2;
}
s32Ret = SAMPLE_COMM_VI_BindVpss(enViMode);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Vi bind Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_3;
}
}
/******************************************
step 5: start stream venc
******************************************/
/*** HD1080P **/
printf("\t c) cbr.\n");
printf("\t v) vbr.\n");
printf("\t a) avbr.\n");
printf("\t f) fixQp\n");
printf("please input choose rc mode!\n");
c = (char)getchar();
switch(c)
{
case 'c':
enRcMode = SAMPLE_RC_CBR;
break;
case 'v':
enRcMode = SAMPLE_RC_VBR;
break;
case 'a':
enRcMode = SAMPLE_RC_AVBR;
break;
case 'f':
enRcMode = SAMPLE_RC_FIXQP;
break;
default:
printf("rc mode! is invaild!\n");
goto END_VENC_1080P_CLASSIC_3;
}
/*** enSize[0] **/
if(s32ChnNum >= 1)
{
VpssGrp = 0;
VpssChn = 0;
VencChn = 0;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[0],\
gs_enNorm, enSize[0], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/*** enSize[1] **/
if(s32ChnNum >= 2)
{
VpssChn = 1;
VencChn = 1;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[1], \
gs_enNorm, enSize[1], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/******************************************
step 6: stream venc process -- get stream, then save it to file.
******************************************/
s32Ret = SAMPLE_COMM_VENC_StartGetStream(s32ChnNum);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
printf("please press ENTER to exit this sample\n");
getchar();
getchar();
/******************************************
step 7: exit process
******************************************/
SAMPLE_COMM_VENC_StopGetStream();
END_VENC_1080P_CLASSIC_4:
VpssGrp = 0;
switch(s32ChnNum)
{
case 2:
VpssChn = 1;
VencChn = 1;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
case 1:
VpssChn = 0;
VencChn = 0;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
break;
}
END_VENC_1080P_CLASSIC_3: //unbind vpss and vi
SAMPLE_COMM_VI_UnBindVpss(enViMode);
END_VENC_1080P_CLASSIC_2: //vpss stop
SAMPLE_COMM_VPSS_Stop(s32VpssGrpCnt,s32ChnNum);
END_VENC_1080P_CLASSIC_1: //vi stop
SAMPLE_COMM_VI_Stop(enViMode);
END_VENC_1080P_CLASSIC_0: //system exit
SAMPLE_COMM_SYS_Exit();
return s32Ret;
}
proc/umap/下信息如下:
[ADEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
[AENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
[AI] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
-----AI CHN STATUS--------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost UsrFrmDepth u32Data0 u32Data1 UserGet UserRls
-----AI CHN RESAMPLE STATUS-----------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
-----AI CHN VQE STATUS0---------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum GainVol bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
[AO] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AO DEV ATTR---------------------------------------------------------------------------------------------------------
AoDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AO DEV STATUS-------------------------------------------------------------------------------------------------------
AoDev TranLen CBPhy CBSize ROffSet WOffSet
-----AO DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AoDev enTrack bMute Volume
-----AO CHN STATUS--------------------------------------------------------------
AoDev AoChn State Read Write BufEmp u32Data0 u32Data1 bResmp PoiNum InSampR OutSampR
-----AO CHN VQE STATUS0---------------------------------------------------------
AoDev AoChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf WrFile
[CHNL] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:52]
Total Chnl Scheduler Count: 2
-----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 1539 1539 0 0 1436 0 1435 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
1 0 H264E 6 IDLE 1436 0 1435 0
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
1 H264E 0 0 0 0 0 0 0
-----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 JPEGU_0 PAUSE 1898 1538 360 0 2155 360 0 360 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
0 0 JPEGE 0 IDLE 2155 360 0 360
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
0 JPEGE 0 0 0 0 0 0 0
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
[H264E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:27]
-----MODULE PARAM--------------------------------------------------------------
H264eOneStreamBuffer H264eVBSource H264ePowerSaveEn H264eMiniBufMode H264eRcnEqualRef bQpHstgrmEn
0 2 1 1 0 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height profile C2GEn BufSize ByFrame GopMode MaxStrCnt
1 1280 720 640 360 base N 460800 Y NormalP 200
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
1 0 0 1435 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
1 0xc5d80000 0x0 0x0 0x0 0x0 0 462784
-----RefParam INFO--------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
1 Y 1 0 0 0
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
1 -1 -1
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize IntraRefresh enIslice RefreshLine QpOfIDR
1 N N/A N/A N N 5 51
-----Inter & Intra prediction INFO---------------------------------------------
ID profile HWsize VWsize P16x16 P16x8 P8x16 P8x8 MvExt I16x16 Inxn Ipcm
1 base 0 0 Y Y Y Y Y Y Y Y
-----Syntax INFO2--------------------------------------------------------------
ID profile EntrpyI EntrpyP EntrpyB Itrans Ptrans QMatrix POC DblkIdc alpha beta
1 base cavlc cavlc cavlc 4x4 4x4 N 0 0 0 0
[H265E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:29]
-----MODULE PARAM--------------------------------------------------------------
H265eOneStreamBuffer H265eVBSource H265ePowerSaveEn H265eMiniBufMode bQpHstgrmEn
0 2 1 1 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height Profile C2GEn BufSize ByFrame GopMode MaxStrCnt
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
-----RefParam INFO-------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize bCrossSlc IntraRefresh enIslice RefreshLine QpOfIDR
-----Syntax INFO2--------------------------------------------------------------
ID DblkEn Tc Beta Saoluma Saochroma EntrpyFlag
-----Syntax INFO3--------------------------------------------------------------
ID TimInfFlag NumInTick TimeScal DiffOne
-----Pu INFO-------------------------------------------------------------------
ID Pu32En Pu16En Pu8En Pu4En ConsIntra IntraSmo IpcmEn PcmLoFil NumMergCan
-----Trans INFO----------------------------------------------------------------
ID TranByPass TranSkip CbQpOffset CrQpOffset
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
-------------------------- APPAttr -----------------------------
HDMIEnable : NO DefaultAction : NONE
VideoEnable : NO AudioEnable : NO
AviInfoEnable : NO AudioInfoEnable: NO
xvYCCMode : NO HDCPEnable : NO
DeepColorMode : 24 SpdInfoEnable : NO
OutColorSpace : RGB MpegInfoEnable : NO
ColorSpaceAdapt: NO DeepColorAdapt : NO
DebugEnable : NO CtsAuthEnable : NO
enHDCPMode : AUTO
-------------------------- SWStatus ----------------------------
ThreadRun : YES RunStatus : CLOSE
TMDSMode : NONE
KernelCnt : 0 UserCnt : 0
KCallBack : NO UCallBackCnt : 0
TransitState : NONE
EmiEnable : NO
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
--------------------------------------- EDIDRawData -----------------------------------------
------------------------------ SWStatus -------------------------------------------
CapFromSink : NO RawUpdateErrCnt : 0
CapIsValid : NO ParseErrorType : 0
RawIsValid : NO ParseWarnType : 0x00000000
RawGetErrCnt : 1 RawLength : 0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
layer name :layer_0
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(1280, 720)
xres_virtual, yres_virtual :(1280, 720)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :4052 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_1
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_2
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_3
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(128, 128)
xres_virtual, yres_virtual :(128, 128)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :128 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_4
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
[JPEGE] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:34]
-----MODULE PARAM--------------------------------------------------------------
JpegeOneStreamBuffer JpegeMiniBufMode
0 1
-----ATTRIBUTE1----------------------------------------------------------------
ID bMjpeg PicType MaxWidth MaxHeight Width Height BufSize ByFrm MCU Qfactor C2GEn DcfEn
0 Y YUV420 1280 720 1280 720 2764800 Y 0 93 N N
-----STATUS1-------------------------------------------------------------------
ID BufLen FreeLen StrmCnt MaxStrm
0 2764800 2764736 0 200
-----STATUS2-------------------------------------------------------------------
ID PicRec PicCoded PicDroped PicDisc NoStmCnt RcFail PicRecode UnrdStr
0 360 360 0 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead BufLen DataLen BufFree
0 0xc6800000 1171968 1171968 1171968 1171968 2764800 0 2764736
-----LOG BUFFER STATE----------------------------------------------------------
MaxLen ReadPos WritePos ButtPos
64(KB) 53710 53709 65054
-----CURRENT LOG LEVEL---------------------------------------------------------
vb : 3
sys : 3
rgn : 3
chnl : 3
vdec : 3
vpss : 3
venc : 3
h264e : 3
jpege : 3
vfmw : 3
vou : 3
vi : 3
rc : 3
aio : 3
ai : 3
ao : 3
aenc : 3
adec : 3
hdmi : 3
tde : 3
vedu : 3
vgs : 3
h265e : 3
[RC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:25]
-----MODULE PARAM--------------------------------------------------------------
ClrStatAfterSetBr
1
------BASE PARAMS 1------------------------------------------------------------
ChnId Gop StatTm ViFr TrgFr ProType RcMode Br(kbps) FluLev IQp PQp BQp
0 1 1 25 25/0 1002 CBR 15360 1 N/A N/A N/A
1 25 1 25 25/0 96 CBR 1024 1 N/A N/A N/A
------BASE PARAMS 2------------------------------------------------------------
ChnId EnableIdr bQpMapEn QpMapMode bQpMapAbsQp
0 Y N N/A N/A
1 Y N N/A N/A
-----RUN COMM PARAM 1----------------------------------------------------------
ChnId RowQpDelta ThrdI(16)
0 0 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 2 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 2------------------------------------------------------------
ChnId FirstFrmStartQP ThrdP(16)
0 -1 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 -1 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 3----------------------------------------------------------
ChnId PARAM ThrdB(16)
0 DEFAULT [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 DEFAULT [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 4----------------------------------------------------------
ChnId LevelI(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 5----------------------------------------------------------
ChnId LevelP(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 6----------------------------------------------------------
ChnId LevelB(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 7----------------------------------------------------------
ChnId bLost LostThr LostFrmStr EncGap RCPriority SprFrmMod SprIFrm SprPFrm SprBFrm bClrStat
0 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
1 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
-----GOP MODE ATTR-------------------------------------------------------------
ChnId GopMode IpQpDelta SPInterval SPQpDelta BFrmNum BQpDelta BgInterval ViQpDelta bAdvSmartP
0 N/A N/A N/A N/A N/A N/A N/A N/A N/A
1 NormalP 0 N/A N/A N/A N/A N/A N/A N/A
-----RUN CBR PARAM ------------------------------------------------------------
ChnId MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp QLevel MaxReEncTimes
0 1 100 99 20 99 20 3 2
1 1 20 51 10 51 10 3 2
-----RUN VBR PARAM ------------------------------------------------------------
ChnId ChgPs MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp MaxReEncTimes MaxStillQP MinPercent MinStillPSNR BitPercentLL BitPercentUL PsnrFluctuateLL PsnrFluctuateUL
-----RUN INFO1-----------------------------------------------------------------
ChnId InsBr(kbps) InsFr WatL CfgBt(kb) RealBt(kb) IPRatio TarPercent StartQp MinQp MaxQp
0 15460 25 21012 614 617 0 N/A 93 20 99
1 1023 0 640 0 0 0 N/A 0 0 0
-----RC PERFORMANCE INFO------------------------------------------------------
ChnId StaOfstaTim TotaOfstaTim StaOfEndTim TotaOfEndTim TotalTime
0 2554615301 4161 2554623074 2915 7076
1 2554645364 0 0 0 0
[RGN] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:56]
-----MODULE PARAM--------------------------------------------------------------
bCanvasNumValid
1
[SYS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:45]
System State: 0 (0: initialized; 1: exiting; 2: exited)
System Align: 16
Mem Total: 256(M)
-----SCALE COEFF INFO-----------------------------------------------------------
RangeLevel RangeValue HorLum HorChr VerLum VerChr
RANGE_0 (0, 1/4) LEVEL_0 LEVEL_0 LEVEL_0 LEVEL_0
RANGE_1 [1/4, 1/3) LEVEL_1 LEVEL_0 LEVEL_1 LEVEL_0
RANGE_2 [1/3, 1/2) LEVEL_2 LEVEL_1 LEVEL_2 LEVEL_1
RANGE_3 [1/2, 3/4) LEVEL_3 LEVEL_2 LEVEL_3 LEVEL_2
RANGE_4 [3/4, 1) LEVEL_3 LEVEL_2 LEVEL_4 LEVEL_2
RANGE_5 [1, 1] LEVEL_4 LEVEL_3 LEVEL_5 LEVEL_3
RANGE_6 (1, MAX) LEVEL_5 LEVEL_2 LEVEL_6 LEVEL_2
-----MEM TABLE--------------------------------------------------------
MOD MODNAME DEV CHN MMZNAME
-----BIND RELATION TABLE--------------------------------------------------------
FirMod FirDev FirChn SecMod SecDev SecChn TirMod TirDev TirChn SendCnt rstCnt
vpss 0 0 venc 0 0 null 0 0 0 0
vpss 0 1 venc 0 1 null 0 0 0 0
vi 0 0 vpss 0 0 venc 0 0 383 0
vi 0 0 vpss 0 1 venc 0 1 383 0
vi 0 2 vpss 1 0 null 0 0 374 0
vi 0 4 vpss 2 0 null 0 0 374 0
vi 0 6 vpss 3 0 null 0 0 374 0
--------- Hisilicon TDE Memory Pool Info ---------
Type Total Used
[Unit 64 ] 1255 3
[Unit 96 ] 1255 0
[Unit 256] 1255 0
[Unit1024] 8 2
[Total ] 517K 2K
[VB] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:43]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----VB SUPPLEMENT ATTR--------------------------------------------------------
Supplement Config: 0
Supplement Size: 0
Vb Total Cnt: 64
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1
Size 1399680 1399680
Count 32 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x856da000 0x0 1 -1 1399808 32 32(32) 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
1 0x88192000 0x0 1 -1 1399808 32 13(13) 12
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
26 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
30 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
23 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
17 1 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
3 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
27 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 1 0 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
6 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
7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 8 0 0 7 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0
[VDEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:05]
-----MODULE PARAM--------------------------------------------------------------
obey_minCR MiniBufMode VBSource StreamCompaMode u32ProtocolSwitch
0 1 0 0 1
-----CHN ATTR & PARAMS-------------------------------------------------------
ID TYPE Prior MaxW MaxH Width Height StrmInputMode VideoFmt Compress STATE
ID VfmwID RefNum MvpEnable DispNum BufSize MaxSlice MaxSPS MaxPPS MaxVPS DisplayMode
ID ErrThr StrmThr DecMode OutMode SetUserPic Rotate PicPoolId PmvPoolId PriVbCnt
-----CHN STATE-----------------------------------------------------------------
ID PrtclErr StrmUnSP StrmError RefNumErr PicSizeErr fmterror PicBufSizeErr StrmNotRls Notify
ID fps TimerCnt BufFLen DataLen UsrFLen UsrLen ptsBufF ptsBufU StreamEnd
----- Detail Stream STATE -----------------------------------------------------------
ID MpiSndNum MpiSndLen VdecNum VdecLen FmGetNum FmGetLen FmRlsNum FmRlsLen FmLstGet FmRlsFail
----- Detail FrameStore STATE -----------------------------------------------------------
ID FmNewPic GetFromFm Discard UsrSnd KerSnd KerRls MeetEnd FrmInVdec CurPicPts RedDiff MaxRedDiff DecDiff MaxDecDiff
ID FreeNode VfmwNode VgsNode VgsWorkingNode BusyNode UserNode RefNum IsAvalible VbCnt MaxVbCnt GetPicVbFail GetMvpVbFail NoDisplay
----- Detail UserData STATE -----------------------------------------------------------
ID MpiGet MpiGetLen MpiRls MpiRlsLen Discard DiscardLen GetFromFm GetFromFmLen UsrFLen UsrLen
[VENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:20]
-----MODULE PARAM--------------------------------------------------------------
VencBufferCache FrameBufRecycle QuickSchedule JpegClearStreamBuf OneBufferForJpegOSD VencMaxChnNum
0 0 0 1 0 18
-----VENC CHN ATTR 1-----------------------------------------------------------
ID Width Height Type ByFrame Sequence LeftBytes LeftFrm CurPacks GopMode Prio
0 1280 720 1002 Y 360 0 0 2 NormalP 0
1 640 360 96 Y 0 0 0 0 NormalP 0
-----VENC CHN ATTR 2-----------------------------------------------------------
VeStr SrcFr TarFr Timeref PixFmt PicAddr
Y -1 -1 766 YUV420 0x88aea400
N -1 -1 56 YUV420 0x89999800
-----VENC CHN RECEIVE STAT-----------------------------------------------------
ID Start StartEx RecvLeft EncLeft
0 1 0 0 0
1 1 0 0 0
-----VENC VPSS QUERY-----------------------------------------------------------
ID Query QueryOk QueryFR Invld Full VbFail QueryFail InfoErr Stop
0 1799 1799 0 1437 0 0 0 0 0
1 1799 1799 0 1437 355 0 0 0 0
-----VENC SEND1----------------------------------------------------------------
ID VpssSnd VInfErr OthrSnd OInfErr Send Stop Full CropErr DrectSnd SizeErr
0 362 1 0 0 361 0 0 0 361 0
1 7 1 0 0 6 0 0 0 6 0
-----VENC SEND2----------------------------------------------------------------
ID SendVgs StartOk StartFail IntOk IntFail SrcAdd SrcSub DestAdd DestSub
0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
-----VENC PIC QUEUE STATE------------------------------------------------------
ID Free Busy Vgs
0 5 1 0
1 0 6 0
-----VENC CHNL INFO------------------------------------------------------------
ID Inq InqOk Start StartOk Config VencInt ChaResLost OverLoad Skip
0 1796 361 361 361 361 360 0 0 0
1 1437 1436 1436 0 0 0 0 0 0
-----VENC CROP INFO------------------------------------------------------------
ID CropEn StartX StartY Width Height
0 N 0 0 0 0
1 N 0 0 0 0
-----ROI INFO------------------------------------------------------------------
ID Type Index bRoiEn bAbsQp Qp Width Height StartX StartY
-----VENC STREAM STATE---------------------------------------------------------
ID FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 13 0 0 720 720 360 39986 25
1 0 0 0 0 0 0 0 0
[VGS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:53]
-----MODULE PARAM--------------------------------------------------------------
max_vgs_job max_vgs_task max_vgs_node weight_threshold
20 20 20 6
-----RECENT JOB INFO-----------------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----MAX WASTE TIME JOB INFO---------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----VGS JOB STATUS------------------------------------------------------------
Success Fail Cancel AllJobNum FreeNum BeginNum BusyNum ProcingNum
0 0 0 20 20 0 0 0
-----VGS TASK STATUS-----------------------------------------------------------
Success Fail Cancel AllTaskNum FreeNum BusyNum
0 0 0 20 20 0
-----VGS NODE STATUS-----------------------------------------------------------
AllNodeNum VgsBusyNum VpssBusyNum VgsMinFree VpssMinFree MaxInJob SubmitFail IntFail
20 0 0 -1 -1 0 0 0
-----VGS INT STATUS------------------------------------------------------------
IntNum IntTm HalProcTm
0 0 0
-----VGS MEM REQ STATUS -------------------------------------------------------
ReqOk FreeOk ReqFail FreeFail
0 0 0 0
[VIU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:08:59]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap min_cas_gap
10 0 0 28000 0
discard_int int_gap_time int_time vi_vb_source
0 45000 10000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
1 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
2 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
4 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
6 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 386 0 3 0 2 2 20 9 frm 1280
2 0 1 386 0 12 0 2 2 53 26 frm 1280
4 1 0 386 0 12 0 2 2 27 14 frm 1280
6 1 1 386 0 12 0 2 2 22 10 frm 1280
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 56 40001 40006 0 0 1 0 0 0 1 24
2 68 39999 40005 0 0 1 0 0 0 384 25
4 39 39997 40044 0 0 1 0 0 0 384 25
6 25 39996 40050 0 0 1 0 0 0 384 25
-----VI CHN ATTACH INFO---------------------------------------------------------
PhyChn Pool1 Pool2
0 -1 -1
2 -1 -1
4 -1 -1
6 -1 -1
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 40001 25 383 0 0 NONE
2 N 39999 25 374 0 0 NONE
4 N 39998 25 374 0 0 NONE
6 N 39995 25 374 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
[VOU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:46]
-----DEV CONFIG----------------------------------------------------------------
DevId DevEn Mux1 Mux2 Mux3 InfSync BkClr DevFrt
-----MODULE PARAM 1--------------------------------------------------------------
DevId detectCycle vgaDetectEnable
-----MODULE PARAM 2--------------------------------------------------------------
ext_csc_en
0
-----DEV VDAC STATUS-----------------------------------------------------------
DevId VDAC
-----VIDEO LAYER STATUS--------------------------------------------------------
LayerId VideoEn ClustMode PixFmt ImgW ImgH DispW DispH DispFrt DoubFrm Toleration Priority
-----VIDEO LAYER STATUS 2------------------------------------------------------
layerId VideoEn EnChNum Matrix Luma Cont Hue Satu
-----VIDEO LAYER STATUS 3------------------------------------------------------
layerId DevId SetBeg SetEnd PartitionMode SupportCompress u32BufLen
-----CHN BASE INFO ------------------------------------------------------------
LayerId ChnId ChnEn Prio DeFlk ChnX ChnY ChnW ChnH DispX DispY bSnap Field bCas CcPos bRcvMatch
-----CHN PLAY INFO 1-----------------------------------------------------------
LayerId ChnId Batch Show Pause Step Revrs Refsh Thrshd ChnFrt ChnGap
-----CHN PLAY INFO 2-----------------------------------------------------------
LayerId ChnId DisplayPts PrePts CurrPts ScalePts SetPts RecvCurPts
-----ByMutli CHN STATUS1-------------------------------------------------------
LayerId ChnId QCnt NewDo OldDo LCnt SCnt ChRpt BusyN ShouD Dsped Area AreaT
-----ByMutli CHN STATUS2-------------------------------------------------------
LayerId ChnId Buf1 Buf2 Buf3 Buf4 DBuf Stat1 Stat2 QNodeAddr SNodeAddr DispAddr ChnFreeNum ChnBusyNum
-----ByMutli CHN STATUS3--------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----BySingle CHN STATUS 1-----------------------------------------------------
LayerId ChnId Job Task LCnt SCnt ChRpt DRpt CBusy DBusy ShouD Dsped b2Scl ChnAddr DispAddr
-----BySingle CHN STATUS 2-----------------------------------------------------
LayerId ChnId bBorder TopWidth BottomWidth LeftWidth RightWidth Color ChnFreeNum ChnBusyNum DisplayFreeNum DisplayBusyNum
-----BySingle CHN STATUS3------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----CHN OTHER INFO------------------------------------------------------------
LayerId ChnId bZoom ZmTyp ZoomX ZoomY ZoomW ZoomH SrcW SrcH
-----WBC INFO------------------------------------------------------------------
WbcId WbcW WbcH PixFmt FrmRat RealRat Mode SrcType SrcId Depth NotFin
-----GRAPHICS LAYER------------------------------------------------------------
Layer BindDev
HC0 0
HC1 1
-----LAYER CSC PARAM-----------------------------------------------------------
LAYERID Matrix Luma Cont Hue Satu
-----DEV VIDEO STATUS 3--------------------------------------------------------
DevId bCasCfg bCasEn bCasSlv CasRgn CasMode CasPatn enCasDataTranMode Vtth
-----VGA PARAM-----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu Gain SharpenStrength
-----HDMI PARAM----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu
[VPSS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:02]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source vpss_en_ratio vpss_nr_vb_source
0 0 1
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode hNrPool
0 1280 720 SP420 nodie N Y N N N VPSS -1
1 1280 720 SP420 nodie N Y N N N VPSS -1
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 -1 -1 Y
1 0 0 0 -1 -1 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
1 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
0 1 40
1 0 40
1 1 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 Y N N Y 2 2 2 2 ffffff ff
0 1 Y N N Y 2 2 2 2 ffffff ff
1 0 Y N N Y 2 2 2 2 ffffff ff
1 1 Y N N Y 2 2 2 2 ffffff ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 N RIT 0 0 0 0 1280 720 1280 720
1 N RIT 0 0 0 0 1280 720 1280 720
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 7 0 0 1
1 5 3 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 383 21 0 362 0 0 1437 0 1
1 374 371 0 0 0 0 0 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 AUTO 0 361 1 -1 -1 --
0 1 AUTO 0 6 1 -1 -1 --
1 0 AUTO 0 0 0 -1 -1 --
1 1 AUTO 0 0 0 -1 -1 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 Y 1280 720 SP420 NONE NONE 0 0 1280 720 0 0 25
0 1 Y 640 360 SP420 NONE NONE 0 0 640 360 0 0 1
1 0 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
1 1 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 LinkInt StartErr0 NodeIdErr0 BusErr NoNrBuf
362 362 0 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0
457 0 0 0 0 0
HI_S32 SAMPLE_VENC_NORMALP_CLASSIC(HI_VOID)
{
PAYLOAD_TYPE_E enPayLoad[2]= {PT_MJPEG, PT_H264};
PIC_SIZE_E enSize[2] = {PIC_HD720, PIC_HD720} ;//{PIC_HD720, PIC_HD720};
HI_U32 u32Profile = 0;
VB_CONF_S stVbConf;
SAMPLE_VI_MODE_E enViMode = SAMPLE_VI_MODE_8_720P ;//SAMPLE_VI_MODE_8_720P;
HI_S32 s32VpssGrpCnt = 4;
VPSS_GRP VpssGrp;
VPSS_CHN VpssChn;
VPSS_GRP_ATTR_S stVpssGrpAttr = {0};
VENC_CHN VencChn;
SAMPLE_RC_E enRcMode= SAMPLE_RC_CBR;
HI_S32 s32ChnNum=2;
HI_S32 s32Ret = HI_SUCCESS;
HI_U32 u32BlkSize;
SIZE_S stSize;
char c;
if(HI3521D_V100 != g_u32ChipId)
{
enViMode = SAMPLE_VI_MODE_8_720P;//SAMPLE_VI_MODE_8_720P;
s32VpssGrpCnt = 2;
}
/******************************************
step 1: init sys variable
******************************************/
memset(&stVbConf,0,sizeof(VB_CONF_S));
stVbConf.u32MaxPoolCnt = 128;
/*video buffer*/
if(s32ChnNum >= 1)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[0], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[0].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[0].u32BlkCnt = 32;
}
if(s32ChnNum >= 2)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[1], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[1].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[1].u32BlkCnt =32;
}
/******************************************
step 2: mpp system init.
******************************************/
s32Ret = SAMPLE_COMM_SYS_Init(&stVbConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("system init failed with %d!\n", s32Ret);
goto END_VENC_1080P_CLASSIC_0;
}
/******************************************
step 3: start vi dev & chn to capture
******************************************/
s32Ret = SAMPLE_COMM_VI_Start(enViMode,gs_enNorm);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("start vi failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
/******************************************
step 4: start vpss and vi bind vpss
******************************************/
s32Ret = SAMPLE_COMM_SYS_GetPicSize(gs_enNorm, enSize[0], &stSize);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("SAMPLE_COMM_SYS_GetPicSize failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
if(s32ChnNum >= 1)
{
VpssGrp = 0;
memset(&stVpssGrpAttr,0,sizeof(VPSS_GRP_ATTR_S));
stVpssGrpAttr.u32MaxW = stSize.u32Width;
stVpssGrpAttr.u32MaxH = stSize.u32Height;
stVpssGrpAttr.bNrEn = HI_TRUE;
stVpssGrpAttr.enDieMode = VPSS_DIE_MODE_NODIE;
stVpssGrpAttr.enPixFmt = SAMPLE_PIXEL_FORMAT;
s32Ret = SAMPLE_COMM_VPSS_Start(s32VpssGrpCnt, &stSize,s32ChnNum , &stVpssGrpAttr);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_2;
}
s32Ret = SAMPLE_COMM_VI_BindVpss(enViMode);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Vi bind Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_3;
}
}
/******************************************
step 5: start stream venc
******************************************/
/*** HD1080P **/
printf("\t c) cbr.\n");
printf("\t v) vbr.\n");
printf("\t a) avbr.\n");
printf("\t f) fixQp\n");
printf("please input choose rc mode!\n");
c = (char)getchar();
switch(c)
{
case 'c':
enRcMode = SAMPLE_RC_CBR;
break;
case 'v':
enRcMode = SAMPLE_RC_VBR;
break;
case 'a':
enRcMode = SAMPLE_RC_AVBR;
break;
case 'f':
enRcMode = SAMPLE_RC_FIXQP;
break;
default:
printf("rc mode! is invaild!\n");
goto END_VENC_1080P_CLASSIC_3;
}
/*** enSize[0] **/
if(s32ChnNum >= 1)
{
VpssGrp = 0;
VpssChn = 0;
VencChn = 0;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[0],\
gs_enNorm, enSize[0], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/*** enSize[1] **/
if(s32ChnNum >= 2)
{
VpssChn = 1;
VencChn = 1;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[1], \
gs_enNorm, enSize[1], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/******************************************
step 6: stream venc process -- get stream, then save it to file.
******************************************/
s32Ret = SAMPLE_COMM_VENC_StartGetStream(s32ChnNum);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
printf("please press ENTER to exit this sample\n");
getchar();
getchar();
/******************************************
step 7: exit process
******************************************/
SAMPLE_COMM_VENC_StopGetStream();
END_VENC_1080P_CLASSIC_4:
VpssGrp = 0;
switch(s32ChnNum)
{
case 2:
VpssChn = 1;
VencChn = 1;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
case 1:
VpssChn = 0;
VencChn = 0;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
break;
}
END_VENC_1080P_CLASSIC_3: //unbind vpss and vi
SAMPLE_COMM_VI_UnBindVpss(enViMode);
END_VENC_1080P_CLASSIC_2: //vpss stop
SAMPLE_COMM_VPSS_Stop(s32VpssGrpCnt,s32ChnNum);
END_VENC_1080P_CLASSIC_1: //vi stop
SAMPLE_COMM_VI_Stop(enViMode);
END_VENC_1080P_CLASSIC_0: //system exit
SAMPLE_COMM_SYS_Exit();
return s32Ret;
}
proc/umap/下信息如下:
[ADEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
[AENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
[AI] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
-----AI CHN STATUS--------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost UsrFrmDepth u32Data0 u32Data1 UserGet UserRls
-----AI CHN RESAMPLE STATUS-----------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
-----AI CHN VQE STATUS0---------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum GainVol bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
[AO] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AO DEV ATTR---------------------------------------------------------------------------------------------------------
AoDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AO DEV STATUS-------------------------------------------------------------------------------------------------------
AoDev TranLen CBPhy CBSize ROffSet WOffSet
-----AO DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AoDev enTrack bMute Volume
-----AO CHN STATUS--------------------------------------------------------------
AoDev AoChn State Read Write BufEmp u32Data0 u32Data1 bResmp PoiNum InSampR OutSampR
-----AO CHN VQE STATUS0---------------------------------------------------------
AoDev AoChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf WrFile
[CHNL] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:52]
Total Chnl Scheduler Count: 2
-----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 1539 1539 0 0 1436 0 1435 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
1 0 H264E 6 IDLE 1436 0 1435 0
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
1 H264E 0 0 0 0 0 0 0
-----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 JPEGU_0 PAUSE 1898 1538 360 0 2155 360 0 360 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
0 0 JPEGE 0 IDLE 2155 360 0 360
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
0 JPEGE 0 0 0 0 0 0 0
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
[H264E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:27]
-----MODULE PARAM--------------------------------------------------------------
H264eOneStreamBuffer H264eVBSource H264ePowerSaveEn H264eMiniBufMode H264eRcnEqualRef bQpHstgrmEn
0 2 1 1 0 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height profile C2GEn BufSize ByFrame GopMode MaxStrCnt
1 1280 720 640 360 base N 460800 Y NormalP 200
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
1 0 0 1435 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
1 0xc5d80000 0x0 0x0 0x0 0x0 0 462784
-----RefParam INFO--------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
1 Y 1 0 0 0
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
1 -1 -1
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize IntraRefresh enIslice RefreshLine QpOfIDR
1 N N/A N/A N N 5 51
-----Inter & Intra prediction INFO---------------------------------------------
ID profile HWsize VWsize P16x16 P16x8 P8x16 P8x8 MvExt I16x16 Inxn Ipcm
1 base 0 0 Y Y Y Y Y Y Y Y
-----Syntax INFO2--------------------------------------------------------------
ID profile EntrpyI EntrpyP EntrpyB Itrans Ptrans QMatrix POC DblkIdc alpha beta
1 base cavlc cavlc cavlc 4x4 4x4 N 0 0 0 0
[H265E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:29]
-----MODULE PARAM--------------------------------------------------------------
H265eOneStreamBuffer H265eVBSource H265ePowerSaveEn H265eMiniBufMode bQpHstgrmEn
0 2 1 1 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height Profile C2GEn BufSize ByFrame GopMode MaxStrCnt
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
-----RefParam INFO-------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize bCrossSlc IntraRefresh enIslice RefreshLine QpOfIDR
-----Syntax INFO2--------------------------------------------------------------
ID DblkEn Tc Beta Saoluma Saochroma EntrpyFlag
-----Syntax INFO3--------------------------------------------------------------
ID TimInfFlag NumInTick TimeScal DiffOne
-----Pu INFO-------------------------------------------------------------------
ID Pu32En Pu16En Pu8En Pu4En ConsIntra IntraSmo IpcmEn PcmLoFil NumMergCan
-----Trans INFO----------------------------------------------------------------
ID TranByPass TranSkip CbQpOffset CrQpOffset
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
-------------------------- APPAttr -----------------------------
HDMIEnable : NO DefaultAction : NONE
VideoEnable : NO AudioEnable : NO
AviInfoEnable : NO AudioInfoEnable: NO
xvYCCMode : NO HDCPEnable : NO
DeepColorMode : 24 SpdInfoEnable : NO
OutColorSpace : RGB MpegInfoEnable : NO
ColorSpaceAdapt: NO DeepColorAdapt : NO
DebugEnable : NO CtsAuthEnable : NO
enHDCPMode : AUTO
-------------------------- SWStatus ----------------------------
ThreadRun : YES RunStatus : CLOSE
TMDSMode : NONE
KernelCnt : 0 UserCnt : 0
KCallBack : NO UCallBackCnt : 0
TransitState : NONE
EmiEnable : NO
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
--------------------------------------- EDIDRawData -----------------------------------------
------------------------------ SWStatus -------------------------------------------
CapFromSink : NO RawUpdateErrCnt : 0
CapIsValid : NO ParseErrorType : 0
RawIsValid : NO ParseWarnType : 0x00000000
RawGetErrCnt : 1 RawLength : 0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
layer name :layer_0
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(1280, 720)
xres_virtual, yres_virtual :(1280, 720)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :4052 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_1
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_2
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_3
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(128, 128)
xres_virtual, yres_virtual :(128, 128)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :128 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_4
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
[JPEGE] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:34]
-----MODULE PARAM--------------------------------------------------------------
JpegeOneStreamBuffer JpegeMiniBufMode
0 1
-----ATTRIBUTE1----------------------------------------------------------------
ID bMjpeg PicType MaxWidth MaxHeight Width Height BufSize ByFrm MCU Qfactor C2GEn DcfEn
0 Y YUV420 1280 720 1280 720 2764800 Y 0 93 N N
-----STATUS1-------------------------------------------------------------------
ID BufLen FreeLen StrmCnt MaxStrm
0 2764800 2764736 0 200
-----STATUS2-------------------------------------------------------------------
ID PicRec PicCoded PicDroped PicDisc NoStmCnt RcFail PicRecode UnrdStr
0 360 360 0 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead BufLen DataLen BufFree
0 0xc6800000 1171968 1171968 1171968 1171968 2764800 0 2764736
-----LOG BUFFER STATE----------------------------------------------------------
MaxLen ReadPos WritePos ButtPos
64(KB) 53710 53709 65054
-----CURRENT LOG LEVEL---------------------------------------------------------
vb : 3
sys : 3
rgn : 3
chnl : 3
vdec : 3
vpss : 3
venc : 3
h264e : 3
jpege : 3
vfmw : 3
vou : 3
vi : 3
rc : 3
aio : 3
ai : 3
ao : 3
aenc : 3
adec : 3
hdmi : 3
tde : 3
vedu : 3
vgs : 3
h265e : 3
[RC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:25]
-----MODULE PARAM--------------------------------------------------------------
ClrStatAfterSetBr
1
------BASE PARAMS 1------------------------------------------------------------
ChnId Gop StatTm ViFr TrgFr ProType RcMode Br(kbps) FluLev IQp PQp BQp
0 1 1 25 25/0 1002 CBR 15360 1 N/A N/A N/A
1 25 1 25 25/0 96 CBR 1024 1 N/A N/A N/A
------BASE PARAMS 2------------------------------------------------------------
ChnId EnableIdr bQpMapEn QpMapMode bQpMapAbsQp
0 Y N N/A N/A
1 Y N N/A N/A
-----RUN COMM PARAM 1----------------------------------------------------------
ChnId RowQpDelta ThrdI(16)
0 0 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 2 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 2------------------------------------------------------------
ChnId FirstFrmStartQP ThrdP(16)
0 -1 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 -1 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 3----------------------------------------------------------
ChnId PARAM ThrdB(16)
0 DEFAULT [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 DEFAULT [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 4----------------------------------------------------------
ChnId LevelI(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 5----------------------------------------------------------
ChnId LevelP(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 6----------------------------------------------------------
ChnId LevelB(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 7----------------------------------------------------------
ChnId bLost LostThr LostFrmStr EncGap RCPriority SprFrmMod SprIFrm SprPFrm SprBFrm bClrStat
0 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
1 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
-----GOP MODE ATTR-------------------------------------------------------------
ChnId GopMode IpQpDelta SPInterval SPQpDelta BFrmNum BQpDelta BgInterval ViQpDelta bAdvSmartP
0 N/A N/A N/A N/A N/A N/A N/A N/A N/A
1 NormalP 0 N/A N/A N/A N/A N/A N/A N/A
-----RUN CBR PARAM ------------------------------------------------------------
ChnId MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp QLevel MaxReEncTimes
0 1 100 99 20 99 20 3 2
1 1 20 51 10 51 10 3 2
-----RUN VBR PARAM ------------------------------------------------------------
ChnId ChgPs MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp MaxReEncTimes MaxStillQP MinPercent MinStillPSNR BitPercentLL BitPercentUL PsnrFluctuateLL PsnrFluctuateUL
-----RUN INFO1-----------------------------------------------------------------
ChnId InsBr(kbps) InsFr WatL CfgBt(kb) RealBt(kb) IPRatio TarPercent StartQp MinQp MaxQp
0 15460 25 21012 614 617 0 N/A 93 20 99
1 1023 0 640 0 0 0 N/A 0 0 0
-----RC PERFORMANCE INFO------------------------------------------------------
ChnId StaOfstaTim TotaOfstaTim StaOfEndTim TotaOfEndTim TotalTime
0 2554615301 4161 2554623074 2915 7076
1 2554645364 0 0 0 0
[RGN] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:56]
-----MODULE PARAM--------------------------------------------------------------
bCanvasNumValid
1
[SYS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:45]
System State: 0 (0: initialized; 1: exiting; 2: exited)
System Align: 16
Mem Total: 256(M)
-----SCALE COEFF INFO-----------------------------------------------------------
RangeLevel RangeValue HorLum HorChr VerLum VerChr
RANGE_0 (0, 1/4) LEVEL_0 LEVEL_0 LEVEL_0 LEVEL_0
RANGE_1 [1/4, 1/3) LEVEL_1 LEVEL_0 LEVEL_1 LEVEL_0
RANGE_2 [1/3, 1/2) LEVEL_2 LEVEL_1 LEVEL_2 LEVEL_1
RANGE_3 [1/2, 3/4) LEVEL_3 LEVEL_2 LEVEL_3 LEVEL_2
RANGE_4 [3/4, 1) LEVEL_3 LEVEL_2 LEVEL_4 LEVEL_2
RANGE_5 [1, 1] LEVEL_4 LEVEL_3 LEVEL_5 LEVEL_3
RANGE_6 (1, MAX) LEVEL_5 LEVEL_2 LEVEL_6 LEVEL_2
-----MEM TABLE--------------------------------------------------------
MOD MODNAME DEV CHN MMZNAME
-----BIND RELATION TABLE--------------------------------------------------------
FirMod FirDev FirChn SecMod SecDev SecChn TirMod TirDev TirChn SendCnt rstCnt
vpss 0 0 venc 0 0 null 0 0 0 0
vpss 0 1 venc 0 1 null 0 0 0 0
vi 0 0 vpss 0 0 venc 0 0 383 0
vi 0 0 vpss 0 1 venc 0 1 383 0
vi 0 2 vpss 1 0 null 0 0 374 0
vi 0 4 vpss 2 0 null 0 0 374 0
vi 0 6 vpss 3 0 null 0 0 374 0
--------- Hisilicon TDE Memory Pool Info ---------
Type Total Used
[Unit 64 ] 1255 3
[Unit 96 ] 1255 0
[Unit 256] 1255 0
[Unit1024] 8 2
[Total ] 517K 2K
[VB] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:43]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----VB SUPPLEMENT ATTR--------------------------------------------------------
Supplement Config: 0
Supplement Size: 0
Vb Total Cnt: 64
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1
Size 1399680 1399680
Count 32 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x856da000 0x0 1 -1 1399808 32 32(32) 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
1 0x88192000 0x0 1 -1 1399808 32 13(13) 12
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
26 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
30 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
23 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
17 1 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
3 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
27 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 1 0 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
6 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
7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 8 0 0 7 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0
[VDEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:05]
-----MODULE PARAM--------------------------------------------------------------
obey_minCR MiniBufMode VBSource StreamCompaMode u32ProtocolSwitch
0 1 0 0 1
-----CHN ATTR & PARAMS-------------------------------------------------------
ID TYPE Prior MaxW MaxH Width Height StrmInputMode VideoFmt Compress STATE
ID VfmwID RefNum MvpEnable DispNum BufSize MaxSlice MaxSPS MaxPPS MaxVPS DisplayMode
ID ErrThr StrmThr DecMode OutMode SetUserPic Rotate PicPoolId PmvPoolId PriVbCnt
-----CHN STATE-----------------------------------------------------------------
ID PrtclErr StrmUnSP StrmError RefNumErr PicSizeErr fmterror PicBufSizeErr StrmNotRls Notify
ID fps TimerCnt BufFLen DataLen UsrFLen UsrLen ptsBufF ptsBufU StreamEnd
----- Detail Stream STATE -----------------------------------------------------------
ID MpiSndNum MpiSndLen VdecNum VdecLen FmGetNum FmGetLen FmRlsNum FmRlsLen FmLstGet FmRlsFail
----- Detail FrameStore STATE -----------------------------------------------------------
ID FmNewPic GetFromFm Discard UsrSnd KerSnd KerRls MeetEnd FrmInVdec CurPicPts RedDiff MaxRedDiff DecDiff MaxDecDiff
ID FreeNode VfmwNode VgsNode VgsWorkingNode BusyNode UserNode RefNum IsAvalible VbCnt MaxVbCnt GetPicVbFail GetMvpVbFail NoDisplay
----- Detail UserData STATE -----------------------------------------------------------
ID MpiGet MpiGetLen MpiRls MpiRlsLen Discard DiscardLen GetFromFm GetFromFmLen UsrFLen UsrLen
[VENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:20]
-----MODULE PARAM--------------------------------------------------------------
VencBufferCache FrameBufRecycle QuickSchedule JpegClearStreamBuf OneBufferForJpegOSD VencMaxChnNum
0 0 0 1 0 18
-----VENC CHN ATTR 1-----------------------------------------------------------
ID Width Height Type ByFrame Sequence LeftBytes LeftFrm CurPacks GopMode Prio
0 1280 720 1002 Y 360 0 0 2 NormalP 0
1 640 360 96 Y 0 0 0 0 NormalP 0
-----VENC CHN ATTR 2-----------------------------------------------------------
VeStr SrcFr TarFr Timeref PixFmt PicAddr
Y -1 -1 766 YUV420 0x88aea400
N -1 -1 56 YUV420 0x89999800
-----VENC CHN RECEIVE STAT-----------------------------------------------------
ID Start StartEx RecvLeft EncLeft
0 1 0 0 0
1 1 0 0 0
-----VENC VPSS QUERY-----------------------------------------------------------
ID Query QueryOk QueryFR Invld Full VbFail QueryFail InfoErr Stop
0 1799 1799 0 1437 0 0 0 0 0
1 1799 1799 0 1437 355 0 0 0 0
-----VENC SEND1----------------------------------------------------------------
ID VpssSnd VInfErr OthrSnd OInfErr Send Stop Full CropErr DrectSnd SizeErr
0 362 1 0 0 361 0 0 0 361 0
1 7 1 0 0 6 0 0 0 6 0
-----VENC SEND2----------------------------------------------------------------
ID SendVgs StartOk StartFail IntOk IntFail SrcAdd SrcSub DestAdd DestSub
0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
-----VENC PIC QUEUE STATE------------------------------------------------------
ID Free Busy Vgs
0 5 1 0
1 0 6 0
-----VENC CHNL INFO------------------------------------------------------------
ID Inq InqOk Start StartOk Config VencInt ChaResLost OverLoad Skip
0 1796 361 361 361 361 360 0 0 0
1 1437 1436 1436 0 0 0 0 0 0
-----VENC CROP INFO------------------------------------------------------------
ID CropEn StartX StartY Width Height
0 N 0 0 0 0
1 N 0 0 0 0
-----ROI INFO------------------------------------------------------------------
ID Type Index bRoiEn bAbsQp Qp Width Height StartX StartY
-----VENC STREAM STATE---------------------------------------------------------
ID FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 13 0 0 720 720 360 39986 25
1 0 0 0 0 0 0 0 0
[VGS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:53]
-----MODULE PARAM--------------------------------------------------------------
max_vgs_job max_vgs_task max_vgs_node weight_threshold
20 20 20 6
-----RECENT JOB INFO-----------------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----MAX WASTE TIME JOB INFO---------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----VGS JOB STATUS------------------------------------------------------------
Success Fail Cancel AllJobNum FreeNum BeginNum BusyNum ProcingNum
0 0 0 20 20 0 0 0
-----VGS TASK STATUS-----------------------------------------------------------
Success Fail Cancel AllTaskNum FreeNum BusyNum
0 0 0 20 20 0
-----VGS NODE STATUS-----------------------------------------------------------
AllNodeNum VgsBusyNum VpssBusyNum VgsMinFree VpssMinFree MaxInJob SubmitFail IntFail
20 0 0 -1 -1 0 0 0
-----VGS INT STATUS------------------------------------------------------------
IntNum IntTm HalProcTm
0 0 0
-----VGS MEM REQ STATUS -------------------------------------------------------
ReqOk FreeOk ReqFail FreeFail
0 0 0 0
[VIU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:08:59]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap min_cas_gap
10 0 0 28000 0
discard_int int_gap_time int_time vi_vb_source
0 45000 10000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
1 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
2 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
4 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
6 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 386 0 3 0 2 2 20 9 frm 1280
2 0 1 386 0 12 0 2 2 53 26 frm 1280
4 1 0 386 0 12 0 2 2 27 14 frm 1280
6 1 1 386 0 12 0 2 2 22 10 frm 1280
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 56 40001 40006 0 0 1 0 0 0 1 24
2 68 39999 40005 0 0 1 0 0 0 384 25
4 39 39997 40044 0 0 1 0 0 0 384 25
6 25 39996 40050 0 0 1 0 0 0 384 25
-----VI CHN ATTACH INFO---------------------------------------------------------
PhyChn Pool1 Pool2
0 -1 -1
2 -1 -1
4 -1 -1
6 -1 -1
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 40001 25 383 0 0 NONE
2 N 39999 25 374 0 0 NONE
4 N 39998 25 374 0 0 NONE
6 N 39995 25 374 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
[VOU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:46]
-----DEV CONFIG----------------------------------------------------------------
DevId DevEn Mux1 Mux2 Mux3 InfSync BkClr DevFrt
-----MODULE PARAM 1--------------------------------------------------------------
DevId detectCycle vgaDetectEnable
-----MODULE PARAM 2--------------------------------------------------------------
ext_csc_en
0
-----DEV VDAC STATUS-----------------------------------------------------------
DevId VDAC
-----VIDEO LAYER STATUS--------------------------------------------------------
LayerId VideoEn ClustMode PixFmt ImgW ImgH DispW DispH DispFrt DoubFrm Toleration Priority
-----VIDEO LAYER STATUS 2------------------------------------------------------
layerId VideoEn EnChNum Matrix Luma Cont Hue Satu
-----VIDEO LAYER STATUS 3------------------------------------------------------
layerId DevId SetBeg SetEnd PartitionMode SupportCompress u32BufLen
-----CHN BASE INFO ------------------------------------------------------------
LayerId ChnId ChnEn Prio DeFlk ChnX ChnY ChnW ChnH DispX DispY bSnap Field bCas CcPos bRcvMatch
-----CHN PLAY INFO 1-----------------------------------------------------------
LayerId ChnId Batch Show Pause Step Revrs Refsh Thrshd ChnFrt ChnGap
-----CHN PLAY INFO 2-----------------------------------------------------------
LayerId ChnId DisplayPts PrePts CurrPts ScalePts SetPts RecvCurPts
-----ByMutli CHN STATUS1-------------------------------------------------------
LayerId ChnId QCnt NewDo OldDo LCnt SCnt ChRpt BusyN ShouD Dsped Area AreaT
-----ByMutli CHN STATUS2-------------------------------------------------------
LayerId ChnId Buf1 Buf2 Buf3 Buf4 DBuf Stat1 Stat2 QNodeAddr SNodeAddr DispAddr ChnFreeNum ChnBusyNum
-----ByMutli CHN STATUS3--------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----BySingle CHN STATUS 1-----------------------------------------------------
LayerId ChnId Job Task LCnt SCnt ChRpt DRpt CBusy DBusy ShouD Dsped b2Scl ChnAddr DispAddr
-----BySingle CHN STATUS 2-----------------------------------------------------
LayerId ChnId bBorder TopWidth BottomWidth LeftWidth RightWidth Color ChnFreeNum ChnBusyNum DisplayFreeNum DisplayBusyNum
-----BySingle CHN STATUS3------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----CHN OTHER INFO------------------------------------------------------------
LayerId ChnId bZoom ZmTyp ZoomX ZoomY ZoomW ZoomH SrcW SrcH
-----WBC INFO------------------------------------------------------------------
WbcId WbcW WbcH PixFmt FrmRat RealRat Mode SrcType SrcId Depth NotFin
-----GRAPHICS LAYER------------------------------------------------------------
Layer BindDev
HC0 0
HC1 1
-----LAYER CSC PARAM-----------------------------------------------------------
LAYERID Matrix Luma Cont Hue Satu
-----DEV VIDEO STATUS 3--------------------------------------------------------
DevId bCasCfg bCasEn bCasSlv CasRgn CasMode CasPatn enCasDataTranMode Vtth
-----VGA PARAM-----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu Gain SharpenStrength
-----HDMI PARAM----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu
[VPSS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:02]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source vpss_en_ratio vpss_nr_vb_source
0 0 1
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode hNrPool
0 1280 720 SP420 nodie N Y N N N VPSS -1
1 1280 720 SP420 nodie N Y N N N VPSS -1
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 -1 -1 Y
1 0 0 0 -1 -1 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
1 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
0 1 40
1 0 40
1 1 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 Y N N Y 2 2 2 2 ffffff ff
0 1 Y N N Y 2 2 2 2 ffffff ff
1 0 Y N N Y 2 2 2 2 ffffff ff
1 1 Y N N Y 2 2 2 2 ffffff ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 N RIT 0 0 0 0 1280 720 1280 720
1 N RIT 0 0 0 0 1280 720 1280 720
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 7 0 0 1
1 5 3 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 383 21 0 362 0 0 1437 0 1
1 374 371 0 0 0 0 0 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 AUTO 0 361 1 -1 -1 --
0 1 AUTO 0 6 1 -1 -1 --
1 0 AUTO 0 0 0 -1 -1 --
1 1 AUTO 0 0 0 -1 -1 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 Y 1280 720 SP420 NONE NONE 0 0 1280 720 0 0 25
0 1 Y 640 360 SP420 NONE NONE 0 0 640 360 0 0 1
1 0 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
1 1 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 LinkInt StartErr0 NodeIdErr0 BusErr NoNrBuf
362 362 0 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0
457 0 0 0 0 0
认可0
回复
引用
举报
附着代码:
HI_S32 SAMPLE_VENC_NORMALP_CLASSIC(HI_VOID)
{
PAYLOAD_TYPE_E enPayLoad[2]= {PT_MJPEG, PT_H264};
PIC_SIZE_E enSize[2] = {PIC_HD720, PIC_HD720} ;//{PIC_HD720, PIC_HD720};
HI_U32 u32Profile = 0;
VB_CONF_S stVbConf;
SAMPLE_VI_MODE_E enViMode = SAMPLE_VI_MODE_8_720P ;//SAMPLE_VI_MODE_8_720P;
HI_S32 s32VpssGrpCnt = 4;
VPSS_GRP VpssGrp;
VPSS_CHN VpssChn;
VPSS_GRP_ATTR_S stVpssGrpAttr = {0};
VENC_CHN VencChn;
SAMPLE_RC_E enRcMode= SAMPLE_RC_CBR;
HI_S32 s32ChnNum=2;
HI_S32 s32Ret = HI_SUCCESS;
HI_U32 u32BlkSize;
SIZE_S stSize;
char c;
if(HI3521D_V100 != g_u32ChipId)
{
enViMode = SAMPLE_VI_MODE_8_720P;//SAMPLE_VI_MODE_8_720P;
s32VpssGrpCnt = 2;
}
/******************************************
step 1: init sys variable
******************************************/
memset(&stVbConf,0,sizeof(VB_CONF_S));
stVbConf.u32MaxPoolCnt = 128;
/*video buffer*/
if(s32ChnNum >= 1)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[0], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[0].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[0].u32BlkCnt = 32;
}
if(s32ChnNum >= 2)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[1], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[1].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[1].u32BlkCnt =32;
}
/******************************************
step 2: mpp system init.
******************************************/
s32Ret = SAMPLE_COMM_SYS_Init(&stVbConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("system init failed with %d!\n", s32Ret);
goto END_VENC_1080P_CLASSIC_0;
}
/******************************************
step 3: start vi dev & chn to capture
******************************************/
s32Ret = SAMPLE_COMM_VI_Start(enViMode,gs_enNorm);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("start vi failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
/******************************************
step 4: start vpss and vi bind vpss
******************************************/
s32Ret = SAMPLE_COMM_SYS_GetPicSize(gs_enNorm, enSize[0], &stSize);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("SAMPLE_COMM_SYS_GetPicSize failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
if(s32ChnNum >= 1)
{
VpssGrp = 0;
memset(&stVpssGrpAttr,0,sizeof(VPSS_GRP_ATTR_S));
stVpssGrpAttr.u32MaxW = stSize.u32Width;
stVpssGrpAttr.u32MaxH = stSize.u32Height;
stVpssGrpAttr.bNrEn = HI_TRUE;
stVpssGrpAttr.enDieMode = VPSS_DIE_MODE_NODIE;
stVpssGrpAttr.enPixFmt = SAMPLE_PIXEL_FORMAT;
s32Ret = SAMPLE_COMM_VPSS_Start(s32VpssGrpCnt, &stSize,s32ChnNum , &stVpssGrpAttr);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_2;
}
s32Ret = SAMPLE_COMM_VI_BindVpss(enViMode);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Vi bind Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_3;
}
}
/******************************************
step 5: start stream venc
******************************************/
/*** HD1080P **/
printf("\t c) cbr.\n");
printf("\t v) vbr.\n");
printf("\t a) avbr.\n");
printf("\t f) fixQp\n");
printf("please input choose rc mode!\n");
c = (char)getchar();
switch(c)
{
case 'c':
enRcMode = SAMPLE_RC_CBR;
break;
case 'v':
enRcMode = SAMPLE_RC_VBR;
break;
case 'a':
enRcMode = SAMPLE_RC_AVBR;
break;
case 'f':
enRcMode = SAMPLE_RC_FIXQP;
break;
default:
printf("rc mode! is invaild!\n");
goto END_VENC_1080P_CLASSIC_3;
}
/*** enSize[0] **/
if(s32ChnNum >= 1)
{
VpssGrp = 0;
VpssChn = 0;
VencChn = 0;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[0],\
gs_enNorm, enSize[0], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/*** enSize[1] **/
if(s32ChnNum >= 2)
{
VpssChn = 1;
VencChn = 1;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[1], \
gs_enNorm, enSize[1], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/******************************************
step 6: stream venc process -- get stream, then save it to file.
******************************************/
s32Ret = SAMPLE_COMM_VENC_StartGetStream(s32ChnNum);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
printf("please press ENTER to exit this sample\n");
getchar();
getchar();
/******************************************
step 7: exit process
******************************************/
SAMPLE_COMM_VENC_StopGetStream();
END_VENC_1080P_CLASSIC_4:
VpssGrp = 0;
switch(s32ChnNum)
{
case 2:
VpssChn = 1;
VencChn = 1;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
case 1:
VpssChn = 0;
VencChn = 0;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
break;
}
END_VENC_1080P_CLASSIC_3: //unbind vpss and vi
SAMPLE_COMM_VI_UnBindVpss(enViMode);
END_VENC_1080P_CLASSIC_2: //vpss stop
SAMPLE_COMM_VPSS_Stop(s32VpssGrpCnt,s32ChnNum);
END_VENC_1080P_CLASSIC_1: //vi stop
SAMPLE_COMM_VI_Stop(enViMode);
END_VENC_1080P_CLASSIC_0: //system exit
SAMPLE_COMM_SYS_Exit();
return s32Ret;
}
proc/umap/下信息如下:
[ADEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
[AENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
[AI] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
-----AI CHN STATUS--------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost UsrFrmDepth u32Data0 u32Data1 UserGet UserRls
-----AI CHN RESAMPLE STATUS-----------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
-----AI CHN VQE STATUS0---------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum GainVol bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
[AO] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AO DEV ATTR---------------------------------------------------------------------------------------------------------
AoDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AO DEV STATUS-------------------------------------------------------------------------------------------------------
AoDev TranLen CBPhy CBSize ROffSet WOffSet
-----AO DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AoDev enTrack bMute Volume
-----AO CHN STATUS--------------------------------------------------------------
AoDev AoChn State Read Write BufEmp u32Data0 u32Data1 bResmp PoiNum InSampR OutSampR
-----AO CHN VQE STATUS0---------------------------------------------------------
AoDev AoChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf WrFile
[CHNL] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:52]
Total Chnl Scheduler Count: 2
-----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 1539 1539 0 0 1436 0 1435 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
1 0 H264E 6 IDLE 1436 0 1435 0
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
1 H264E 0 0 0 0 0 0 0
-----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 JPEGU_0 PAUSE 1898 1538 360 0 2155 360 0 360 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
0 0 JPEGE 0 IDLE 2155 360 0 360
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
0 JPEGE 0 0 0 0 0 0 0
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
[H264E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:27]
-----MODULE PARAM--------------------------------------------------------------
H264eOneStreamBuffer H264eVBSource H264ePowerSaveEn H264eMiniBufMode H264eRcnEqualRef bQpHstgrmEn
0 2 1 1 0 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height profile C2GEn BufSize ByFrame GopMode MaxStrCnt
1 1280 720 640 360 base N 460800 Y NormalP 200
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
1 0 0 1435 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
1 0xc5d80000 0x0 0x0 0x0 0x0 0 462784
-----RefParam INFO--------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
1 Y 1 0 0 0
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
1 -1 -1
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize IntraRefresh enIslice RefreshLine QpOfIDR
1 N N/A N/A N N 5 51
-----Inter & Intra prediction INFO---------------------------------------------
ID profile HWsize VWsize P16x16 P16x8 P8x16 P8x8 MvExt I16x16 Inxn Ipcm
1 base 0 0 Y Y Y Y Y Y Y Y
-----Syntax INFO2--------------------------------------------------------------
ID profile EntrpyI EntrpyP EntrpyB Itrans Ptrans QMatrix POC DblkIdc alpha beta
1 base cavlc cavlc cavlc 4x4 4x4 N 0 0 0 0
[H265E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:29]
-----MODULE PARAM--------------------------------------------------------------
H265eOneStreamBuffer H265eVBSource H265ePowerSaveEn H265eMiniBufMode bQpHstgrmEn
0 2 1 1 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height Profile C2GEn BufSize ByFrame GopMode MaxStrCnt
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
-----RefParam INFO-------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize bCrossSlc IntraRefresh enIslice RefreshLine QpOfIDR
-----Syntax INFO2--------------------------------------------------------------
ID DblkEn Tc Beta Saoluma Saochroma EntrpyFlag
-----Syntax INFO3--------------------------------------------------------------
ID TimInfFlag NumInTick TimeScal DiffOne
-----Pu INFO-------------------------------------------------------------------
ID Pu32En Pu16En Pu8En Pu4En ConsIntra IntraSmo IpcmEn PcmLoFil NumMergCan
-----Trans INFO----------------------------------------------------------------
ID TranByPass TranSkip CbQpOffset CrQpOffset
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
-------------------------- APPAttr -----------------------------
HDMIEnable : NO DefaultAction : NONE
VideoEnable : NO AudioEnable : NO
AviInfoEnable : NO AudioInfoEnable: NO
xvYCCMode : NO HDCPEnable : NO
DeepColorMode : 24 SpdInfoEnable : NO
OutColorSpace : RGB MpegInfoEnable : NO
ColorSpaceAdapt: NO DeepColorAdapt : NO
DebugEnable : NO CtsAuthEnable : NO
enHDCPMode : AUTO
-------------------------- SWStatus ----------------------------
ThreadRun : YES RunStatus : CLOSE
TMDSMode : NONE
KernelCnt : 0 UserCnt : 0
KCallBack : NO UCallBackCnt : 0
TransitState : NONE
EmiEnable : NO
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
--------------------------------------- EDIDRawData -----------------------------------------
------------------------------ SWStatus -------------------------------------------
CapFromSink : NO RawUpdateErrCnt : 0
CapIsValid : NO ParseErrorType : 0
RawIsValid : NO ParseWarnType : 0x00000000
RawGetErrCnt : 1 RawLength : 0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
layer name :layer_0
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(1280, 720)
xres_virtual, yres_virtual :(1280, 720)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :4052 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_1
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_2
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_3
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(128, 128)
xres_virtual, yres_virtual :(128, 128)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :128 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_4
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
[JPEGE] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:34]
-----MODULE PARAM--------------------------------------------------------------
JpegeOneStreamBuffer JpegeMiniBufMode
0 1
-----ATTRIBUTE1----------------------------------------------------------------
ID bMjpeg PicType MaxWidth MaxHeight Width Height BufSize ByFrm MCU Qfactor C2GEn DcfEn
0 Y YUV420 1280 720 1280 720 2764800 Y 0 93 N N
-----STATUS1-------------------------------------------------------------------
ID BufLen FreeLen StrmCnt MaxStrm
0 2764800 2764736 0 200
-----STATUS2-------------------------------------------------------------------
ID PicRec PicCoded PicDroped PicDisc NoStmCnt RcFail PicRecode UnrdStr
0 360 360 0 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead BufLen DataLen BufFree
0 0xc6800000 1171968 1171968 1171968 1171968 2764800 0 2764736
-----LOG BUFFER STATE----------------------------------------------------------
MaxLen ReadPos WritePos ButtPos
64(KB) 53710 53709 65054
-----CURRENT LOG LEVEL---------------------------------------------------------
vb : 3
sys : 3
rgn : 3
chnl : 3
vdec : 3
vpss : 3
venc : 3
h264e : 3
jpege : 3
vfmw : 3
vou : 3
vi : 3
rc : 3
aio : 3
ai : 3
ao : 3
aenc : 3
adec : 3
hdmi : 3
tde : 3
vedu : 3
vgs : 3
h265e : 3
[RC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:25]
-----MODULE PARAM--------------------------------------------------------------
ClrStatAfterSetBr
1
------BASE PARAMS 1------------------------------------------------------------
ChnId Gop StatTm ViFr TrgFr ProType RcMode Br(kbps) FluLev IQp PQp BQp
0 1 1 25 25/0 1002 CBR 15360 1 N/A N/A N/A
1 25 1 25 25/0 96 CBR 1024 1 N/A N/A N/A
------BASE PARAMS 2------------------------------------------------------------
ChnId EnableIdr bQpMapEn QpMapMode bQpMapAbsQp
0 Y N N/A N/A
1 Y N N/A N/A
-----RUN COMM PARAM 1----------------------------------------------------------
ChnId RowQpDelta ThrdI(16)
0 0 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 2 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 2------------------------------------------------------------
ChnId FirstFrmStartQP ThrdP(16)
0 -1 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 -1 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 3----------------------------------------------------------
ChnId PARAM ThrdB(16)
0 DEFAULT [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 DEFAULT [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 4----------------------------------------------------------
ChnId LevelI(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 5----------------------------------------------------------
ChnId LevelP(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 6----------------------------------------------------------
ChnId LevelB(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 7----------------------------------------------------------
ChnId bLost LostThr LostFrmStr EncGap RCPriority SprFrmMod SprIFrm SprPFrm SprBFrm bClrStat
0 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
1 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
-----GOP MODE ATTR-------------------------------------------------------------
ChnId GopMode IpQpDelta SPInterval SPQpDelta BFrmNum BQpDelta BgInterval ViQpDelta bAdvSmartP
0 N/A N/A N/A N/A N/A N/A N/A N/A N/A
1 NormalP 0 N/A N/A N/A N/A N/A N/A N/A
-----RUN CBR PARAM ------------------------------------------------------------
ChnId MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp QLevel MaxReEncTimes
0 1 100 99 20 99 20 3 2
1 1 20 51 10 51 10 3 2
-----RUN VBR PARAM ------------------------------------------------------------
ChnId ChgPs MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp MaxReEncTimes MaxStillQP MinPercent MinStillPSNR BitPercentLL BitPercentUL PsnrFluctuateLL PsnrFluctuateUL
-----RUN INFO1-----------------------------------------------------------------
ChnId InsBr(kbps) InsFr WatL CfgBt(kb) RealBt(kb) IPRatio TarPercent StartQp MinQp MaxQp
0 15460 25 21012 614 617 0 N/A 93 20 99
1 1023 0 640 0 0 0 N/A 0 0 0
-----RC PERFORMANCE INFO------------------------------------------------------
ChnId StaOfstaTim TotaOfstaTim StaOfEndTim TotaOfEndTim TotalTime
0 2554615301 4161 2554623074 2915 7076
1 2554645364 0 0 0 0
[RGN] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:56]
-----MODULE PARAM--------------------------------------------------------------
bCanvasNumValid
1
[SYS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:45]
System State: 0 (0: initialized; 1: exiting; 2: exited)
System Align: 16
Mem Total: 256(M)
-----SCALE COEFF INFO-----------------------------------------------------------
RangeLevel RangeValue HorLum HorChr VerLum VerChr
RANGE_0 (0, 1/4) LEVEL_0 LEVEL_0 LEVEL_0 LEVEL_0
RANGE_1 [1/4, 1/3) LEVEL_1 LEVEL_0 LEVEL_1 LEVEL_0
RANGE_2 [1/3, 1/2) LEVEL_2 LEVEL_1 LEVEL_2 LEVEL_1
RANGE_3 [1/2, 3/4) LEVEL_3 LEVEL_2 LEVEL_3 LEVEL_2
RANGE_4 [3/4, 1) LEVEL_3 LEVEL_2 LEVEL_4 LEVEL_2
RANGE_5 [1, 1] LEVEL_4 LEVEL_3 LEVEL_5 LEVEL_3
RANGE_6 (1, MAX) LEVEL_5 LEVEL_2 LEVEL_6 LEVEL_2
-----MEM TABLE--------------------------------------------------------
MOD MODNAME DEV CHN MMZNAME
-----BIND RELATION TABLE--------------------------------------------------------
FirMod FirDev FirChn SecMod SecDev SecChn TirMod TirDev TirChn SendCnt rstCnt
vpss 0 0 venc 0 0 null 0 0 0 0
vpss 0 1 venc 0 1 null 0 0 0 0
vi 0 0 vpss 0 0 venc 0 0 383 0
vi 0 0 vpss 0 1 venc 0 1 383 0
vi 0 2 vpss 1 0 null 0 0 374 0
vi 0 4 vpss 2 0 null 0 0 374 0
vi 0 6 vpss 3 0 null 0 0 374 0
--------- Hisilicon TDE Memory Pool Info ---------
Type Total Used
[Unit 64 ] 1255 3
[Unit 96 ] 1255 0
[Unit 256] 1255 0
[Unit1024] 8 2
[Total ] 517K 2K
[VB] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:43]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----VB SUPPLEMENT ATTR--------------------------------------------------------
Supplement Config: 0
Supplement Size: 0
Vb Total Cnt: 64
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1
Size 1399680 1399680
Count 32 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x856da000 0x0 1 -1 1399808 32 32(32) 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
1 0x88192000 0x0 1 -1 1399808 32 13(13) 12
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
26 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
30 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
23 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
17 1 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
3 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
27 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 1 0 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
6 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
7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 8 0 0 7 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0
[VDEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:05]
-----MODULE PARAM--------------------------------------------------------------
obey_minCR MiniBufMode VBSource StreamCompaMode u32ProtocolSwitch
0 1 0 0 1
-----CHN ATTR & PARAMS-------------------------------------------------------
ID TYPE Prior MaxW MaxH Width Height StrmInputMode VideoFmt Compress STATE
ID VfmwID RefNum MvpEnable DispNum BufSize MaxSlice MaxSPS MaxPPS MaxVPS DisplayMode
ID ErrThr StrmThr DecMode OutMode SetUserPic Rotate PicPoolId PmvPoolId PriVbCnt
-----CHN STATE-----------------------------------------------------------------
ID PrtclErr StrmUnSP StrmError RefNumErr PicSizeErr fmterror PicBufSizeErr StrmNotRls Notify
ID fps TimerCnt BufFLen DataLen UsrFLen UsrLen ptsBufF ptsBufU StreamEnd
----- Detail Stream STATE -----------------------------------------------------------
ID MpiSndNum MpiSndLen VdecNum VdecLen FmGetNum FmGetLen FmRlsNum FmRlsLen FmLstGet FmRlsFail
----- Detail FrameStore STATE -----------------------------------------------------------
ID FmNewPic GetFromFm Discard UsrSnd KerSnd KerRls MeetEnd FrmInVdec CurPicPts RedDiff MaxRedDiff DecDiff MaxDecDiff
ID FreeNode VfmwNode VgsNode VgsWorkingNode BusyNode UserNode RefNum IsAvalible VbCnt MaxVbCnt GetPicVbFail GetMvpVbFail NoDisplay
----- Detail UserData STATE -----------------------------------------------------------
ID MpiGet MpiGetLen MpiRls MpiRlsLen Discard DiscardLen GetFromFm GetFromFmLen UsrFLen UsrLen
[VENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:20]
-----MODULE PARAM--------------------------------------------------------------
VencBufferCache FrameBufRecycle QuickSchedule JpegClearStreamBuf OneBufferForJpegOSD VencMaxChnNum
0 0 0 1 0 18
-----VENC CHN ATTR 1-----------------------------------------------------------
ID Width Height Type ByFrame Sequence LeftBytes LeftFrm CurPacks GopMode Prio
0 1280 720 1002 Y 360 0 0 2 NormalP 0
1 640 360 96 Y 0 0 0 0 NormalP 0
-----VENC CHN ATTR 2-----------------------------------------------------------
VeStr SrcFr TarFr Timeref PixFmt PicAddr
Y -1 -1 766 YUV420 0x88aea400
N -1 -1 56 YUV420 0x89999800
-----VENC CHN RECEIVE STAT-----------------------------------------------------
ID Start StartEx RecvLeft EncLeft
0 1 0 0 0
1 1 0 0 0
-----VENC VPSS QUERY-----------------------------------------------------------
ID Query QueryOk QueryFR Invld Full VbFail QueryFail InfoErr Stop
0 1799 1799 0 1437 0 0 0 0 0
1 1799 1799 0 1437 355 0 0 0 0
-----VENC SEND1----------------------------------------------------------------
ID VpssSnd VInfErr OthrSnd OInfErr Send Stop Full CropErr DrectSnd SizeErr
0 362 1 0 0 361 0 0 0 361 0
1 7 1 0 0 6 0 0 0 6 0
-----VENC SEND2----------------------------------------------------------------
ID SendVgs StartOk StartFail IntOk IntFail SrcAdd SrcSub DestAdd DestSub
0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
-----VENC PIC QUEUE STATE------------------------------------------------------
ID Free Busy Vgs
0 5 1 0
1 0 6 0
-----VENC CHNL INFO------------------------------------------------------------
ID Inq InqOk Start StartOk Config VencInt ChaResLost OverLoad Skip
0 1796 361 361 361 361 360 0 0 0
1 1437 1436 1436 0 0 0 0 0 0
-----VENC CROP INFO------------------------------------------------------------
ID CropEn StartX StartY Width Height
0 N 0 0 0 0
1 N 0 0 0 0
-----ROI INFO------------------------------------------------------------------
ID Type Index bRoiEn bAbsQp Qp Width Height StartX StartY
-----VENC STREAM STATE---------------------------------------------------------
ID FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 13 0 0 720 720 360 39986 25
1 0 0 0 0 0 0 0 0
[VGS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:53]
-----MODULE PARAM--------------------------------------------------------------
max_vgs_job max_vgs_task max_vgs_node weight_threshold
20 20 20 6
-----RECENT JOB INFO-----------------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----MAX WASTE TIME JOB INFO---------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----VGS JOB STATUS------------------------------------------------------------
Success Fail Cancel AllJobNum FreeNum BeginNum BusyNum ProcingNum
0 0 0 20 20 0 0 0
-----VGS TASK STATUS-----------------------------------------------------------
Success Fail Cancel AllTaskNum FreeNum BusyNum
0 0 0 20 20 0
-----VGS NODE STATUS-----------------------------------------------------------
AllNodeNum VgsBusyNum VpssBusyNum VgsMinFree VpssMinFree MaxInJob SubmitFail IntFail
20 0 0 -1 -1 0 0 0
-----VGS INT STATUS------------------------------------------------------------
IntNum IntTm HalProcTm
0 0 0
-----VGS MEM REQ STATUS -------------------------------------------------------
ReqOk FreeOk ReqFail FreeFail
0 0 0 0
[VIU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:08:59]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap min_cas_gap
10 0 0 28000 0
discard_int int_gap_time int_time vi_vb_source
0 45000 10000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
1 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
2 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
4 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
6 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 386 0 3 0 2 2 20 9 frm 1280
2 0 1 386 0 12 0 2 2 53 26 frm 1280
4 1 0 386 0 12 0 2 2 27 14 frm 1280
6 1 1 386 0 12 0 2 2 22 10 frm 1280
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 56 40001 40006 0 0 1 0 0 0 1 24
2 68 39999 40005 0 0 1 0 0 0 384 25
4 39 39997 40044 0 0 1 0 0 0 384 25
6 25 39996 40050 0 0 1 0 0 0 384 25
-----VI CHN ATTACH INFO---------------------------------------------------------
PhyChn Pool1 Pool2
0 -1 -1
2 -1 -1
4 -1 -1
6 -1 -1
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 40001 25 383 0 0 NONE
2 N 39999 25 374 0 0 NONE
4 N 39998 25 374 0 0 NONE
6 N 39995 25 374 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
[VOU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:46]
-----DEV CONFIG----------------------------------------------------------------
DevId DevEn Mux1 Mux2 Mux3 InfSync BkClr DevFrt
-----MODULE PARAM 1--------------------------------------------------------------
DevId detectCycle vgaDetectEnable
-----MODULE PARAM 2--------------------------------------------------------------
ext_csc_en
0
-----DEV VDAC STATUS-----------------------------------------------------------
DevId VDAC
-----VIDEO LAYER STATUS--------------------------------------------------------
LayerId VideoEn ClustMode PixFmt ImgW ImgH DispW DispH DispFrt DoubFrm Toleration Priority
-----VIDEO LAYER STATUS 2------------------------------------------------------
layerId VideoEn EnChNum Matrix Luma Cont Hue Satu
-----VIDEO LAYER STATUS 3------------------------------------------------------
layerId DevId SetBeg SetEnd PartitionMode SupportCompress u32BufLen
-----CHN BASE INFO ------------------------------------------------------------
LayerId ChnId ChnEn Prio DeFlk ChnX ChnY ChnW ChnH DispX DispY bSnap Field bCas CcPos bRcvMatch
-----CHN PLAY INFO 1-----------------------------------------------------------
LayerId ChnId Batch Show Pause Step Revrs Refsh Thrshd ChnFrt ChnGap
-----CHN PLAY INFO 2-----------------------------------------------------------
LayerId ChnId DisplayPts PrePts CurrPts ScalePts SetPts RecvCurPts
-----ByMutli CHN STATUS1-------------------------------------------------------
LayerId ChnId QCnt NewDo OldDo LCnt SCnt ChRpt BusyN ShouD Dsped Area AreaT
-----ByMutli CHN STATUS2-------------------------------------------------------
LayerId ChnId Buf1 Buf2 Buf3 Buf4 DBuf Stat1 Stat2 QNodeAddr SNodeAddr DispAddr ChnFreeNum ChnBusyNum
-----ByMutli CHN STATUS3--------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----BySingle CHN STATUS 1-----------------------------------------------------
LayerId ChnId Job Task LCnt SCnt ChRpt DRpt CBusy DBusy ShouD Dsped b2Scl ChnAddr DispAddr
-----BySingle CHN STATUS 2-----------------------------------------------------
LayerId ChnId bBorder TopWidth BottomWidth LeftWidth RightWidth Color ChnFreeNum ChnBusyNum DisplayFreeNum DisplayBusyNum
-----BySingle CHN STATUS3------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----CHN OTHER INFO------------------------------------------------------------
LayerId ChnId bZoom ZmTyp ZoomX ZoomY ZoomW ZoomH SrcW SrcH
-----WBC INFO------------------------------------------------------------------
WbcId WbcW WbcH PixFmt FrmRat RealRat Mode SrcType SrcId Depth NotFin
-----GRAPHICS LAYER------------------------------------------------------------
Layer BindDev
HC0 0
HC1 1
-----LAYER CSC PARAM-----------------------------------------------------------
LAYERID Matrix Luma Cont Hue Satu
-----DEV VIDEO STATUS 3--------------------------------------------------------
DevId bCasCfg bCasEn bCasSlv CasRgn CasMode CasPatn enCasDataTranMode Vtth
-----VGA PARAM-----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu Gain SharpenStrength
-----HDMI PARAM----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu
[VPSS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:02]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source vpss_en_ratio vpss_nr_vb_source
0 0 1
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode hNrPool
0 1280 720 SP420 nodie N Y N N N VPSS -1
1 1280 720 SP420 nodie N Y N N N VPSS -1
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 -1 -1 Y
1 0 0 0 -1 -1 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
1 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
0 1 40
1 0 40
1 1 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 Y N N Y 2 2 2 2 ffffff ff
0 1 Y N N Y 2 2 2 2 ffffff ff
1 0 Y N N Y 2 2 2 2 ffffff ff
1 1 Y N N Y 2 2 2 2 ffffff ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 N RIT 0 0 0 0 1280 720 1280 720
1 N RIT 0 0 0 0 1280 720 1280 720
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 7 0 0 1
1 5 3 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 383 21 0 362 0 0 1437 0 1
1 374 371 0 0 0 0 0 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 AUTO 0 361 1 -1 -1 --
0 1 AUTO 0 6 1 -1 -1 --
1 0 AUTO 0 0 0 -1 -1 --
1 1 AUTO 0 0 0 -1 -1 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 Y 1280 720 SP420 NONE NONE 0 0 1280 720 0 0 25
0 1 Y 640 360 SP420 NONE NONE 0 0 640 360 0 0 1
1 0 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
1 1 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 LinkInt StartErr0 NodeIdErr0 BusErr NoNrBuf
362 362 0 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0
457 0 0 0 0 0
HI_S32 SAMPLE_VENC_NORMALP_CLASSIC(HI_VOID)
{
PAYLOAD_TYPE_E enPayLoad[2]= {PT_MJPEG, PT_H264};
PIC_SIZE_E enSize[2] = {PIC_HD720, PIC_HD720} ;//{PIC_HD720, PIC_HD720};
HI_U32 u32Profile = 0;
VB_CONF_S stVbConf;
SAMPLE_VI_MODE_E enViMode = SAMPLE_VI_MODE_8_720P ;//SAMPLE_VI_MODE_8_720P;
HI_S32 s32VpssGrpCnt = 4;
VPSS_GRP VpssGrp;
VPSS_CHN VpssChn;
VPSS_GRP_ATTR_S stVpssGrpAttr = {0};
VENC_CHN VencChn;
SAMPLE_RC_E enRcMode= SAMPLE_RC_CBR;
HI_S32 s32ChnNum=2;
HI_S32 s32Ret = HI_SUCCESS;
HI_U32 u32BlkSize;
SIZE_S stSize;
char c;
if(HI3521D_V100 != g_u32ChipId)
{
enViMode = SAMPLE_VI_MODE_8_720P;//SAMPLE_VI_MODE_8_720P;
s32VpssGrpCnt = 2;
}
/******************************************
step 1: init sys variable
******************************************/
memset(&stVbConf,0,sizeof(VB_CONF_S));
stVbConf.u32MaxPoolCnt = 128;
/*video buffer*/
if(s32ChnNum >= 1)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[0], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[0].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[0].u32BlkCnt = 32;
}
if(s32ChnNum >= 2)
{
u32BlkSize = SAMPLE_COMM_SYS_CalcPicVbBlkSize(gs_enNorm,\
enSize[1], SAMPLE_PIXEL_FORMAT, SAMPLE_SYS_ALIGN_WIDTH,COMPRESS_MODE_SEG);
stVbConf.astCommPool[1].u32BlkSize = u32BlkSize;
stVbConf.astCommPool[1].u32BlkCnt =32;
}
/******************************************
step 2: mpp system init.
******************************************/
s32Ret = SAMPLE_COMM_SYS_Init(&stVbConf);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("system init failed with %d!\n", s32Ret);
goto END_VENC_1080P_CLASSIC_0;
}
/******************************************
step 3: start vi dev & chn to capture
******************************************/
s32Ret = SAMPLE_COMM_VI_Start(enViMode,gs_enNorm);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("start vi failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
/******************************************
step 4: start vpss and vi bind vpss
******************************************/
s32Ret = SAMPLE_COMM_SYS_GetPicSize(gs_enNorm, enSize[0], &stSize);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("SAMPLE_COMM_SYS_GetPicSize failed!\n");
goto END_VENC_1080P_CLASSIC_1;
}
if(s32ChnNum >= 1)
{
VpssGrp = 0;
memset(&stVpssGrpAttr,0,sizeof(VPSS_GRP_ATTR_S));
stVpssGrpAttr.u32MaxW = stSize.u32Width;
stVpssGrpAttr.u32MaxH = stSize.u32Height;
stVpssGrpAttr.bNrEn = HI_TRUE;
stVpssGrpAttr.enDieMode = VPSS_DIE_MODE_NODIE;
stVpssGrpAttr.enPixFmt = SAMPLE_PIXEL_FORMAT;
s32Ret = SAMPLE_COMM_VPSS_Start(s32VpssGrpCnt, &stSize,s32ChnNum , &stVpssGrpAttr);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_2;
}
s32Ret = SAMPLE_COMM_VI_BindVpss(enViMode);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Vi bind Vpss failed!\n");
goto END_VENC_1080P_CLASSIC_3;
}
}
/******************************************
step 5: start stream venc
******************************************/
/*** HD1080P **/
printf("\t c) cbr.\n");
printf("\t v) vbr.\n");
printf("\t a) avbr.\n");
printf("\t f) fixQp\n");
printf("please input choose rc mode!\n");
c = (char)getchar();
switch(c)
{
case 'c':
enRcMode = SAMPLE_RC_CBR;
break;
case 'v':
enRcMode = SAMPLE_RC_VBR;
break;
case 'a':
enRcMode = SAMPLE_RC_AVBR;
break;
case 'f':
enRcMode = SAMPLE_RC_FIXQP;
break;
default:
printf("rc mode! is invaild!\n");
goto END_VENC_1080P_CLASSIC_3;
}
/*** enSize[0] **/
if(s32ChnNum >= 1)
{
VpssGrp = 0;
VpssChn = 0;
VencChn = 0;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[0],\
gs_enNorm, enSize[0], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/*** enSize[1] **/
if(s32ChnNum >= 2)
{
VpssChn = 1;
VencChn = 1;
s32Ret = SAMPLE_COMM_VENC_Start(VencChn, enPayLoad[1], \
gs_enNorm, enSize[1], enRcMode,u32Profile);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
s32Ret = SAMPLE_COMM_VENC_BindVpss(VencChn, VpssGrp, VpssChn);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
}
/******************************************
step 6: stream venc process -- get stream, then save it to file.
******************************************/
s32Ret = SAMPLE_COMM_VENC_StartGetStream(s32ChnNum);
if (HI_SUCCESS != s32Ret)
{
SAMPLE_PRT("Start Venc failed!\n");
goto END_VENC_1080P_CLASSIC_4;
}
printf("please press ENTER to exit this sample\n");
getchar();
getchar();
/******************************************
step 7: exit process
******************************************/
SAMPLE_COMM_VENC_StopGetStream();
END_VENC_1080P_CLASSIC_4:
VpssGrp = 0;
switch(s32ChnNum)
{
case 2:
VpssChn = 1;
VencChn = 1;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
case 1:
VpssChn = 0;
VencChn = 0;
SAMPLE_COMM_VENC_UnBindVpss(VencChn, VpssGrp, VpssChn);
SAMPLE_COMM_VENC_Stop(VencChn);
break;
}
END_VENC_1080P_CLASSIC_3: //unbind vpss and vi
SAMPLE_COMM_VI_UnBindVpss(enViMode);
END_VENC_1080P_CLASSIC_2: //vpss stop
SAMPLE_COMM_VPSS_Stop(s32VpssGrpCnt,s32ChnNum);
END_VENC_1080P_CLASSIC_1: //vi stop
SAMPLE_COMM_VI_Stop(enViMode);
END_VENC_1080P_CLASSIC_0: //system exit
SAMPLE_COMM_SYS_Exit();
return s32Ret;
}
proc/umap/下信息如下:
[ADEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----ADEC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType BufSize G726Rate Mode OriSendCnt SendCnt GetCnt PutCnt
[AENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:35]
-----AENC CHN ATTR--------------------------------------------------------------
ChnId PlType ADPCMType PoiNum BufSize G726Rate
-----AENC CHN STATUS------------------------------------------------------------
ChnId RcvFrm AiQueLost EncOk FrmErr BufFull GetStrm RlsStrm WtFile
[AI] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AI DEV ATTR---------------------------------------------------------------------------------------------------------
AiDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AI DEV STATUS-------------------------------------------------------------------------------------------------------
AiDev TranLen CBPhy CBSize ROffSet WOffSet
-----AI DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AiDev enTrack bMute Volume
-----AI CHN STATUS--------------------------------------------------------------
AiDev AiChn State Read Write BufFul UsrQueLost UsrFrmDepth u32Data0 u32Data1 UserGet UserRls
-----AI CHN RESAMPLE STATUS-----------------------------------------------------
AiDev AiChn State bResmp PoiNum InSampR OutSampR
-----AI CHN VQE STATUS0---------------------------------------------------------
AiDev AiChn State bVqe workmod RATE PoiNum GainVol bAnr bAgc bEq bHpf bAec bRnr bHdr bDrc bPeq WrFile
[AO] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:09:35]
-----AO DEV ATTR---------------------------------------------------------------------------------------------------------
AoDev WorkMod SampR BitWid ChnCnt ClkCnt ClkSel SoundMod PoiNum ExFlag FrmNum
-----AO DEV STATUS-------------------------------------------------------------------------------------------------------
AoDev TranLen CBPhy CBSize ROffSet WOffSet
-----AO DEV EXTEND STATUS------------------------------------------------------------------------------------------------
AoDev enTrack bMute Volume
-----AO CHN STATUS--------------------------------------------------------------
AoDev AoChn State Read Write BufEmp u32Data0 u32Data1 bResmp PoiNum InSampR OutSampR
-----AO CHN VQE STATUS0---------------------------------------------------------
AoDev AoChn State bVqe workmod RATE PoiNum bAnr bAgc bEq bHpf WrFile
[CHNL] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:52]
Total Chnl Scheduler Count: 2
-----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 1539 1539 0 0 1436 0 1435 0 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
1 0 H264E 6 IDLE 1436 0 1435 0
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
1 H264E 0 0 0 0 0 0 0
-----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 JPEGU_0 PAUSE 1898 1538 360 0 2155 360 0 360 0
-----CHNL STATE----------------------------------------------------------------
ChnlId Prio Type TskNum State InqCnt StartOk StartNo IntPro
0 0 JPEGE 0 IDLE 2155 360 0 360
-----CHNL PERF-----------------------------------------------------------------
ChnlId Type StartCost IntCost IntCostL HWCost HWCycle HWCostL HWCostAcc
0 JPEGE 0 0 0 0 0 0 0
-----CHNL CURRENT RUN STATE----------------------------------------------------
VpuId VpuName ChnlId Type
No running channel here
[H264E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:27]
-----MODULE PARAM--------------------------------------------------------------
H264eOneStreamBuffer H264eVBSource H264ePowerSaveEn H264eMiniBufMode H264eRcnEqualRef bQpHstgrmEn
0 2 1 1 0 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height profile C2GEn BufSize ByFrame GopMode MaxStrCnt
1 1280 720 640 360 base N 460800 Y NormalP 200
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
1 0 0 1435 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
1 0xc5d80000 0x0 0x0 0x0 0x0 0 462784
-----RefParam INFO--------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
1 Y 1 0 0 0
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
1 -1 -1
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize IntraRefresh enIslice RefreshLine QpOfIDR
1 N N/A N/A N N 5 51
-----Inter & Intra prediction INFO---------------------------------------------
ID profile HWsize VWsize P16x16 P16x8 P8x16 P8x8 MvExt I16x16 Inxn Ipcm
1 base 0 0 Y Y Y Y Y Y Y Y
-----Syntax INFO2--------------------------------------------------------------
ID profile EntrpyI EntrpyP EntrpyB Itrans Ptrans QMatrix POC DblkIdc alpha beta
1 base cavlc cavlc cavlc 4x4 4x4 N 0 0 0 0
[H265E] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:29]
-----MODULE PARAM--------------------------------------------------------------
H265eOneStreamBuffer H265eVBSource H265ePowerSaveEn H265eMiniBufMode bQpHstgrmEn
0 2 1 1 0
-----CHN ATTR------------------------------------------------------------------
ID MaxWidth MaxHeight Width Height Profile C2GEn BufSize ByFrame GopMode MaxStrCnt
-----PICTURE INFO--------------------------------------------------------------
ID EncdStart EncdSucceed Lost Disc Pskip Recode RlsStr UnrdStr
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead DataLen BufFree
-----RefParam INFO-------------------------------------------------------------
ID EnPred Base Enhance UsedFrame MaxUsedFrame
-----Attach PoolId INFO--------------------------------------------------------------
ID PoolId
-----ROIBG INFO------------------------------------------------------------------
ID BgSrcFr BgTarFr
-----Syntax INFO1--------------------------------------------------------------
ID SlcspltEn Slcmode Slcsize bCrossSlc IntraRefresh enIslice RefreshLine QpOfIDR
-----Syntax INFO2--------------------------------------------------------------
ID DblkEn Tc Beta Saoluma Saochroma EntrpyFlag
-----Syntax INFO3--------------------------------------------------------------
ID TimInfFlag NumInTick TimeScal DiffOne
-----Pu INFO-------------------------------------------------------------------
ID Pu32En Pu16En Pu8En Pu4En ConsIntra IntraSmo IpcmEn PcmLoFil NumMergCan
-----Trans INFO----------------------------------------------------------------
ID TranByPass TranSkip CbQpOffset CrQpOffset
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
-------------------------- APPAttr -----------------------------
HDMIEnable : NO DefaultAction : NONE
VideoEnable : NO AudioEnable : NO
AviInfoEnable : NO AudioInfoEnable: NO
xvYCCMode : NO HDCPEnable : NO
DeepColorMode : 24 SpdInfoEnable : NO
OutColorSpace : RGB MpegInfoEnable : NO
ColorSpaceAdapt: NO DeepColorAdapt : NO
DebugEnable : NO CtsAuthEnable : NO
enHDCPMode : AUTO
-------------------------- SWStatus ----------------------------
ThreadRun : YES RunStatus : CLOSE
TMDSMode : NONE
KernelCnt : 0 UserCnt : 0
KCallBack : NO UCallBackCnt : 0
TransitState : NONE
EmiEnable : NO
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
--------------------------------------- EDIDRawData -----------------------------------------
------------------------------ SWStatus -------------------------------------------
CapFromSink : NO RawUpdateErrCnt : 0
CapIsValid : NO ParseErrorType : 0
RawIsValid : NO ParseWarnType : 0x00000000
RawGetErrCnt : 1 RawLength : 0
[HDMI] Version:[Hi3521D_MPP_V1.0.4.0 B050 Release] Build Time:[
HDMI Version: 2.0.0.201804027.0
layer name :layer_0
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(1280, 720)
xres_virtual, yres_virtual :(1280, 720)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :4052 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_1
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_2
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_3
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(128, 128)
xres_virtual, yres_virtual :(128, 128)
xoffset, yoffset :(0, 0)
fix.line_length :5120
Mem size: :128 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
layer name :layer_4
Open count :0
Show state :OFF
Start position :(0, 0)
xres, yres :(0, 0)
xres_virtual, yres_virtual :(0, 0)
xoffset, yoffset :(0, 0)
fix.line_length :0
Mem size: :0 KB
Layer Scale (hw): :NO
ColorFormat: :ARGB1555
Alpha Enable :OFF
AlphaChannel Enable :OFF
Alpha0, Alpha1 :0, 0
Alpha Global :0
Colorkey Enable :OFF
Colorkey value :0x0
Deflicker Mode: :NONE
Deflicker Level: :NONE
Filter Mode: :COLOR
Display Buffer mode :triple
Displaying addr (register) :0x0
display buffer[0] addr :0x0
display buffer[1] addr :0x0
displayrect :(0, 0)
screenrect :(0, 0)
device max resolution :0, 0
IsNeedFlip(2buf) :NO
BufferIndexDisplaying(2buf) :0
refresh request num(2buf) :0
switch buf num(2buf) :0
union rect (2buf) :(0,0,0,0)
canavas updated addr :0x0
canavas updated (x, y, w, h) :(0,0,0,0)
canvas width :0
canvas height :0
canvas pitch :0
canvas format :RGB565
IsCompress :NO
Is DDR Dettect :NO
DDR Detect Zones :0
PreMul Enable :OFF
[JPEGE] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:34]
-----MODULE PARAM--------------------------------------------------------------
JpegeOneStreamBuffer JpegeMiniBufMode
0 1
-----ATTRIBUTE1----------------------------------------------------------------
ID bMjpeg PicType MaxWidth MaxHeight Width Height BufSize ByFrm MCU Qfactor C2GEn DcfEn
0 Y YUV420 1280 720 1280 720 2764800 Y 0 93 N N
-----STATUS1-------------------------------------------------------------------
ID BufLen FreeLen StrmCnt MaxStrm
0 2764800 2764736 0 200
-----STATUS2-------------------------------------------------------------------
ID PicRec PicCoded PicDroped PicDisc NoStmCnt RcFail PicRecode UnrdStr
0 360 360 0 0 0 0 0 0
-----STREAM BUFFER-------------------------------------------------------------
ID Base RdTail RdHead WrTail WrHead BufLen DataLen BufFree
0 0xc6800000 1171968 1171968 1171968 1171968 2764800 0 2764736
-----LOG BUFFER STATE----------------------------------------------------------
MaxLen ReadPos WritePos ButtPos
64(KB) 53710 53709 65054
-----CURRENT LOG LEVEL---------------------------------------------------------
vb : 3
sys : 3
rgn : 3
chnl : 3
vdec : 3
vpss : 3
venc : 3
h264e : 3
jpege : 3
vfmw : 3
vou : 3
vi : 3
rc : 3
aio : 3
ai : 3
ao : 3
aenc : 3
adec : 3
hdmi : 3
tde : 3
vedu : 3
vgs : 3
h265e : 3
[RC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:25]
-----MODULE PARAM--------------------------------------------------------------
ClrStatAfterSetBr
1
------BASE PARAMS 1------------------------------------------------------------
ChnId Gop StatTm ViFr TrgFr ProType RcMode Br(kbps) FluLev IQp PQp BQp
0 1 1 25 25/0 1002 CBR 15360 1 N/A N/A N/A
1 25 1 25 25/0 96 CBR 1024 1 N/A N/A N/A
------BASE PARAMS 2------------------------------------------------------------
ChnId EnableIdr bQpMapEn QpMapMode bQpMapAbsQp
0 Y N N/A N/A
1 Y N N/A N/A
-----RUN COMM PARAM 1----------------------------------------------------------
ChnId RowQpDelta ThrdI(16)
0 0 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 2 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 2------------------------------------------------------------
ChnId FirstFrmStartQP ThrdP(16)
0 -1 [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 -1 [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 3----------------------------------------------------------
ChnId PARAM ThrdB(16)
0 DEFAULT [ 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255]
1 DEFAULT [ 0 0 0 0 3 3 5 5 8 8 8 15 20 20 25 25]
-----RUN COMM PARAM 4----------------------------------------------------------
ChnId LevelI(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 5----------------------------------------------------------
ChnId LevelP(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 6----------------------------------------------------------
ChnId LevelB(16)
0 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
1 [ 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1]
-----RUN COMM PARAM 7----------------------------------------------------------
ChnId bLost LostThr LostFrmStr EncGap RCPriority SprFrmMod SprIFrm SprPFrm SprBFrm bClrStat
0 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
1 N 83886080 NORMAl 0 BITRATE None 500000 500000 500000 1
-----GOP MODE ATTR-------------------------------------------------------------
ChnId GopMode IpQpDelta SPInterval SPQpDelta BFrmNum BQpDelta BgInterval ViQpDelta bAdvSmartP
0 N/A N/A N/A N/A N/A N/A N/A N/A N/A
1 NormalP 0 N/A N/A N/A N/A N/A N/A N/A
-----RUN CBR PARAM ------------------------------------------------------------
ChnId MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp QLevel MaxReEncTimes
0 1 100 99 20 99 20 3 2
1 1 20 51 10 51 10 3 2
-----RUN VBR PARAM ------------------------------------------------------------
ChnId ChgPs MinIprop MaxIprop MaxQp MinQp MaxIQp MinIQp MaxReEncTimes MaxStillQP MinPercent MinStillPSNR BitPercentLL BitPercentUL PsnrFluctuateLL PsnrFluctuateUL
-----RUN INFO1-----------------------------------------------------------------
ChnId InsBr(kbps) InsFr WatL CfgBt(kb) RealBt(kb) IPRatio TarPercent StartQp MinQp MaxQp
0 15460 25 21012 614 617 0 N/A 93 20 99
1 1023 0 640 0 0 0 N/A 0 0 0
-----RC PERFORMANCE INFO------------------------------------------------------
ChnId StaOfstaTim TotaOfstaTim StaOfEndTim TotaOfEndTim TotalTime
0 2554615301 4161 2554623074 2915 7076
1 2554645364 0 0 0 0
[RGN] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:56]
-----MODULE PARAM--------------------------------------------------------------
bCanvasNumValid
1
[SYS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:45]
System State: 0 (0: initialized; 1: exiting; 2: exited)
System Align: 16
Mem Total: 256(M)
-----SCALE COEFF INFO-----------------------------------------------------------
RangeLevel RangeValue HorLum HorChr VerLum VerChr
RANGE_0 (0, 1/4) LEVEL_0 LEVEL_0 LEVEL_0 LEVEL_0
RANGE_1 [1/4, 1/3) LEVEL_1 LEVEL_0 LEVEL_1 LEVEL_0
RANGE_2 [1/3, 1/2) LEVEL_2 LEVEL_1 LEVEL_2 LEVEL_1
RANGE_3 [1/2, 3/4) LEVEL_3 LEVEL_2 LEVEL_3 LEVEL_2
RANGE_4 [3/4, 1) LEVEL_3 LEVEL_2 LEVEL_4 LEVEL_2
RANGE_5 [1, 1] LEVEL_4 LEVEL_3 LEVEL_5 LEVEL_3
RANGE_6 (1, MAX) LEVEL_5 LEVEL_2 LEVEL_6 LEVEL_2
-----MEM TABLE--------------------------------------------------------
MOD MODNAME DEV CHN MMZNAME
-----BIND RELATION TABLE--------------------------------------------------------
FirMod FirDev FirChn SecMod SecDev SecChn TirMod TirDev TirChn SendCnt rstCnt
vpss 0 0 venc 0 0 null 0 0 0 0
vpss 0 1 venc 0 1 null 0 0 0 0
vi 0 0 vpss 0 0 venc 0 0 383 0
vi 0 0 vpss 0 1 venc 0 1 383 0
vi 0 2 vpss 1 0 null 0 0 374 0
vi 0 4 vpss 2 0 null 0 0 374 0
vi 0 6 vpss 3 0 null 0 0 374 0
--------- Hisilicon TDE Memory Pool Info ---------
Type Total Used
[Unit 64 ] 1255 3
[Unit 96 ] 1255 0
[Unit 256] 1255 0
[Unit1024] 8 2
[Total ] 517K 2K
[VB] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:43]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----VB SUPPLEMENT ATTR--------------------------------------------------------
Supplement Config: 0
Supplement Size: 0
Vb Total Cnt: 64
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1
Size 1399680 1399680
Count 32 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
0 0x856da000 0x0 1 -1 1399808 32 32(32) 32
------------------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm Owner BlkSz BlkCnt Free MinFree
1 0x88192000 0x0 1 -1 1399808 32 13(13) 12
BLK VIU VOU VGS VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC VFMW USER H265E
18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
26 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
30 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
23 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
17 1 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
3 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
27 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 1 0 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
6 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
7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 8 0 0 7 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0
[VDEC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:05]
-----MODULE PARAM--------------------------------------------------------------
obey_minCR MiniBufMode VBSource StreamCompaMode u32ProtocolSwitch
0 1 0 0 1
-----CHN ATTR & PARAMS-------------------------------------------------------
ID TYPE Prior MaxW MaxH Width Height StrmInputMode VideoFmt Compress STATE
ID VfmwID RefNum MvpEnable DispNum BufSize MaxSlice MaxSPS MaxPPS MaxVPS DisplayMode
ID ErrThr StrmThr DecMode OutMode SetUserPic Rotate PicPoolId PmvPoolId PriVbCnt
-----CHN STATE-----------------------------------------------------------------
ID PrtclErr StrmUnSP StrmError RefNumErr PicSizeErr fmterror PicBufSizeErr StrmNotRls Notify
ID fps TimerCnt BufFLen DataLen UsrFLen UsrLen ptsBufF ptsBufU StreamEnd
----- Detail Stream STATE -----------------------------------------------------------
ID MpiSndNum MpiSndLen VdecNum VdecLen FmGetNum FmGetLen FmRlsNum FmRlsLen FmLstGet FmRlsFail
----- Detail FrameStore STATE -----------------------------------------------------------
ID FmNewPic GetFromFm Discard UsrSnd KerSnd KerRls MeetEnd FrmInVdec CurPicPts RedDiff MaxRedDiff DecDiff MaxDecDiff
ID FreeNode VfmwNode VgsNode VgsWorkingNode BusyNode UserNode RefNum IsAvalible VbCnt MaxVbCnt GetPicVbFail GetMvpVbFail NoDisplay
----- Detail UserData STATE -----------------------------------------------------------
ID MpiGet MpiGetLen MpiRls MpiRlsLen Discard DiscardLen GetFromFm GetFromFmLen UsrFLen UsrLen
[VENC] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:20]
-----MODULE PARAM--------------------------------------------------------------
VencBufferCache FrameBufRecycle QuickSchedule JpegClearStreamBuf OneBufferForJpegOSD VencMaxChnNum
0 0 0 1 0 18
-----VENC CHN ATTR 1-----------------------------------------------------------
ID Width Height Type ByFrame Sequence LeftBytes LeftFrm CurPacks GopMode Prio
0 1280 720 1002 Y 360 0 0 2 NormalP 0
1 640 360 96 Y 0 0 0 0 NormalP 0
-----VENC CHN ATTR 2-----------------------------------------------------------
VeStr SrcFr TarFr Timeref PixFmt PicAddr
Y -1 -1 766 YUV420 0x88aea400
N -1 -1 56 YUV420 0x89999800
-----VENC CHN RECEIVE STAT-----------------------------------------------------
ID Start StartEx RecvLeft EncLeft
0 1 0 0 0
1 1 0 0 0
-----VENC VPSS QUERY-----------------------------------------------------------
ID Query QueryOk QueryFR Invld Full VbFail QueryFail InfoErr Stop
0 1799 1799 0 1437 0 0 0 0 0
1 1799 1799 0 1437 355 0 0 0 0
-----VENC SEND1----------------------------------------------------------------
ID VpssSnd VInfErr OthrSnd OInfErr Send Stop Full CropErr DrectSnd SizeErr
0 362 1 0 0 361 0 0 0 361 0
1 7 1 0 0 6 0 0 0 6 0
-----VENC SEND2----------------------------------------------------------------
ID SendVgs StartOk StartFail IntOk IntFail SrcAdd SrcSub DestAdd DestSub
0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
-----VENC PIC QUEUE STATE------------------------------------------------------
ID Free Busy Vgs
0 5 1 0
1 0 6 0
-----VENC CHNL INFO------------------------------------------------------------
ID Inq InqOk Start StartOk Config VencInt ChaResLost OverLoad Skip
0 1796 361 361 361 361 360 0 0 0
1 1437 1436 1436 0 0 0 0 0 0
-----VENC CROP INFO------------------------------------------------------------
ID CropEn StartX StartY Width Height
0 N 0 0 0 0
1 N 0 0 0 0
-----ROI INFO------------------------------------------------------------------
ID Type Index bRoiEn bAbsQp Qp Width Height StartX StartY
-----VENC STREAM STATE---------------------------------------------------------
ID FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 13 0 0 720 720 360 39986 25
1 0 0 0 0 0 0 0 0
[VGS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:53]
-----MODULE PARAM--------------------------------------------------------------
max_vgs_job max_vgs_task max_vgs_node weight_threshold
20 20 20 6
-----RECENT JOB INFO-----------------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----MAX WASTE TIME JOB INFO---------------------------------------------------
SeqNo ModName JobHdl TaskNum bSort State InSize OutSize
-----VGS JOB STATUS------------------------------------------------------------
Success Fail Cancel AllJobNum FreeNum BeginNum BusyNum ProcingNum
0 0 0 20 20 0 0 0
-----VGS TASK STATUS-----------------------------------------------------------
Success Fail Cancel AllTaskNum FreeNum BusyNum
0 0 0 20 20 0
-----VGS NODE STATUS-----------------------------------------------------------
AllNodeNum VgsBusyNum VpssBusyNum VgsMinFree VpssMinFree MaxInJob SubmitFail IntFail
20 0 0 -1 -1 0 0 0
-----VGS INT STATUS------------------------------------------------------------
IntNum IntTm HalProcTm
0 0 0
-----VGS MEM REQ STATUS -------------------------------------------------------
ReqOk FreeOk ReqFail FreeFail
0 0 0 0
[VIU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time: [May 30 2018, 18:08:59]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap min_cas_gap
10 0 0 28000 0
discard_int int_gap_time int_time vi_vb_source
0 45000 10000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
1 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
2 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
4 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
6 0 0 1280 720 1280 720 both P SKIPNON N N Y sp420 -1 -1 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 386 0 3 0 2 2 20 9 frm 1280
2 0 1 386 0 12 0 2 2 53 26 frm 1280
4 1 0 386 0 12 0 2 2 27 14 frm 1280
6 1 1 386 0 12 0 2 2 22 10 frm 1280
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 56 40001 40006 0 0 1 0 0 0 1 24
2 68 39999 40005 0 0 1 0 0 0 384 25
4 39 39997 40044 0 0 1 0 0 0 384 25
6 25 39996 40050 0 0 1 0 0 0 384 25
-----VI CHN ATTACH INFO---------------------------------------------------------
PhyChn Pool1 Pool2
0 -1 -1
2 -1 -1
4 -1 -1
6 -1 -1
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 40001 25 383 0 0 NONE
2 N 39999 25 374 0 0 NONE
4 N 39998 25 374 0 0 NONE
6 N 39995 25 374 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
[VOU] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:08:46]
-----DEV CONFIG----------------------------------------------------------------
DevId DevEn Mux1 Mux2 Mux3 InfSync BkClr DevFrt
-----MODULE PARAM 1--------------------------------------------------------------
DevId detectCycle vgaDetectEnable
-----MODULE PARAM 2--------------------------------------------------------------
ext_csc_en
0
-----DEV VDAC STATUS-----------------------------------------------------------
DevId VDAC
-----VIDEO LAYER STATUS--------------------------------------------------------
LayerId VideoEn ClustMode PixFmt ImgW ImgH DispW DispH DispFrt DoubFrm Toleration Priority
-----VIDEO LAYER STATUS 2------------------------------------------------------
layerId VideoEn EnChNum Matrix Luma Cont Hue Satu
-----VIDEO LAYER STATUS 3------------------------------------------------------
layerId DevId SetBeg SetEnd PartitionMode SupportCompress u32BufLen
-----CHN BASE INFO ------------------------------------------------------------
LayerId ChnId ChnEn Prio DeFlk ChnX ChnY ChnW ChnH DispX DispY bSnap Field bCas CcPos bRcvMatch
-----CHN PLAY INFO 1-----------------------------------------------------------
LayerId ChnId Batch Show Pause Step Revrs Refsh Thrshd ChnFrt ChnGap
-----CHN PLAY INFO 2-----------------------------------------------------------
LayerId ChnId DisplayPts PrePts CurrPts ScalePts SetPts RecvCurPts
-----ByMutli CHN STATUS1-------------------------------------------------------
LayerId ChnId QCnt NewDo OldDo LCnt SCnt ChRpt BusyN ShouD Dsped Area AreaT
-----ByMutli CHN STATUS2-------------------------------------------------------
LayerId ChnId Buf1 Buf2 Buf3 Buf4 DBuf Stat1 Stat2 QNodeAddr SNodeAddr DispAddr ChnFreeNum ChnBusyNum
-----ByMutli CHN STATUS3--------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----BySingle CHN STATUS 1-----------------------------------------------------
LayerId ChnId Job Task LCnt SCnt ChRpt DRpt CBusy DBusy ShouD Dsped b2Scl ChnAddr DispAddr
-----BySingle CHN STATUS 2-----------------------------------------------------
LayerId ChnId bBorder TopWidth BottomWidth LeftWidth RightWidth Color ChnFreeNum ChnBusyNum DisplayFreeNum DisplayBusyNum
-----BySingle CHN STATUS3------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
-----CHN OTHER INFO------------------------------------------------------------
LayerId ChnId bZoom ZmTyp ZoomX ZoomY ZoomW ZoomH SrcW SrcH
-----WBC INFO------------------------------------------------------------------
WbcId WbcW WbcH PixFmt FrmRat RealRat Mode SrcType SrcId Depth NotFin
-----GRAPHICS LAYER------------------------------------------------------------
Layer BindDev
HC0 0
HC1 1
-----LAYER CSC PARAM-----------------------------------------------------------
LAYERID Matrix Luma Cont Hue Satu
-----DEV VIDEO STATUS 3--------------------------------------------------------
DevId bCasCfg bCasEn bCasSlv CasRgn CasMode CasPatn enCasDataTranMode Vtth
-----VGA PARAM-----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu Gain SharpenStrength
-----HDMI PARAM----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu
[VPSS] Version: [Hi3521D_MPP_V1.0.4.0 B050 Release], Build Time[May 30 2018, 18:09:02]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source vpss_en_ratio vpss_nr_vb_source
0 0 1
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode hNrPool
0 1280 720 SP420 nodie N Y N N N VPSS -1
1 1280 720 SP420 nodie N Y N N N VPSS -1
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 -1 -1 Y
1 0 0 0 -1 -1 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
1 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
0 1 40
1 0 40
1 1 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 Y N N Y 2 2 2 2 ffffff ff
0 1 Y N N Y 2 2 2 2 ffffff ff
1 0 Y N N Y 2 2 2 2 ffffff ff
1 1 Y N N Y 2 2 2 2 ffffff ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 N RIT 0 0 0 0 1280 720 1280 720
1 N RIT 0 0 0 0 1280 720 1280 720
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 7 0 0 1
1 5 3 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 383 21 0 362 0 0 1437 0 1
1 374 371 0 0 0 0 0 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 AUTO 0 361 1 -1 -1 --
0 1 AUTO 0 6 1 -1 -1 --
1 0 AUTO 0 0 0 -1 -1 --
1 1 AUTO 0 0 0 -1 -1 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 Y 1280 720 SP420 NONE NONE 0 0 1280 720 0 0 25
0 1 Y 640 360 SP420 NONE NONE 0 0 640 360 0 0 1
1 0 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
1 1 Y 0 0 - NONE NONE 0 0 0 0 0 0 0
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 LinkInt StartErr0 NodeIdErr0 BusErr NoNrBuf
362 362 0 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0
457 0 0 0 0 0
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2020-08-11 15:41:47
-
2019-02-17 14:32:45
-
2018-03-26 15:27:29
-
2016-03-22 18:03:21
-
2015-08-20 22:03:27
-
2024-03-21 10:03:43
-
2020-12-17 11:29:40
-
2016-10-13 15:59:45
-
2021-08-06 21:37:52
-
2022-04-07 14:19:05
-
2023-02-03 11:54:43
-
2019-04-23 11:27:00
-
2020-07-14 08:42:42
-
2016-08-19 11:41:34
-
2019-03-29 18:05:36
-
2015-09-08 11:06:12
-
2016-10-12 17:53:56
-
2024-09-20 14:51:34
-
2016-10-21 11:18:20
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认