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.

Problem about VIP-trimmer in dm385.(VIP get the wrong fps when startX + width>2048)

Other Parts Discussed in Thread: DM385
Hi EveryOne,
  I have some question about VIP_trimmer on DM385 (I·m using IPND_RDK3.5).
  VIP trimmer setting code in captureLink is as follows:
  ...
  pVipCreateArgs->videoCaptureMode =
                VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_HSYNC_VSYNC;
 ...
 ...
    vipCropPrms.channelNum = 0;
    /* Enable VIP trimmer in discrete sync mode */
    if((pVipCreateArgs->videoCaptureMode ==VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VBLK) ||
        (pVipCreateArgs->videoCaptureMode ==VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VSYNC)||
        (pVipCreateArgs->videoCaptureMode ==VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_HSYNC_VSYNC))
    {
        vipCropPrms.vipCropEnable = TRUE;
    }
    else
    {
        vipCropPrms.vipCropEnable = FALSE;
    }
    vipCropPrms.vipCropCfg.cropStartX = 236;
    vipCropPrms.vipCropCfg.cropStartY = 41;
    vipCropPrms.vipCropCfg.cropWidth = 1920;
    vipCropPrms.vipCropCfg.cropHeight = 1080;
    status = FVID2_control(pInst->captureVipHandle,
                     IOCTL_VPS_CAPT_SET_VIP_CROP_CFG,
                     &vipCropPrms, NULL);
    UTILS_assert(status == FVID2_SOK);
 ...
 
 The input video format is 1080P30(clk = 74.25MHz,HSync = 33KHz,VSync = 30Hz),But with the above paremater ,captureLink can not get the right data in buffer,in only capture 15 frames per second.
 If I don`t use trimmer to crop blanking region,captureLink can get 30 frames per second in buffer,with blanking region and active date.
 I found that when cropStartX + cropWidth > 2048,VIP paser cannot work well.why ? anywhere have limit on this ? How can I crop 1080P active data correctly ?Thanks