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.

DVRRDK tiler

Hello,everyone

   I am working on DVRRDK3.0 with DM8168EVM.Now I want to an application about the rotation/mirroring of the Input Image. I know the tiler is useful for this.I have seen the related contents in 816x TRM(SPRUGX8),but I have no idea for the rotation/mirroring in McFW demo of DVRRDK 3.0.

In multich_vcap_vdis.c, I found some configuration about tiler:

capturePrm.tilerEnable = FALSE;

nsfPrm.tilerEnable = FALSE;


deiPrm[i].tilerEnable[DEI_LINK_OUT_QUE_VIP_SC] = FALSE;

If I want to rotate a video Image,I have to modify all above configuration to true,or just one?How these three configuration are different?

I know some registers should modified,but I do not know which file.

To achieve a image rotation in McFW demo of DVRRDK 3.0,such vcap_vdis demo,what steps should I do? Could you give me some suggestion or example.

I am looking forward to your reply. Thanks in advance.

JQ Zhao

  • Rotation/Mirroring using tiler is not supported in DVR RDK. Enabling it requires significant changes in the links to compute the tiler address (orientation) in rotated view ,adjusting the buffer pitch based on rotation angle and restoring the address once rotation is complete. We have no example/demo that can be refered. Further HDVICP VDMA assume standard pitch when input is tiled format so it is not possible to encode/decode 90/270 degree rotated view even if the changes for rotation are done in HDVPSS links side.

  • Thanks for your reply.I have some doubts about the functions DMM/tiler.

    (1) I want to know the follow three parameters’functions in DVRRDK codes.
    capturePrm.tilerEnable = FALSE;
    nsfPrm.tilerEnable = FALSE;
    deiPrm[i].tilerEnable[DEI_LINK_OUT_QUE_VIP_SC] = FALSE;

    Are they not useful for the DMM/Tiler(Image rotation) ?

    (2)If DVRRRDK do not support DMM/TILER,does eZSDK support?

    (3)In chapter4 of sprugx8(TMS320DM816x DaVinci Video Processors Technical Reference Manual) document,it tells us the powerful functions of DMM/TILER in Image processing,such as Image rotation/mirroring.How can use these information to achieve 2D access for Image processing??

    Looking forward to your reply.

    My Regards,

    Zhao

  • (1) I want to know the follow three parameters’functions in DVRRDK codes.
    capturePrm.tilerEnable = FALSE;
    nsfPrm.tilerEnable = FALSE;
    deiPrm[i].tilerEnable[DEI_LINK_OUT_QUE_VIP_SC] = FALSE;

    Are they not useful for the DMM/Tiler(Image rotation) ?

    The above params are to configure the links to allocate their output buffers from tiler memory.Allocation buffers from tiler memory is useful to reduce ddr b/w. Image rotation requires more changes which are not present in dvr rdk as I explained.

    (2)If DVRRRDK do not support DMM/TILER,does eZSDK support?

      - Pls post a separate post and someone knowledgeable about ezsdk would be able to confirm.

    (3)In chapter4 of sprugx8(TMS320DM816x DaVinci Video Processors Technical Reference Manual) document,it tells us the powerful functions of DMM/TILER in Image processing,such as Image rotation/mirroring.How can use these information to achieve 2D access for Image processing??

      - Can you be specific on what you want to do. TIler supports rotation and mirroring as explained in detail in the TRM. Rotation and mirroring are unrelated to 2D access.