This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8127-RDK3.8版本的WDR功能的开启和关闭如何传递到客户端界面设置,在哪里设置比较合适?

在8127的RDK中包含WDR,在rule.make中可以设置开启和关闭,我的问题是,如何将WDR的开启和关闭引出到界面上,方便客户端操作?

目前我们的做法是在WdrLink_drv.c 中的函数WdrLink_drvDoWdr里设置,代码修改如下:

if (pObj->is_enable_wdr)
{
status = WDR_ProcessFrame(&dWdrParams, pFullFrame->addr[0][0], pEmptyFrame->addr[0][0]);
UTILS_assert(status == FVID2_SOK);
pObj->curTime = Utils_getCurTimeInUsec() - pObj->curTime;
pObj->totalTime += pObj->curTime / 100;
pObj->getProcessFrameReqCount++;
if (pObj->getProcessFrameReqCount % 100 == 0)
WDRLINK_INFO_LOG("WDR processing is taking %.2f ms !!!\n",
(float)pObj->totalTime / pObj->getProcessFrameReqCount / 10);
}
else pEmptyFrame = pFullFrame;

但是这样做会出现,开启宽动态后,设置其他图像参数,可能会闪的问题,所以请教各位,多谢了。