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.

DM6437 Problem with CCDD reverse function

Hello,everyone

I am try to reverse the frame horizontally by hardware. According to TMS320DM643x DMP VPFE User's Guide i should modify SDOFST register

 and set it to 0x00004B6D. Unfortunately it doesn't works good!From the  view of output video,  not every frame was reversed correctly.

Is any more configurations ?

Thanks!

  • Hi,

    Thanks for your post.

    I think, the above mentioned configuration should hold good to invert an input image vertically. In addition to this, is the starting address and line offset values are aligned to a 32-byte boundaries, may be, either 16 or 32 pixels which again depends on the SYN_MODE_PACK8 setting?

    How is the pixel data packed via the SYN_MODE.PACK8 setting? I mean, Did you validate the DDR2 data format used which can be determined by the SYN_MODE.DATSIZ setting?

    I think, you can examine each pixel data bits which usually stored in the lower 16-bit of a 16-bit DDR2 word and this would help what goes wrong with each frame which is not getting reversed correctly. The value SDR_ADDR.ADR defines the starting address where the frame should be written in DDR2 and the value HSIZE_OFF.LNOFST.  defines the line offset values. May be, you could debug the pixel data bits through the starting address via memory browser where the output frames are stored in DDR2 lower 16-bit.

    Kindly validate the above suggestion.

    Thanks & regards,

    Sivaraj K

    ----------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

  • Hi,Sivaraj K

    Thanks for your reply!

    I have checked the CCDD registers.The YN_MODE.DATSIZ = 7(PACK8),HSIZE_OFF.LNOFST is a const value 0x5a0,and the SDR_ADDR  register holds a set of value: 0x80195500, 0x80000480,  0x8025fd00, 0x8032a580, 0x803f4d80, 0x800cac80. It doesn't seem to have any problems. DId i have any bad configurations of CCDD module? Thanks!

    Best Regards!

    Jinus