Hello,
We'd like to change output resolution of swMs dynamically, but it seems not to work.
When setting new resolution (layout) to swMs, displayWindow is configured in Demo_swMsGenerateLayout(). However, it doesn't seem to be applied to the output of swMs according to the encoded data. The resolution is not changed and keeps its value as that when chain created.
Below is the usecase:
captureLink -> swMs -> NSF -> IPC VPSS -> IPC Video -> Encode ...
We suppose below function can configure swMs output resolution, but seems not...
Demo_swMsGenerateLayout()
{
...
// configure swMs resolution
vdMosaicParam->displayWindow.height = outHeight;
vdMosaicParam->displayWindow.width = outWidth;
vdMosaicParam->displayWindow.start_X = 0;
vdMosaicParam->displayWindow.start_Y = 0;
...
}
Vdis_setMosaicParams(); // set to swMs link