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.

Question about the Link Params notifyPrevLink and notifyNextLink

Hi,

I have a question about the link params notifyPrevLink and notifyNextLink. Each Link has these two params, but I find in the usecases in DVRRDK3.5 when setup link params, sometimes both notifyPrevLink and notifyNextLink will be set to TRUE, sometimes  only notifyNextLink will be set to TRUE, sometime none of them will be set. I want to know the rules on how to set these two params. Do it depend on the link itself or the prelink and nextlink it connected?

Thanks very much! Appreciate for your reply!

  • You can use the below guidelines:

    If two links are on the same core Eg:Both on M3VPSS/Both on M3Video) then always set notifyPrevLink  = TRUE, notifyNextLink = TRUE.

    If two links are on different cores it means the links are ipcLinks like ipcM3/ipcFrames/ipcBits.

    When using ipcLinks you can choose to notify the from ipcIn to ipcOut or not depending on your usecase.

    Enabling notify for ipc link will result in interrupt on the remote core.

    If using multi channel like DVR use notifyLink to FALSE and set noNotify to TRUE.

    If using single channel like HD encode use notifyLink to TRUE and set noNotify to FALSE.

  • Hi Badri,

    It's always you answer my question. Thanks so much! Do you mean that in multi-channal usecase I just only need to set these two params to TRUE when the two links are on the same core,  and for other case these two params should be set to FALSE?

  • Yes that is correct. Remember to set noNotifyMode = TRUE when notify is set to FALSE

  • Are the ipcBitsInVideo link and enc link on the same core or not ? And if the data flow is ipcM3InVpss->dup->mosaic->ipcM3OutVpss, as the dup and mosaic are in the same core, the dupPrm->notifyNextLink and mosaicPrm->notifyPrevLink should be set to TRUE. Then should dupPrm->notifyPrevLink and mosaicPrm->notifyNextLink set to TRUE or FALSE?

  • Are the ipcBitsInVideo link and enc link on the same core or not ?

     - Same core M3Video

    And if the data flow is ipcM3InVpss->dup->mosaic->ipcM3OutVpss, as the dup and mosaic are in the same core, the dupPrm->notifyNextLink and mosaicPrm->notifyPrevLink should be set to TRUE. Then should dupPrm->notifyPrevLink and mosaicPrm->notifyNextLink set to TRUE or FALSE?

    - dupPrm->notifyPrevLink and mosaicPrm->notifyNextLink should be set to TRUE

  • Hello badri,

    I have question

    Q1. By my checking there's no notifyPrevLink in dup/merge link, it seems conflict with your speaking. right?

    Q2. why dup/merge has notifyNextLink only?

    Q3. why the links except dup/merge/ipc has no "notifyNextLink"  and "notifyPrevLink" ?

  • If no configuration option for notifyPrevLink/notifyNextLink it means the link will _always_ notify.

    Dup/Merge link always notifyPrevLink when freeing a frame and so don't have configuration option.

     

  • hi badri,

    I have question

    Q1. if the links could always do the notify, why TI provide the option about setting "notifyPrevLink" and "notifyNextLink" ?

  • your  anserw is rong! according your document!