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.

How to use more scale instant at one software mosaic link?



Hi,

I am working at dm816x + vs daughter card.

I got an scaler question in rdk 01.08.00.15.

I want to use two scale instants in one software mosaic link and I also need deinterlace link.

How can I do that swMsPrm configuration. I try something like as following, but system will be fail at program start running.

    swMsPrm[0].numSwMsInst          = 2;

    swMsPrm[0].swMsInstId[0]        = SYSTEM_SW_MS_SC_INST_SC5;
    swMsPrm[0].swMsInstId[1]        = SYSTEM_SW_MS_SC_INST_DEIHQ_SC;

    swMsPrm[0].swMsInstStartWin[0]  = 0;
    swMsPrm[0].swMsInstStartWin[1]  = 16;

Is there an relationship that I only can use SYSTEM_SW_MS_SC_INST_SC5 if the deinterlace link exist?

Jacson




  • if you use it as deinterlace, so you shouldn't use it as swms scaler.

     if you've only one display, you can try use the DEI_SC with SC5

  • Hi Shawn,

    As you said, If I use two deinterlace link, it is only SC5 scale instant can be used.

    How many scale instant can be used if I only use one deinterlace link and it is "dual" output?

    How many scale instant can be used if I only use one deinterlace link and it is "one" output?

    Thanks,

    Jacson

  • Hi Jacson,

    As Shawn mentioned, if both DEI links are used, you can actually use SC5 for scalar link or SWMs link.

    DEI_SC output of DEI cannot be used as standalone scalar when deinterlacing feature is enabled. If you want to use single output from deinterlacer link, then you need to use DEI_SC only. But DEI_SC generates YUV422 output format and cannot be directly fed to the H.264 or any other video encoder. So then you would need some color converter (can be Noise Filter) to do the color conversion operation.

    It would help, if we can understand your requirement and recommend you the best option.

    Regards,

    Anshuman

     

  • Hi Anshuman,

    I want to use more hw scale instant to speed mosaic operation before display link, because the display frame rate seems not enough our requirement when I need more display output.

    Assume I only use VIP0 for capture input, can I use SYSTEM_SW_MS_SC_INST_VIP1_SC for mosaic using? Same question, only use one deinterlace link SYSTEM_LINK_ID_DEI_HQ_0, can I use SYSTEM_SW_MS_SC_INST_DEI_SC for mosaic using? and what kind of condition I can use SYSTEM_SW_MS_SC_INST_DEIHQ_SC_NO_DEI and SYSTEM_SW_MS_SC_INST_DEI_SC_NO_DEI for mosaic?

    I confused the following instant using opportune, can you explain more clearly? Thanks you!

    #define SYSTEM_SW_MS_SC_INST_DEIHQ_SC        (1)
    #define SYSTEM_SW_MS_SC_INST_DEI_SC          (2)
    #define SYSTEM_SW_MS_SC_INST_VIP0_SC         (3)
    #define SYSTEM_SW_MS_SC_INST_VIP1_SC         (4)
    #define SYSTEM_SW_MS_SC_INST_SC5             (5)
    #define SYSTEM_SW_MS_SC_INST_DEIHQ_SC_NO_DEI (6)
    #define SYSTEM_SW_MS_SC_INST_DEI_SC_NO_DEI   (7)

    Regards,

    Jacson

  • you can use SYSTEM_SW_MS_SC_INST_DEI_SC  and SYSTEM_SW_MS_SC_INST_VIP1_SC for mosaic using.

    but be aware, SC5 and SYSTEM_SW_MS_SC_INST_VIP0_SC  can't be exist at the same time because they are both using second 0 path.

    for the NO_DEI stuff, that means it will by pass the deinterlace function.

    for scaler only case, you should use NO_DEI thing.

  • Hi Shawn,

    The SYSTEM_SW_MS_SC_INST_DEI_SC seems only support down scale, is this hw limitation?

    Thanks,

    Jacson

  • Hi,

    If it is not hw limitation, how do I set it support both up-scale and down-scale?

    Thanks,

    Jacson

  • hi Jascon:

        sorry to relay you so later.

       for DEI scaler, it can do both down scale and up scale, there is no hw limitation on this.

    But I'm not expert on this, It's better someone in VPSS team can help answer this question.

  • Hi Shawn,

    Thanks for your reply.

    Can you help us pass this question to VPSS team?

    Thanks,

    Jacson

  • Hi,

    We are looking forward your response for this issue.

    Thank you very much!

    Jacson