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.

dm388: DM388 merger and dup link

Part Number: DM388

Hi,

In the MCFW demos in ipnc3.9.1 , How the Merger and Dup links are started, The code for link Creation for these links is there but I don't find any code doing link start for merger and dup link.

Thanks

Kailash

  • Hi Kailash,

    The link which required some kind of driver initialization may require start command to do the necessary stuff.

    Merge and Dup link does not require start command.

    After the creation of these links it will wait for SYSTEM_CMD_NEW_DATA(previous link send this command when its send some data ) command and as soon as it receives the data , it will start processing it.

    Ideally a link goes through these state

    create->start->process->stop->delete

    For your simplicity you can send start command to any link , if that link does not require start command it will just ignore that and wait for new data.

    I hope this will clarify your doubts.

  • Hi Anuj,

    Thanks For reply and for a helpful answer,

    This question is about Cropping in DM388, I have a requirement where i have to crop the from , which link i can use to crop and how i can configure it.

    Kailash
  • Hi Kailash,

    What you want to crop?
    If you want to crop raw video frame then you can use scaler link(SclrLink).
  • Hi Anuj,

    I want to do Cropping of the input to the DV02 or SDout. How scalar can be used for Cropping , As per the code it can only Scale up and Down , My requirement Is to crop and get only the middle are (ex size 140x140 from the middle) , Can I use SwMs link to achieve this.

    Thanks
    Kailash
  • Hi Kailash,
    Sorry for the last post, I didn't understand your requirement at that time.
    Yes cropping of image in not possible by using sclrLink.
    I think it should be possible with swmsLink.
    You can give it a try with SwmsLink.
    Just send "SYSTEM_SW_MS_LINK_CMD_SET_CROP_PARAM" cmd from your usecase application by updating the structure "SwMsLink_WinInfo" properly as per your requirement using System_linkControl api to swmsLink.
    Please share your observation after this experiment.