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.

DM365 DVEVM : possible to vertically invert all video?

Other Parts Discussed in Thread: TVP5146

Hi,

We plan to use the composite video input into the TVP5146 which will be digitized and pulled through the BT656 interface to the DM365. The analog camera we have sourced however is best mounted within our housing if it is placed upside down. My query is thus, is it possible to permanently vertically invert all incoming video in software? Is this something semi-trivial or would it be better to account for this in housing? Any side-effects (ie increased processor requirements?)

I cannot find anything in the TVP5146 spec regarding inversion and unfortuanely do not even know yet where I could even start to look on the linux side. (any heads up here would also be appreciated although for now I primarily just need a yes / no / possible repercussions answer in order to allow our guys to continue with the HW).

Sincerely,
NickA

  • Hi Nick,

    As you are using DM365 to connect to TVP5146 and receive the BT656 YUV input, i would suggest that the best option is to use the vertical and horizontal flip feature of RSZ in DM365. When you turn on vertical and horizontal flip, you can get a 180 degree rotation which should take care of the input when camera is connected up-side down.

    The flip feature is already there as part of linux drivers for RSZ and capture. You can switch on the flip by just setting the config parameter before the resize operation. This operation does not cost any extra cycles on ARM or DDR bandwidth.

    Let me know if you are looking for any other alternative solution for such vertical inversion using TVP5146.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.