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 am using DVRRDK 4.0.
I want to add a mode such that when using mosaic, I can keep the width to height ratio of video in each mosaic window,
e.g. Assume output display resolution is 1080p and input video to mosaic is 720x576 (width to height 5:4), When displayed in 2x2 mode, current mosaic configuration would scale video to 960x540, which is 16:9, but I hope the ratio to be 5:4 which is 675x540.
I know I can just tune the size of each window to fit my need, but my question is, in this case, when i enable griddraw, the grid would also become 675x540 instead of 960x540, which look strange.
So what I want to ask is how could I do modification such that I could make the video and grid having different size?
Thanks
For example, when 2x2 display mode
Figure 1 shows what is normally displayed,
and Figure 2 is what I want to do now.
The black outer line is the display,
The the red lines are the grid drawn by mosaic
The blue area is the video
I want to have the grid drawn on each window not the same as the video size.
Hope it is clear this time, thanks.
I understand you want to achieve what is shown n Figure 2 but currently swms will draw the gird immediately next to the window. Is it correct ?
If yes then this is not supported in swms.
You will have to modify
/dvr_rdk/mcfw/src_bios6/links_m3vpss/swMs/swMsLink_drv.c
SwMsLink_drvDoDma
Change such that /*Vertical Left side*/ and /*Vertical right side*/ grid are draw between windows intead of next to window by adjusting startX,startY