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.

AM5718: How to scale using scalars in the DSS pipeline

Part Number: AM5718

Hi,

When displaying the camera image input by MIPI-CSI2 on the screen, scale up/down from 0.1 to 9 times is required.

Please tell me how to scale using scalars in the DSS pipeline. Also If you have any relevant documents or samples, please contact me.

Thanks,

Astro

  • Hi, 

    Do you hava any update?

  • Astro,

    In PDK DSS driver, you could set the scaling factor by proving input and output frame size.. Driver will internally calculate the scaling ratio and set it in the HW. 

    I think it can support 0.1x but i am doubtful on 9x upscaling support. I would suggest to refer to specs/datasheet on the scaling limitation in DSS pipeline scalar. 

    Regards,

    Brijesh

  • Hi, Brijesh

    Can you elaborate on how to set the scale ratio in the DSS driver?

    We are considering Linux or TI-RTOS as the OS.

    but i am doubtful on 9x upscaling support

    After checking which items in the data sheet etc., can I check if 9x upscaling is supported? Our application requires at least 8.5x magnification, so we want to check in advance.

  • Hi Astro,

    As i said, scaling ratio can specified by setting input and output frame size, input frame size is set in dssPrms.inFmt.width/height fields and output frame size in dssPrms.tarWidth/tarHeight fields. 

    Please check DSS section in TRM, especially scaling in DSS (DISPC Scalar Unit). I think the max upscaling supported is 8x, but please check it in TRM. 

    Regards,

    Brijesh

  • Brijesh

    P.2667 of TRM states that it can be changed in the range of x1/4 to x8. Is this information helpful? I don't understand much, so let me check.

    Thanks,

  • Hi Astro,

    Yes, this means it supports upscaling upto 8x and downscaling upto 1/4x. 

    Regards,

    Brijesh

  • Hi, Brijesh

    I think it can support 0.1x but i am doubtful on 9x upscaling support. I would suggest to refer to specs/datasheet on the scaling limitation in DSS pipeline scalar. 

    As for the above answer, did you mean that the reduction ratio was wrong?

    Not only the Display function but also the VIP function and VPE function have a scaler function.

    Is it still difficult to achieve specifications that exceed the following conditions even with these?

    ・ Upscaling upto 8x and downscaling upto 1 / 4x

    Thanks,

    Astro

  • Hi Astro,

    As for the above answer, did you mean that the reduction ratio was wrong?

    I guess you asked for two scaling ratio, one is 0.1x and the other is 9x. What i said was, 0.1x can be supported in DSS scalar, but 9x cannot be. 

    Not only the Display function but also the VIP function and VPE function have a scaler function.

    Yes, but as far as i remember, the upscaling limit is similar, about 8x, even in VPE and VIP scalar. VPE and VIP has same scalar. Can you please try 9x upscaling for VPE scalar?  

    Regards,

    Brijesh

  • Hi, Brijesh

    I guess you asked for two scaling ratio, one is 0.1x and the other is 9x. What i said was, 0.1x can be supported in DSS scalar, but 9x cannot be. 

    I'm a little confused.
    Because TRM stated that downscaling is supported from x1 / 4 (x0.25). But you said that x0.1 is supported. Which information is correct?

    Thanks,

    Astro

  • Hi Astro,

    oh sorry, yes, both 0.1x and 9x cannot be supported in DSS.

    Regards,

    Brijesh