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.

Running two chains parallel in VSDK 2.08

Hello All,

I want to run two chains parallel in VSDK 2.08. following kinds of chains:

1) Capture -> Process -> Display

2) Alg_Sample

These both chains need to exchange data as well, Is it possible to run two Chains parallel in VSDK ? Is there any limitation from multi core side ?

Thanks in advance.

  • You can have two chains but then they should be independent. If your two chains are going to exchange data it can be single chain

    Anotherway,

    1 capture-> Process->Display

    2 NullSrc->Alg_sample-Null

    In this case data can be exchanged between chains using external media/interface, if thats what you are looking for.

  • I need to have only one link in second chain as mentioned above 2) Alg_Sample(this chain doesn't has any input link coming nor output link), this chains will be in IDLE state whenever there is some message from first 1) Capture -> Process -> Display chain it would operate ..

    from your comment ,
    You can have two chains but then they should be independent.
    Does this mean we can not share data between two chains ?

    In this case data can be exchanged between chains using external media/interface.
    Can you please elaborate more on what kind of external media/interface you are talking about ?

    I appreciate your help here..
  • Kapil,

    I gave that example thinking you need two independent data flows which process data independently and by external interfaces I meant file/ethernet.

    Alg_sample will always be plugged-in into an instance of AlgorithmLink so it can exist on its own. Its up to you to implement all functions plugged in through your "AlgorithmLink_AlgSample_initPlugin()". Now if you dont choose to create queues by calling AlgorithmLink_queueInfoInit() thats fine but then its up to you to handle how to pass data from your first chain to this hanging single link.

    It will be better if you can explain your usecase in detail, what exactly Alg_sample intend to do when it receives cmd / ioctl. Is it going to touch video buffers in chain 1 or it is doing something totally unrelated to chain 1?
  • First , both chains are not independent ..
    Alg_Sample needs to pass data to Display link in Chain 1..

    sorry to taking discussion out of way but i am ok with adding Alg_Sample as one of internal link as well. I have observed inside VSDK there is Display_ctrl link which is not used in any of usecase but it is always executing i am looking for something like this only.. so in turn my Capture -> Process -> Display link will keep on executing and my another link will send data to display link.