Hi all!
DM8127 run ipnc2.8 program and in the LOW POWER USECASE .
The camera output H.264(5M)+D1+MJPEG(5M),but the mjpeg encode rate is only 1 FPS,
the output encode Statistics are as follow :
The In User Skip FPS is 10.
I modify the EncLink_doSkipFrame() function (ipnc_mcfw/mcfw/src_bios6/links_m3video/iva_enc/encLink_common.c) .
The modified codes are as follows:
Bool EncLink_doSkipFrame(EncLink_ChObj *pChObj, Int32 chId)
{
......
if (pChObj->frameStatus.inCnt > pChObj->frameStatus.outCnt)
{
pChObj->frameStatus.outCnt +=
(pChObj->algObj.algDynamicParams.targetFrameRate/1000);
/*skip this frame, return true*/
return TRUE;
}
......
}
modify to
Bool EncLink_doSkipFrame(EncLink_ChObj *pChObj, Int32 chId)
{
......
if (pChObj->frameStatus.inCnt > pChObj->frameStatus.outCnt)
{
pChObj->frameStatus.outCnt +=
(pChObj->algObj.algDynamicParams.targetFrameRate/1000);
/*skip this frame, return true*/
//return TRUE; //not run
}
......
}
Now the In User Skip FPS is 0, but the output rate is only 3 FPS.
the output encode Statistics are as follows:
The In Skip PFS is 24 FPS. How can I reduce this Skip PFS and lead output rate more than 3 FPS?
Thanks!