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.

Linux: Capture+Display through HDCOMP out in DM388

Other Parts Discussed in Thread: DM388, TVP7002

Tool/software: Linux

Hi TI Experts,

I'm in customized DM388 platform.

My simple usecase is capture + Display (S-video) output using HDDAC.

So my usecase

    /*Initialize Capture Link params*/
    CaptureLink_CreateParams_Init(&capturePrm);
    capturePrm.numVipInst = 1;
    capturePrm.outQueParams[0].nextLink = gVdisModuleContext.displayId[VDIS_DEV_HDMI];
    capturePrm.tilerEnable              = FALSE;

    pCaptureInstPrm                     = &capturePrm.vipInst[0];
    pCaptureInstPrm->vipInstId          = SYSTEM_CAPTURE_INST_VIP0_PORTA;
    pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
    pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
    pCaptureInstPrm->standard           =  SYSTEM_STD_1080P_60;
    pCaptureInstPrm->numOutput          = 1;

    pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
    pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV420SP_UV;
    pCaptureOutPrm->scEnable            = FALSE;
    pCaptureOutPrm->outQueId            = 0;

    /*Initialize Display link params*/
    MULTICH_INIT_STRUCT(DisplayLink_CreateParams,displayPrm);
    displayPrm.inQueParams[0].prevLinkId = gVcapModuleContext.captureId;
    displayPrm.inQueParams[0].prevLinkQueId = 0;
    displayPrm.displayRes = SYSTEM_STD_480I;
    displayPrm.displayId  = DISPLAY_LINK_DISPLAY_BP0;

    /*Create Links*/
    /* create capture link.*/
    System_linkCreate(gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
    /* create display link.*/
    System_linkCreate(gVdisModuleContext.displayId[VDIS_DEV_HDMI], &displayPrm, sizeof(displayPrm));

    ADV723 input has to be in the same video format, interlaced PAL or NTSC

    So, What format it needs to be configured to HDCOMP

    HDMI is blended with HDCOMP.


    Regards,

    Rajesh Kannan S