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.

VDCE downsizing

Hi,

I have downsized a input Image having dimension 1920x1080 to size 960x540 using VDCE. When I noted the time, it took around 37 ms. I have a software desizer which finishes this job in 14 ms. I would like to know why VDCE is taking so much time. Hardware resizer should take lesser time that is what i belive. 

  • Hi,

     

    If you are trying to resize in YUV422 image, Driver does not resize this image in the single pass, instead it requires two passes. In the first pass, it resizes and converts into YUV420 and then in the second pass, it converts into YUV422. VDCE hardware as such does not have any mode to resize in YUV422 mode in single pass. I think this could be reason for this performance.

     

    Thanks,

    Brijesh Jadav

  • Hi Brijesh,

     

    One question I have. Does VDCE resize planar data or interleaved data? The yuv data i m feeding in is in YUV 4:2:0 format and it is in interleaved format.

  • Hi,

     

    VDCE supports only Semi-planar data in which one plane contains Luma data and other plane contain CBCR interleaved data. It does not support complete interleaved or complete planar data.

     

    Thx,

    brijesh Jadav

  • Hi Brijesh,

    One more help I am looking for. We have noted down the VDCE downsized timings for certain resolution. eg:  for 1920x1080 to size 1280x1024, VDCE takes around 35 ms time. This is inclusive of chroma conversion. We have also measured the time required for chroma conversion for resolution 1280x1024. It comes around 4~5 ms. That means VDCE taken around 30 ms to do just downsizing. We have also have a software DSP resizer which does resizing. It takes very less time to downsize the same resolution. So we are not able to figure it out why VDCE is taking so much time. Ideally how much time it is supposed to take for this kind of resolution. Do you have any performance numbers for other resolution? so that I can try them here.

    Thanks in advance

    Archana

     

  • Hi,

     

    I think you are trying to resize YUV422 image. VDCE hardware as such does not support resizing YUV422 images. Driver does this operation in two passes, in the first pass, it resizes and converts into YUV420, and in second pass, it converts resized YUV420 to YUV422 image. I think because of two passed, it is taking long time. Can you try out resizing YUV420 images and check the performance?

     

    Thanks,

    Brijesh Jadav