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.

DM8148Vpss采集视频经过dsp处理后发送到a8的chain创建问题



DM8148,RDK3.5,现在需要从Vpss获取视频,然后将视频从Vpss送入DSP进行处理,然后将处理之后的结果发送到A8。在创建chain的时候,我使用的是VpssFramesOut->((process link)DSPFramesIN->algLInk)->HostFramesIn这样的流程来创建chain,运行的时候打印出来两个错误

[host] -----------------------*** GatePeterson_Instance_init: OpenerId is different!
Error [0xfffffffc] at Line no: 533 in file /opt/ipnc/Source/ti_tools/syslink_2_20_02_20/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/GatePeterson.c
---create ven bits in host done!!!-------------------------------------

 ASSERT (system_ipc_listMP.c|System_ipcListMPOpen|121)

想请问一下,这样的创建流程是可行的吗,如果不可行需要按上面流程来创建呢,谢谢

  • 你好,

    你和现有的chain的区别就是添加了hostFramesIn,是否如果没有hostFrameIn运行就没有问题?

    你Link的启动顺序是是从后往前的?

  •  意思是VpssFramesOut的Nextlink和Processlink只能有一个被开启,单独只开启Processlink然后将DSP处理完的数据送到Displaylink显示是正常的,或者直接将VpssFramesOut的NextLink设置为HostFramesInId,Processlink设置为NULL,这样程序也能够正常运行,如果两个都开启了,

    ipcFramesOutVpssPrm.baseCreateParams.outQueParams[0].nextLink = ipcFramesInHostId0;//ipcFramesInDspId;// gVdisModuleContext.displayId[VDIS_DEV_HDMI];
    ipcFramesOutVpssPrm.baseCreateParams.notifyNextLink = FALSE;
    #if 1
    ipcFramesOutVpssPrm.baseCreateParams.processLink = ipcFramesInDspId;
    ipcFramesOutVpssPrm.baseCreateParams.notifyProcessLink = TRUE;
    #endif
    ipcFramesOutVpssPrm.baseCreateParams.noNotifyMode = FALSE;

    像上面这样设置,启动后就会打印这个错误,

    [host] 821: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_23] ...
    ASSERT (system_ipc_listMP.c|System_ipcListMPOpen|121)

    ListMP不是可以由多个处理器共同使用和维护的吗?

  • 您好:

    现在的问题是在创建链路的时候就报错了,还没到启动

    [host] --------------------------create ipcFramesInHost link-------------------------------------

    [host] IpcFramesInLink_tskMain:Entered
    [host] 821: IPC_FRAMES_IN : Create in progress !!!

    [host] 821: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_23] ...
    ASSERT (system_ipc_listMP.c|System_ipcListMPOpen|121)

  • 你好,

    我看的是dvr rdk4.01的代码。里面的multich_vcap_venc_vdis.c里面的osdalglink,就是类似你使用的dsp process link。你能够参考一下相关代码么?

  • 您好:

    可以给我发一份multich_vcap_venc_vdis.c源码吗,邮箱wyf5249@126.com,谢谢!