i see the function
mcfw/src_bios6/links_c6xdsp/alg_link:AlgLink_OsdalgSetChOsdWinPrm
that just set the parameters of the osd win,i can not see how to configure the paramer algorithm?
the interface is not opened?
tks
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.
i see the function
mcfw/src_bios6/links_c6xdsp/alg_link:AlgLink_OsdalgSetChOsdWinPrm
that just set the parameters of the osd win,i can not see how to configure the paramer algorithm?
the interface is not opened?
tks
for example the osd startX,startY and so on,i just see in the function AlgLink_OsdalgSetChOsdWinPrm
{
........
osdWinObj->osdWinPrm.startX = params->winPrm[i].startX;
osdWinObj->osdWinPrm.startY = params->winPrm[i].startY;
......
}
i want to know the principle how to set the startX position internally?i can not find about that part of souce code
tks
The value updated in AlgLink_OsdalgSetChOsdWinPrm is used in
/dvr_rdk/mcfw/src_bios6/links_c6xdsp/alg_link/swosd/osdLink_alg.c
AlgLink_OsdalgProcessFrame
pSwOsdObj->graphicsWindowPrm.startX
hi Badri,thanks for your help.i have see the function AlgLink_OsdalgProcessFrame is called by the function
AlgLink_algProcessData which is when received the cmd "SYSTEM_CMD_NEW_DATA"
but the function AlgLink_OsdalgSetChOsdWinPrm which is when received the cmd "ALG_LINK_OSD_CMD_SET_CHANNEL_WIN_PRM".
so i am confused how the two function is related
ALG_LINK_OSD_CMD_SET_CHANNEL_WIN_PRM will set the configuration.
The configuration is applied when processing the next video frame .The next video frame processing starts with SYSTEM_CMD_NEW_DATA processing.