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.

display

Hi, we use 8168, RDK2.8.

Now I want to use decode-display, 2 channel. I need to use dispaly[0] for the first channel, and use display[1] for another. But the ipcInVpssId is only one.

How can one ipcInVpssId  connect 2 display?

Thanks.

  • pls refer to DVRRDK_02.80.00.10/dvr_rdk/mcfw/src_linux/mcfw_api/usecases/multich_vdec_vdis.c for a example first.  You can modify from this case to fit your need.

  • Hi.

    I have refered to the usecase. But it used dupLink to connect 2 swLink and then had two ID.

    But the dup Link is not duplicate 1 channel to 2 channel? The 2 channel is same, right?

    I need to 2 different streamings in different display.

  • SwMS link creates a mosaic of multiple input channels and generates single mosaic output.

    If you want two different outputs one going to display 0 & another going to display 1, you need to have 2 swMS link.

    So, use dup after IpcInVpss & have 2 instances of SwMS each serving to one display.

  • Also, please migrate to latest DVR RDK release if you are starting new. 2.8 is a old version with no active support.

  • Supporting different channels on two displays is already supported by default in the decode display demo.No changes are required

    A single decode link supports decode of multiple channels. So data flow for 2 channel case is

    ipcBitsOutHLOS (ch0,ch1) --> decLink (ch0,ch1) --> ipcInVpssM3 (ch0,ch1) --> dup -- (ch0, ch1) --> Swms0 (Selected Layout --> display 0

                                                                                                                                             (ch0,ch1)  --> Swms1 (Selected Layout) --> display 1

    To select 1x1 layout with different channels on display 0 and display 1 use the following demo options:

    1. Display Settings -> Switch Layout --> Select 1x1 layout

    2. Display Setting -> Switch Channel -> Select ch0 for HDMI

                                                                    Select ch1 for DVO2

  • Hi,

    I use IpcInVpss->dup->swMS[0], swMS[1]->display[0],display[1];

    but I found swMS[0] and swMS[1] all had 2 same channel.

    How can I make swMS[0] can only send the first channel to display[0], swMS[1] can only send the second channel to display[1]?

    Thanks very much.

  • I already answered this in the above post. You can to select the correct channel to window mapping to display the required channel in SwMs.Did you try the sequence I mentioned.

  • Hi, Badri,

    When I write the above post, I can not see your post. Now I am trying with your advice.

    thanks very much.

  • Hi, Badri.

    If VOUT0 display channel0, VOUT1 display channel1, now I want to set VOUT0 display channel1, so I use SwitchChn(0,1) and it can successfully display.

    But I am not very clear about how the decode output data is associated with the display input data.

    That if I use SwitchChn, how does the display know where it should get the decoded data?

    Thanks very much.

     

  • As I explained in my previous post below is data flow.

    ipcBitsOutHLOS (ch0,ch1) --> decLink (ch0,ch1) --> ipcInVpssM3 (ch0,ch1) --> dup -- (ch0, ch1) --> Swms0 (Selected Layout --> display 0

                                                                                                                                             (ch0,ch1)  --> Swms1 (Selected Layout) --> display 1

     

    Decode Channel 0 == Display Channel 0.

    Decode Channel 1 == Display Channel 1

    Each frame sent from one link to another link has the channel number associated with the frame. The SwMs maps the input channel number to display window number .

  • Hi, Badri. Thanks very much for your reply.

    There have another problems.

    1.  If I select Layout_mode_1CH, it does not do scaling, right? Or  it firstly dose down-sampling and then up-sampling?

    2. In the usecase cap-venc-dis, the ipcOutVpssPrm.notifyNextLink = FALSE; and the notifyNextLink of  other Link will TURE.

    If the notifyNextLink is FALSE, how the next Link can get the new data?

  • 1.  If I select Layout_mode_1CH, it does not do scaling, right? Or  it firstly dose down-sampling and then up-sampling?

      - It depends on your input resolution. If input resolution == output window resolution it will not do scaling.

    2. In the usecase cap-venc-dis, the ipcOutVpssPrm.notifyNextLink = FALSE; and the notifyNextLink of  other Link will TURE.

       - noNotifyMode is set to TRUE. This means the remote link will periodically poll to check if new frame are available for processing.

     

  • Hi, Badri.

    How about noNotifyMode is set to FALSE?

  • If notifyNextLink is FALSE, then noNotifyMode should be true for ipcFramesOut,ipcOutM3,ipcBitsOut links

    If notifyPrevLink is FALSE, then noNotifyMode should be true for ipcFramesIn,ipcInM3,ipcBitsIn links