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.

FVID_create创建不成功

dsp是DM648在调用FVID_create函数是不成功,capChInfo.chanHandle = FVID_create("/VP2CAPTURE/A", IOM_INPUT, &swStatus, (Ptr)&vCapParamsChan,NULL),swStatus值是-1。

vCapParamsPort 定义如下

VPORT_PortParams vCapParamsPort = CAP_PARAMS_PORT_DEFAULT(FALSE);

static VPORTCAP_Params vCapParamsChan = CAP_PARAMS_CHAN_BT656_DEFAULT(PAL);

    vCapParamsChan.segId = EXTERNALHEAP;
    vCapParamsChan.hEdma = hEdma;
    vCapParamsChan.scale = VPORT_SCALING_DISABLE;
    vCapParamsChan.thrld = NUMPIXELS >> 3;
    vCapParamsChan.numFrmBufs = 0;