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.

AM572x VIP inline scaling

Other Parts Discussed in Thread: AM5728

Hi,

Does the TI PSDK 02.00.00.00 (Linux) VIP driver support VIP inline scaling? If not, what are the changes required to add support for VIP inline scaling (both up and down scaling) in the VIP driver? We are also planning to use the inline Chroma Down Sampler after scaling.

Regards,
Prasad. 

  • I will ask the software team to comment.
  • PSDK 3.0 is just released and it supports VIP inline scaling and chroma down sampling in NV12 format.

    Only down scaling is supported vy VIP scaler. Up scaling cannot be supported as the scaler unit operate on incoming video data line by line. The scaler has to be done processing the current line before new data arrives and there is no way to stall this.

  • Thanks Manisha for the quick response. We will try VIP inline down scaling by porting PSDK 3.0 VIP changes to PSDK 2.0.

    Regards,
    Prasad.
  • Hi Manisha,

    The AM5728 TRM doesn't clearly mention the limitations of VIP inline scalar. Can you please help me figure out the capabilities of VIP inline scalar? I am interested in knowing what is the maximum scaling ratio of the vertical and horizontal scalar. Also can VIP inline scalar down scale an incoming video to any lower custom resolution? i.e for example can VIP inline scalar down scale a 1280x720p60 fps input video to 168x98p60 fps.

    Regards,
    Prasad.
  • The restriction on horizontal down scaling ratio is up to 1/8th and vertical down scaling ratio is up to 3/16. For 1280x720 downscaled to 168x98,  horizontal downscale ratio is within limit but the vertical downscaling is outside limit.  VIP driver check this ratio and if it is beyond the limit, it throws warning (that you should see if you compile the VIP driver in debug mode) and reset the resolution within scaling ratio limits. When doing handshake with VIP driver using v4l2src, you should check the resolution that VIP has returned. For this specific scaling scenario, VIP will return the resolution as 168x135.