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.

RTOS/TDA3XEVM: Resolution customization in TDA3xx EVM board

Part Number: TDA3XEVM

Tool/software: TI-RTOS

Hi Everyone,

We are working on Rear view panorama use case on TDA3xx EVM board , We like to customize the resolution of the display as per our needs . We tried changing the parameter "IMAGE_TRANSFORM_OUTPUT_HEIGHT" in "chains_common_rear_view_panorama.c" but it results in disturbed output .

We are trying to reduce the resolution of the display image to 1280X242 . Kindly let us know what are the changes we need to make to customize the resolution of display image as per our need.

  • Hi Surendar,

    I have forwarded your question to an expert for comment.

    Regards,
    Yordan
  • Hi Surendar,

    The lens distortion correction (LDC) hardware requires that the dimensions of the output size be in multiples of the block size. The minimum LDC block size for height is 16, so the output resolution could be 240. If this size is acceptable, there are a few additional changes to enable the 1280x240 resolution.

    First, the following macros in the listed files must be changed to 240:

    RSVP_OUTPUT_HEIGHT in the file vision_sdk\apps\src\rtos\alg_plugins\rear_view_panorama\CommonDefs.h
    ALGLINK_FRAME_HEIGHT and ALGLINK_OUTPUT_FRAME_HEIGHT2 in the file vision_sdk\apps\src\rtos\alg_plugins\rear_view_panorama\stitchingLink_algPlugin.c
    ALGLINK_OUTPUT_FRAME_HEIGHT2 in the file vision_sdk\apps\src\rtos\alg_plugins\rear_view_panorama\seamDetectionLink_algPlugin.c

    Finally, the LDC block size macro defined as IMAGETRANSFORM_LDC_BLOCK_HEIGHT must be changed from 32 to 16 in the file vision_sdk\apps\src\rtos\usecases\rear_view_panorama_tda3xx\chains_RVP_TDA3X.h
    Please let me know if you have further questions.

    Regards,
    Lucas
  • Hi Lucas,

    Thanks for your guidance , but still I am getting several green lines on the display video and it is not even closer to perfect display . I have made the following changes as you mentioned . Please correct me if I am wrong .

    in the file vision_sdk\apps\src\rtos\usecases\common\chains_common_rear_view_panorama.c , parameters changed "IMAGE_TRANSFORM_OUTPUT_WIDTH" & "IMAGE_TRANSFORM_OUTPUT_HEIGHT" to 1280 and 240 respectively .

    in the file vision_sdk\apps\src\rtos\alg_plugins\rear_view_panorama\CommonDefs.h , parameters changed "RSVP_OUTPUT_WIDTH" & "RSVP_OUTPUT_HEIGHT" to 1280 and 240 respectively

    in the file vision_sdk\apps\src\rtos\alg_plugins\rear_view_panorama\stitchingLink_algPlugin.c , parameters changed "ALGLINK_OUTPUT_FRAME_WIDTH2" and "ALGLINK_FRAME_WIDTH" to 1280 whereas the parameters "ALGLINK_OUTPUT_FRAME_HEIGHT2" and "ALGLINK_FRAME_HEIGHT" to 240

    in the file vision_sdk\apps\src\rtos\alg_plugins\rear_view_panorama\seamDetectionLink_algPlugin.c "ALGLINK_OUTPUT_FRAME_WIDTH2" & "ALGLINK_OUTPUT_FRAME_HEIGHT2" parameters are changed to "1280 " and "240" respectively .

    and lastly , in the file vision_sdk\apps\src\rtos\usecases\rear_view_panorama_tda3xx\chains_RVP_TDA3X.h , "IMAGETRANSFORM_LDC_BLOCK_HEIGHT" also changed to 16U

    Kindly help me on this .

    P.S : I am trying to run the 1280x240 resolution display on 1920x1080 monitor . I like to know whether this is causing any issues on the display
  • Hi Lucas,

    Is there any update on my question , can you kindly help us in solving the issue with green lines on the display when we tried to run 1280x240 resolution .
  • Hi Surendar,

    My apologies for the delay and for not understanding your question correctly. The change of output width from 1920 to 1280 requires an algorithm source code change. Please file a request for the algorithm source code with your field representative.

    Regards,
    Lucas
  • Hi Lucas,

    Thank you for clarifying this , we already asked for source code and we will be getting it soon . I like to know in which algorithm we need to make changes once we got the source code . If it is possible can you mention the changes before itself so that we can go ahead when we got the source code.
  • Hi Surendar,

    I'm sorry but we can't discuss algorithm-specific proprietary information on an open forum. Please wait for delivery of source code.

    Regards,
    Lucas
  • Hi Lucas,

    Hope you are doing well , We got the rear view panorama algorithm source code . Can you kindly help us to make changes in the source code for resolution of 1280x240 .


    Regards ,

    V.B.Surendar
  • Hi Surendar,

    Since we can't discuss algorithm source code on an open forum, one of our team members will contact you directly about this.

    Regards,

    Lucas

  • Hi Lucas,

    Is there any update on this , I have not yet contacted by anyone .
  • Hi,

    I will close the thread as the topic is discussed offline.

    Regards,
    Yordan