Hi~ I am using DVR RDK 04.00.00.03, and I want to test the SW_OSD link. Here is my link chain:
The input video resolution is 720*576. And I want to change the frame in the dsp side. As a test, I set half of my Y frame buffer to be 0 in the DSP_ALG_OSD link:
myAddr=(UInt8 *)pSwOsdObj->videoWindowAddr;
UInt32 pitch=pSwOsdObj->videoWindowPrm.lineOffset;
for(ii=0;ii<576;ii++)
{
for(jj=0;jj<360;jj++)
{
myAddr[ii*pitch + jj] = 0;
}
}
but it turns out to be like this:
Obvioursly the black area does not take half of the screen, and there is a non-black strip on the foot. It seems like that the resolution of the video(720*576) has been changed somewhere. Why does this happen?

