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.

TDA3MV: Left/Top margin in VIP

Part Number: TDA3MV

Dear Champs,

My customer is using TDA3 and the Vision SDK is 3.8.0.

They want to know how they can add Left & Top margin in VIP as below picture(b).

They already implement to receive 640x480 image as below picture(a), but have no idea how they can add left/top margin like picture(b).

My customer's code for picture (a) is as below.

ChainsCommon_SingleCam_SetCapturePrms

    (  

        &(pUcObj->CapturePrm)       ,

        640        ,

        480       ,

        688,

        496,

        pObj->chainsCfg->captureSrc

    );

 

Chain_common_vision.c(ChainsCommon_SingleCam_SetCapturePrms)

 

if((pInprms->width != pOutprms->width) ||

                (pInprms->height != pOutprms->height))

            {

                pOutprms->scEnable      =   FALSE;

   }

Thanks and Best Regards,

SI.

  • Hi SI,

    VIP as HW module can not shift the output image to different location. But the way you could do is, you could move the start pointer into the buffer and keep the pitch same as original buffer pitch, so VIP will start writing from this new location.

    This is not supported in VIP link, you would have to add it.

    Regards,

    Brijesh