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.

DM8148 VIN0 Configuration

Other Parts Discussed in Thread: TVP5158

Hi All,

Can VIN0 be configured to capture both of these formats simultaneously?

XGA Source (8-bit YCbCr-4:2:2, 1024x768 @ 130MHz) -> VIN0_A

TVP5158 Source (8-bit quad interleaved YCbCr, 4xNTSC @ 108MHz) -> VIN0_B

We are using a custom board running the DVRRDK_03.00.00.00 referece software. I am currently able to encode one or the other. But, when I try both I get an error from the capture driver.

I want to make sure I'm not going down a path that's not supported, as the datasheet seems to indicate it can.

Thanks!

Jason

  • Hi Jason,

     

    What error are you getting from the driver? It should be possible. Please note the on VIP0_A, you will require BT656 style of sync codes.

    It may require some change in the capture link as capture link does not support this configuration.

     

    Regards,

    Brijesh

  • Hi Brijesh,

    Thank you for the quick response! I get the following error with the attached usecase. I have a feeling that I'm not configuring the capture + DEI blocks up correctly.

    Assertion @ Line: 828 in links_m3vpss/dei/deiLink_drv.c: pObj->fvidHandle != NULL : failed !!! 

    I've already modified the capture link to accept the XGA input, and it seems to be created correclty.

    Thank you!

    Jason

    Capture A(YUV422I) 1CH XGA 60fps      Capture B(YUV422I) 4CH D1 60fps
                 |                                    |
                 |                                    |
                 |                                   DEI
                 |                             (DEI-SC YUV422I)
                 |                                    |
                 +---------------+                    |
                                 |         +----------+
                                 |         |
                    <XGA-H.264> 0|         |0 <D1-H.264>
                                 |         |
                      ---------------------------------
                            XGA_D1_MERGE_LINK_IDX
                      ---------------------------------
                                      |
                                      |
                                IPCM3OUT(VPSS)------IPCM3IN(VID)----ENC-----IPCBITS_RTOSOUT(VID)-----IPCBITS_HLOSIN(HOST)-----FILEOUT
    
    

  • Hi Jason,

     

    Can you share you use case file? It looks like VIP is using both the output ports, so DEI driver is not able to find any output free ports. You need to either change vip to output only single output or change dei to use only single output. please share you use case file.

     

    Regards,

    Brijesh

  • Hi Brijesh,

    I've attached the use case file. I think the DEI is using only a single output. So I'm guessing it's an issue with the VIP setup.

    Thanks again!

    Jason

    /*
    Capture (YUV422I) 1CH XGA 60fps      Capture (YUV422I) 4CH D1 60fps
                 |                                    |
                 |                                    |
                 |                                    |
                 |                                    |
                 |                                    |
                 |                                   DEI
                 |                             (DEI-SC YUV422I)
                 |                                    |
                 +---------------+                    |
                                 |                    |
                                 |         +----------+
                                 |         |
                                 |         |
                    <XGA-H.264> 0|         |0 <D1-H.264>
                                 |         |
                                 |         |
                                 |         |
                      ---------------------------------
                            XGA_D1_MERGE_LINK_IDX
                      ---------------------------------
                                      |
                                      |
                                      |
                                      |
                                      |
                                      |
                                      |
                                IPCM3OUT(VPSS)------IPCM3IN(VID)----ENC-----IPCBITS_RTOSOUT(VID)-----IPCBITS_HLOSIN(HOST)-----FILEOUT
    
    */
    
    static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
    {
        .isPopulated = 1,
        .ivaMap[0] =
        {
            .EncNumCh  = 8,
            .EncChList = {0, 1, 2, 3, 4, 5, 6, 7},
            .DecNumCh  = 0,
            .DecChList = {0},
        },
    
    };
    
    #define     NUM_CAPTURE_BUFFERS           8
    #define     NUM_ENCODE_D1_BUFFERS         6
    #define     NUM_ENCODE_XGA_BUFFERS        4
    
    #define     NUM_CAPTURE_DEVICES           2
    
    /* 
     *
     *
     * TODO: MOVE TO CUSTOM USE CASE ONCE WORKING!!! 
     *
     *
     * */
    Void MultiCh_createProgressive8D1VcapVencVdecVdis()
    {
        CaptureLink_CreateParams          capturePrm;
        DeiLink_CreateParams              deiPrm;
        MergeLink_CreateParams            mergePrm;
        IpcLink_CreateParams              ipcOutVpssPrm;
        IpcLink_CreateParams              ipcInVideoPrm;
        EncLink_CreateParams              encPrm;
        IpcBitsOutLinkRTOS_CreateParams   ipcBitsOutVideoPrm;
        IpcBitsInLinkHLOS_CreateParams    ipcBitsInHostPrm;
    
        CaptureLink_VipInstParams         *pCaptureInstPrm;
        CaptureLink_OutParams             *pCaptureOutPrm;
    
        System_LinkInfo                   bitsProducerLinkInfo;
    
        UInt32 mergeId;
        UInt32 ipcOutVpssId;
        UInt32 ipcInVideoId;
        UInt32 vipInstId;
        UInt32 i; 
        UInt32 j;
    
        // Initialize Structures
        MULTICH_INIT_STRUCT(IpcLink_CreateParams,ipcOutVpssPrm);
        MULTICH_INIT_STRUCT(IpcLink_CreateParams,ipcInVideoPrm);
        MULTICH_INIT_STRUCT(IpcBitsOutLinkRTOS_CreateParams,ipcBitsOutVideoPrm);
        MULTICH_INIT_STRUCT(IpcBitsInLinkHLOS_CreateParams,ipcBitsInHostPrm);
        MULTICH_INIT_STRUCT(EncLink_CreateParams, encPrm);;
        MULTICH_INIT_STRUCT(DeiLink_CreateParams,  deiPrm);
    
        printf("\nEntered new usecase 1HD + 4SD <8148> Enc OSD Disable SCD Disabled \n\n");
    
        MultiCh_detectBoard();
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VPSS,
            SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES,
            NULL,
            0,
            TRUE
            );
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VIDEO,
            SYSTEM_COMMON_CMD_SET_CH2IVAHD_MAP_TBL,
            &systemVid_encDecIvaChMapTbl,
            sizeof(SystemVideo_Ivahd2ChMap_Tbl),
            TRUE
        );
    
        SystemTiler_disableAllocator();
    
        vipInstId = 0;
    
        // Assign IDs
        gVcapModuleContext.captureId          = SYSTEM_LINK_ID_CAPTURE;
        gVcapModuleContext.deiId[0]           = SYSTEM_LINK_ID_DEI_0;
        gVencModuleContext.encId              = SYSTEM_LINK_ID_VENC_0;
        gVdecModuleContext.decId              = SYSTEM_LINK_ID_INVALID;
        mergeId                               = SYSTEM_VPSS_LINK_ID_MERGE_0;
        ipcOutVpssId                          = SYSTEM_VPSS_LINK_ID_IPC_OUT_M3_0;
        ipcInVideoId                          = SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0;
        gVencModuleContext.ipcBitsOutRTOSId   = SYSTEM_VIDEO_LINK_ID_IPC_BITS_OUT_0;
        gVencModuleContext.ipcBitsInHLOSId    = SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0;
        gVdecModuleContext.ipcBitsOutHLOSId   = SYSTEM_LINK_ID_INVALID;
        gVdecModuleContext.ipcBitsInRTOSId    = SYSTEM_LINK_ID_INVALID;
    
        // Initialize Parameters
        CaptureLink_CreateParams_Init(&capturePrm);
    
        // Setup Links
        // Assuming this is the XGA VIP instance (no need to deinterlace)
        capturePrm.outQueParams[0].nextLink   = mergeId;
        // Assuming this is the 4SD VIP instance (need to deinterlace)
        capturePrm.outQueParams[1].nextLink   = gVcapModuleContext.deiId[0];
    
        // Setup Capture Parameters
        capturePrm.numVipInst                 = 2;
        capturePrm.tilerEnable                = FALSE;
        capturePrm.numBufsPerCh               = NUM_CAPTURE_BUFFERS;
        capturePrm.maxBlindAreasPerCh         = 4;
    
        // XGA Source
        pCaptureInstPrm                     = &capturePrm.vipInst[0];
        pCaptureInstPrm->vipInstId          = (SYSTEM_CAPTURE_INST_VIP0_PORTA+
                                              vipInstId)%SYSTEM_CAPTURE_INST_MAX;
        // Temporarily modified capture driver's TVP7002 instance for XGA.
        pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
        pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        pCaptureInstPrm->standard           = SYSTEM_STD_XGA_60;
        pCaptureInstPrm->numOutput          = 1;
    
        pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
        pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
        pCaptureOutPrm->scEnable            = FALSE;
        pCaptureOutPrm->scOutWidth          = 0;
        pCaptureOutPrm->scOutHeight         = 0;
        pCaptureOutPrm->outQueId            = 0;
    
        // TVP5158 Source
        pCaptureInstPrm                     = &capturePrm.vipInst[1];
        pCaptureInstPrm->vipInstId          = SYSTEM_CAPTURE_INST_VIP0_PORTB;
        pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP5158_DRV;
        pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        pCaptureInstPrm->standard           = SYSTEM_STD_MUX_4CH_D1;
        pCaptureInstPrm->numOutput          = 1;
    
        pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
        pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
        pCaptureOutPrm->scEnable            = FALSE;
        pCaptureOutPrm->scOutWidth          = 0;
        pCaptureOutPrm->scOutHeight         = 0;
        pCaptureOutPrm->outQueId            = 0;
    
        // Setup Deinterlacer
        deiPrm.inQueParams.prevLinkId     = gVcapModuleContext.captureId;
        deiPrm.inQueParams.prevLinkQueId  = 1; // Second VIP instance ID
    
        // Set Output Scaling at DEI based on ratio
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].scaleMode = DEI_SCALE_MODE_RATIO;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.numerator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.denominator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.numerator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.denominator = 1;
        for (i=1; i < DEI_LINK_MAX_CH; i++)
            deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][i] = deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0];
    
        deiPrm.enableOut[DEI_LINK_OUT_QUE_DEI_SC]                       = FALSE;
        deiPrm.enableOut[DEI_LINK_OUT_QUE_VIP_SC]                       = TRUE;
        deiPrm.enableOut[DEI_LINK_OUT_QUE_VIP_SC_SECONDARY_OUT]         = FALSE;
    
        deiPrm.outQueParams[DEI_LINK_OUT_QUE_VIP_SC].nextLink           = mergeId;
        deiPrm.tilerEnable[DEI_LINK_OUT_QUE_VIP_SC]                     = FALSE;
        deiPrm.comprEnable                                              = FALSE;
        deiPrm.setVipScYuv422Format                                     = FALSE;
        deiPrm.enableDeiForceBypass = FALSE;
    
        // Merge XGA <from Capture> with 4D1 <from VIP-SC>
        mergePrm.inQueParams[0].prevLinkId        = gVcapModuleContext.captureId; // NEED TO PUT THE CAPTURE OUTPUT TO HERE
        mergePrm.inQueParams[0].prevLinkQueId     = 0;
        mergePrm.inQueParams[1].prevLinkId        = gVcapModuleContext.deiId[0];
        mergePrm.inQueParams[1].prevLinkQueId     = DEI_LINK_OUT_QUE_VIP_SC;
        mergePrm.notifyNextLink                   = TRUE;
        mergePrm.numInQue                         = 2;
        mergePrm.outQueParams.nextLink            = ipcOutVpssId;
    
        // Setup IPC
        ipcOutVpssPrm.inQueParams.prevLinkId      = mergeId;
        ipcOutVpssPrm.inQueParams.prevLinkQueId   = 0;
    
        ipcOutVpssPrm.numOutQue                   = 1;
        ipcOutVpssPrm.outQueParams[0].nextLink    = ipcInVideoId;
        ipcOutVpssPrm.notifyNextLink              = TRUE;
        ipcOutVpssPrm.notifyPrevLink              = TRUE;
        ipcOutVpssPrm.noNotifyMode                = FALSE;
    
        ipcInVideoPrm.inQueParams.prevLinkId      = ipcOutVpssId;
        ipcInVideoPrm.inQueParams.prevLinkQueId   = 0;
        ipcInVideoPrm.numOutQue                   = 1;
        ipcInVideoPrm.outQueParams[0].nextLink    = gVencModuleContext.encId;
        ipcInVideoPrm.notifyNextLink              = TRUE;
        ipcInVideoPrm.notifyPrevLink              = TRUE;
        ipcInVideoPrm.noNotifyMode                = FALSE;
    
        // Setup Encoder Parameters
        encPrm.numBufPerCh[0] = NUM_ENCODE_XGA_BUFFERS;
        encPrm.numBufPerCh[1] = NUM_ENCODE_D1_BUFFERS;
    
        {
            EncLink_ChCreateParams *pLinkChPrm;
            EncLink_ChDynamicParams *pLinkDynPrm;
            VENC_CHN_DYNAMIC_PARAM_S *pDynPrm;
            VENC_CHN_PARAMS_S *pChPrm;
    
            // Primary Stream Params - D1
            for (i=0; i<gVencModuleContext.vencConfig.numPrimaryChn; i++)
            {
                pLinkChPrm  = &encPrm.chCreateParams[i];
                pLinkDynPrm = &pLinkChPrm->defaultDynamicParams;
    
                pChPrm      = &gVencModuleContext.vencConfig.encChannelParams[i];
                pDynPrm     = &pChPrm->dynamicParam;
    
                pLinkChPrm->format                  = IVIDEO_H264HP;
                pLinkChPrm->profile                 = gVencModuleContext.vencConfig.h264Profile[i];
                pLinkChPrm->dataLayout              = IVIDEO_FIELD_SEPARATED;
                pLinkChPrm->fieldMergeEncodeEnable  = FALSE;
                pLinkChPrm->enableAnalyticinfo      = pChPrm->enableAnalyticinfo;
                pLinkChPrm->enableWaterMarking      = pChPrm->enableWaterMarking;
                pLinkChPrm->maxBitRate              = pChPrm->maxBitRate;
                pLinkChPrm->encodingPreset          = pChPrm->encodingPreset;
                pLinkChPrm->rateControlPreset       = pChPrm->rcType;
                pLinkChPrm->enableSVCExtensionFlag  = pChPrm->enableSVCExtensionFlag;
                pLinkChPrm->numTemporalLayer        = pChPrm->numTemporalLayer;
    
                pLinkDynPrm->intraFrameInterval     = pDynPrm->intraFrameInterval;
                pLinkDynPrm->targetBitRate          = pDynPrm->targetBitRate;
                pLinkDynPrm->interFrameInterval     = 1;
                pLinkDynPrm->mvAccuracy             = IVIDENC2_MOTIONVECTOR_QUARTERPEL;
                pLinkDynPrm->inputFrameRate         = pDynPrm->inputFrameRate;
                pLinkDynPrm->rcAlg                  = pDynPrm->rcAlg;
                pLinkDynPrm->qpMin                  = pDynPrm->qpMin;
                pLinkDynPrm->qpMax                  = pDynPrm->qpMax;
                pLinkDynPrm->qpInit                 = pDynPrm->qpInit;
                pLinkDynPrm->vbrDuration            = pDynPrm->vbrDuration;
                pLinkDynPrm->vbrSensitivity         = pDynPrm->vbrSensitivity;
            }
    
            encPrm.inQueParams.prevLinkId    = ipcInVideoId;
            encPrm.inQueParams.prevLinkQueId = 0;
            encPrm.outQueParams.nextLink     = gVencModuleContext.ipcBitsOutRTOSId;
        }
    
        ipcBitsOutVideoPrm.baseCreateParams.inQueParams.prevLinkId    = gVencModuleContext.encId;
        ipcBitsOutVideoPrm.baseCreateParams.inQueParams.prevLinkQueId = 0;
        ipcBitsOutVideoPrm.baseCreateParams.numOutQue                 = 1;
        ipcBitsOutVideoPrm.baseCreateParams.outQueParams[0].nextLink  = gVencModuleContext.ipcBitsInHLOSId;
        MultiCh_ipcBitsInitCreateParams_BitsOutRTOS(&ipcBitsOutVideoPrm, TRUE);
    
        ipcBitsInHostPrm.baseCreateParams.inQueParams.prevLinkId      = gVencModuleContext.ipcBitsOutRTOSId;
        ipcBitsInHostPrm.baseCreateParams.inQueParams.prevLinkQueId   = 0;
        MultiCh_ipcBitsInitCreateParams_BitsInHLOS(&ipcBitsInHostPrm);
     
        // Create Links
        System_linkCreate (gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
        System_linkCreate(gVcapModuleContext.deiId[0], &deiPrm, sizeof(deiPrm));
        System_linkCreate(mergeId, &mergePrm, sizeof(mergePrm));
        System_linkCreate(ipcOutVpssId , &ipcOutVpssPrm , sizeof(ipcOutVpssPrm));
        System_linkCreate(ipcInVideoId , &ipcInVideoPrm , sizeof(ipcInVideoPrm));
        System_linkCreate(gVencModuleContext.encId, &encPrm, sizeof(encPrm));
        System_linkCreate(gVencModuleContext.ipcBitsOutRTOSId, &ipcBitsOutVideoPrm, sizeof(ipcBitsOutVideoPrm));
        System_linkCreate(gVencModuleContext.ipcBitsInHLOSId, &ipcBitsInHostPrm, sizeof(ipcBitsInHostPrm));
    
        // Print Out Information
        System_linkGetInfo(gVencModuleContext.ipcBitsInHLOSId,&bitsProducerLinkInfo);
        OSA_assert(bitsProducerLinkInfo.numQue == 1);
    
        printf ("\n\nbitsProducerLinkInfo\n");
        printf ("numQ %d, numCh %d\n",
                        bitsProducerLinkInfo.numQue,
                        bitsProducerLinkInfo.queInfo[0].numCh);
        for (i=0; i<bitsProducerLinkInfo.queInfo[0].numCh; i++)
        {
            printf ("Ch [%d] Width %d, Height %d\n",
                i,
                bitsProducerLinkInfo.queInfo[0].chInfo[i].width,
                bitsProducerLinkInfo.queInfo[0].chInfo[i].height);
        }
    
        if (bitsProducerLinkInfo.queInfo[0].numCh > gVencModuleContext.vencConfig.numPrimaryChn)
        {
            bitsProducerLinkInfo.queInfo[0].numCh = gVencModuleContext.vencConfig.numPrimaryChn;
        }
    
        printf ("Reducing bitsProducerLinkInfo.numCh to %d\n", bitsProducerLinkInfo.queInfo[0].numCh);
        return;
    }
    
    

  • The captureOutPrm outqueId should be 1 for vip1 4d1 output. You have set it to 0. Also xga output is 422i but encoder requires 420 sp. You need nsf to convert to 420sp

  • Hi Badri / Brijesh,

    I've implemented the changes in the attached file. It looks like everything is working up to the encoder. Then it appears to skip all the frames. The output is attached along with a printout of the statistics. I scanned the logs and forums to see if there is an explanation, but found nothing. Is there something else I could print out for clues?

    Thanks again for your help!

    Jason

    /*
    Capture (YUV422I) 1CH XGA 60fps      Capture (YUV422I) 4CH D1 60fps
                 |                                    |
                 |                                    |
                 |                                    |
                 |                                    |
                 |                                    |
                NSF                                  DEI
                 |                             (DEI-SC YUV422I)
                 |                                    |
                 +---------------+                    |
                                 |                    |
                                 |         +----------+
                                 |         |
                                 |         |
                    <XGA-H.264> 0|         |0 <D1-H.264>
                                 |         |
                                 |         |
                                 |         |
                      ---------------------------------
                            XGA_D1_MERGE_LINK_IDX
                      ---------------------------------
                                      |
                                      |
                                      |
                                      |
                                      |
                                      |
                                      |
                                IPCM3OUT(VPSS)------IPCM3IN(VID)----ENC-----IPCBITS_RTOSOUT(VID)-----IPCBITS_HLOSIN(HOST)-----FILEOUT
    
    */
    
    static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
    {
        .isPopulated = 1,
        .ivaMap[0] =
        {
            .EncNumCh  = 5,
            .EncChList = {0, 1, 2, 3, 4},
            .DecNumCh  = 0,
            .DecChList = {0},
        },
    
    };
    
    #define     NUM_CAPTURE_BUFFERS           8
    #define     NUM_NSF_BUFFERS               4
    #define     NUM_ENCODE_D1_BUFFERS         6
    #define     NUM_ENCODE_XGA_BUFFERS        4
    
    #define     NUM_CAPTURE_DEVICES          2
    
    /* TODO: MOVE TO CUSTOM USECASE */
    Void MultiCh_createProgressive8D1VcapVencVdecVdis()
    {
        CaptureLink_CreateParams          capturePrm;
        NsfLink_CreateParams              nsfPrm;
        DeiLink_CreateParams              deiPrm;
        MergeLink_CreateParams            mergePrm;
        IpcLink_CreateParams              ipcOutVpssPrm;
        IpcLink_CreateParams              ipcInVideoPrm;
        EncLink_CreateParams              encPrm;
        IpcBitsOutLinkRTOS_CreateParams   ipcBitsOutVideoPrm;
        IpcBitsInLinkHLOS_CreateParams    ipcBitsInHostPrm;
    
        CaptureLink_VipInstParams         *pCaptureInstPrm;
        CaptureLink_OutParams             *pCaptureOutPrm;
    
        System_LinkInfo                   bitsProducerLinkInfo;
    
        UInt32 mergeId;
        UInt32 ipcOutVpssId;
        UInt32 ipcInVideoId;
        UInt32 vipInstId;
        UInt32 i; 
        UInt32 j;
    
        // Initialize Structures
        MULTICH_INIT_STRUCT(IpcLink_CreateParams,ipcOutVpssPrm);
        MULTICH_INIT_STRUCT(IpcLink_CreateParams,ipcInVideoPrm);
        MULTICH_INIT_STRUCT(IpcBitsOutLinkRTOS_CreateParams,ipcBitsOutVideoPrm);
        MULTICH_INIT_STRUCT(IpcBitsInLinkHLOS_CreateParams,ipcBitsInHostPrm);
        MULTICH_INIT_STRUCT(EncLink_CreateParams, encPrm);;
        MULTICH_INIT_STRUCT(DeiLink_CreateParams,  deiPrm);
        MULTICH_INIT_STRUCT(NsfLink_CreateParams,  nsfPrm);
    
        printf("\nEntered new usecase 1HD + 4SD <8148> Enc OSD Disable SCD Disabled \n\n");
    
        MultiCh_detectBoard();
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VPSS,
            SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES,
            NULL,
            0,
            TRUE
            );
    
        System_linkControl(
            SYSTEM_LINK_ID_M3VIDEO,
            SYSTEM_COMMON_CMD_SET_CH2IVAHD_MAP_TBL,
            &systemVid_encDecIvaChMapTbl,
            sizeof(SystemVideo_Ivahd2ChMap_Tbl),
            TRUE
        );
    
        SystemTiler_disableAllocator();
    
        vipInstId = 0;
    
        // Assign IDs
        gVcapModuleContext.captureId          = SYSTEM_LINK_ID_CAPTURE;
        gVcapModuleContext.nsfId[0]           = SYSTEM_LINK_ID_NSF_0;
        gVcapModuleContext.deiId[0]           = SYSTEM_LINK_ID_DEI_0;
        gVencModuleContext.encId              = SYSTEM_LINK_ID_VENC_0;
        gVdecModuleContext.decId              = SYSTEM_LINK_ID_INVALID;
        mergeId                               = SYSTEM_VPSS_LINK_ID_MERGE_0;
        ipcOutVpssId                          = SYSTEM_VPSS_LINK_ID_IPC_OUT_M3_0;
        ipcInVideoId                          = SYSTEM_VIDEO_LINK_ID_IPC_IN_M3_0;
        gVencModuleContext.ipcBitsOutRTOSId   = SYSTEM_VIDEO_LINK_ID_IPC_BITS_OUT_0;
        gVencModuleContext.ipcBitsInHLOSId    = SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0;
        gVdecModuleContext.ipcBitsOutHLOSId   = SYSTEM_LINK_ID_INVALID;
        gVdecModuleContext.ipcBitsInRTOSId    = SYSTEM_LINK_ID_INVALID;
    
        // Initialize Parameters
        CaptureLink_CreateParams_Init(&capturePrm);
    
        // Setup Links
        // Assuming this is the XGA VIP instance (no need to deinterlace)
        capturePrm.outQueParams[0].nextLink   = gVcapModuleContext.nsfId[0]; // MAKE THIS THE NSF //mergeId;
        // Assuming this is the 4SD VIP instance (need to deinterlace)
        capturePrm.outQueParams[1].nextLink   = gVcapModuleContext.deiId[0];
    
        // Setup Capture Parameters
        capturePrm.numVipInst                 = 2;
        capturePrm.tilerEnable                = FALSE;
        capturePrm.numBufsPerCh               = NUM_CAPTURE_BUFFERS;
        capturePrm.maxBlindAreasPerCh         = 4;
        capturePrm.fakeHdMode                 = FALSE;
        capturePrm.enableSdCrop               = FALSE;
        capturePrm.doCropInCapture            = FALSE;
    
        // XGA Source
        pCaptureInstPrm                     = &capturePrm.vipInst[0];
        pCaptureInstPrm->vipInstId          = (SYSTEM_CAPTURE_INST_VIP0_PORTA+
                                              vipInstId)%SYSTEM_CAPTURE_INST_MAX;
        // Temporarily modified capture driver's TVP7002 instance for XGA.
        pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
        pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        pCaptureInstPrm->standard           = SYSTEM_STD_XGA_60;
        pCaptureInstPrm->numOutput          = 1;
    
        pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
        pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
        pCaptureOutPrm->scEnable            = FALSE;
        pCaptureOutPrm->scOutWidth          = 0;
        pCaptureOutPrm->scOutHeight         = 0;
        pCaptureOutPrm->outQueId            = 0;
    
        // TVP5158 Source
        pCaptureInstPrm                     = &capturePrm.vipInst[1];
        pCaptureInstPrm->vipInstId          = SYSTEM_CAPTURE_INST_VIP0_PORTB;
        pCaptureInstPrm->videoDecoderId     = SYSTEM_DEVICE_VID_DEC_TVP5158_DRV;
        pCaptureInstPrm->inDataFormat       = SYSTEM_DF_YUV422P;
        pCaptureInstPrm->standard           = SYSTEM_STD_MUX_4CH_D1;
        pCaptureInstPrm->numOutput          = 1;
    
        pCaptureOutPrm                      = &pCaptureInstPrm->outParams[0];
        pCaptureOutPrm->dataFormat          = SYSTEM_DF_YUV422I_YUYV;
        pCaptureOutPrm->scEnable            = FALSE;
        pCaptureOutPrm->scOutWidth          = 0;
        pCaptureOutPrm->scOutHeight         = 0;
        pCaptureOutPrm->outQueId            = 1;
    
        // Setup the Noise Filter
        nsfPrm.bypassNsf                        = FALSE;
        nsfPrm.tilerEnable                      = FALSE;
        nsfPrm.inQueParams.prevLinkId           = gVcapModuleContext.captureId;
        nsfPrm.inQueParams.prevLinkQueId        = 0;
        nsfPrm.numOutQue                        = 1;
        nsfPrm.outQueParams[0].nextLink         = mergeId;
        nsfPrm.numBufsPerCh                     = NUM_NSF_BUFFERS;
        nsfPrm.inputFrameRate  = 60;
        nsfPrm.outputFrameRate = 30;
    
        // Setup Deinterlacer
        deiPrm.inQueParams.prevLinkId     = gVcapModuleContext.captureId;
        deiPrm.inQueParams.prevLinkQueId  = 1; // Second VIP instance ID
    
        // Set Output Scaling at DEI based on ratio
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].scaleMode = DEI_SCALE_MODE_RATIO;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.numerator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.widthRatio.denominator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.numerator = 1;
        deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0].ratio.heightRatio.denominator = 1;
        for (i=1; i < DEI_LINK_MAX_CH; i++)
            deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][i] = deiPrm.outScaleFactor[DEI_LINK_OUT_QUE_VIP_SC][0];
    
        deiPrm.enableOut[DEI_LINK_OUT_QUE_DEI_SC]                       = FALSE;
        deiPrm.enableOut[DEI_LINK_OUT_QUE_VIP_SC]                       = TRUE;
        deiPrm.enableOut[DEI_LINK_OUT_QUE_VIP_SC_SECONDARY_OUT]         = FALSE;
    
        deiPrm.outQueParams[DEI_LINK_OUT_QUE_VIP_SC].nextLink           = mergeId;
        deiPrm.tilerEnable[DEI_LINK_OUT_QUE_VIP_SC]                     = FALSE;
        deiPrm.comprEnable                                              = FALSE;
        deiPrm.setVipScYuv422Format                                     = FALSE;
        deiPrm.enableDeiForceBypass                                     = FALSE;
    
        // Merge XGA <from Capture> with 4D1 <from VIP-SC>
        mergePrm.inQueParams[0].prevLinkId        = gVcapModuleContext.nsfId[0];
        mergePrm.inQueParams[0].prevLinkQueId     = 0;
        mergePrm.inQueParams[1].prevLinkId        = gVcapModuleContext.deiId[0];
        mergePrm.inQueParams[1].prevLinkQueId     = DEI_LINK_OUT_QUE_VIP_SC;
        mergePrm.notifyNextLink                   = TRUE;
        mergePrm.numInQue                         = 2;
        mergePrm.outQueParams.nextLink            = ipcOutVpssId;
    
        // Setup IPC
        ipcOutVpssPrm.inQueParams.prevLinkId      = mergeId;
        ipcOutVpssPrm.inQueParams.prevLinkQueId   = 0;
    
        ipcOutVpssPrm.numOutQue                   = 1;
        ipcOutVpssPrm.outQueParams[0].nextLink    = ipcInVideoId;
        ipcOutVpssPrm.notifyNextLink              = TRUE;
        ipcOutVpssPrm.notifyPrevLink              = TRUE;
        ipcOutVpssPrm.noNotifyMode                = FALSE;
    
        ipcInVideoPrm.inQueParams.prevLinkId      = ipcOutVpssId;
        ipcInVideoPrm.inQueParams.prevLinkQueId   = 0;
        ipcInVideoPrm.numOutQue                   = 1;
        ipcInVideoPrm.outQueParams[0].nextLink    = gVencModuleContext.encId;
        ipcInVideoPrm.notifyNextLink              = TRUE;
        ipcInVideoPrm.notifyPrevLink              = TRUE;
        ipcInVideoPrm.noNotifyMode                = FALSE;
    
        // Setup Encoder Parameters
        encPrm.numBufPerCh[0] = NUM_ENCODE_XGA_BUFFERS;
        encPrm.numBufPerCh[1] = NUM_ENCODE_D1_BUFFERS;
    
        {
            EncLink_ChCreateParams *pLinkChPrm;
            EncLink_ChDynamicParams *pLinkDynPrm;
            VENC_CHN_DYNAMIC_PARAM_S *pDynPrm;
            VENC_CHN_PARAMS_S *pChPrm;
    
            // Primary Stream Params - D1
            for (i=0; i<gVencModuleContext.vencConfig.numPrimaryChn; i++)
            {
                pLinkChPrm  = &encPrm.chCreateParams[i];
                pLinkDynPrm = &pLinkChPrm->defaultDynamicParams;
    
                pChPrm      = &gVencModuleContext.vencConfig.encChannelParams[i];
                pDynPrm     = &pChPrm->dynamicParam;
    
                pLinkChPrm->format                  = IVIDEO_H264HP;
                pLinkChPrm->profile                 = gVencModuleContext.vencConfig.h264Profile[i];
                pLinkChPrm->dataLayout              = IVIDEO_FIELD_SEPARATED;
                pLinkChPrm->fieldMergeEncodeEnable  = FALSE;
                pLinkChPrm->enableAnalyticinfo      = pChPrm->enableAnalyticinfo;
                pLinkChPrm->enableWaterMarking      = pChPrm->enableWaterMarking;
                pLinkChPrm->maxBitRate              = pChPrm->maxBitRate;
                pLinkChPrm->encodingPreset          = pChPrm->encodingPreset;
                pLinkChPrm->rateControlPreset       = pChPrm->rcType;
                pLinkChPrm->enableSVCExtensionFlag  = pChPrm->enableSVCExtensionFlag;
                pLinkChPrm->numTemporalLayer        = pChPrm->numTemporalLayer;
    
                pLinkDynPrm->intraFrameInterval     = 30; //pDynPrm->intraFrameInterval;
                pLinkDynPrm->targetBitRate          = pDynPrm->targetBitRate;
                pLinkDynPrm->interFrameInterval     = 1;
                pLinkDynPrm->mvAccuracy             = IVIDENC2_MOTIONVECTOR_QUARTERPEL;
                pLinkDynPrm->inputFrameRate         = pDynPrm->inputFrameRate;
                pLinkDynPrm->rcAlg                  = pDynPrm->rcAlg;
                pLinkDynPrm->qpMin                  = pDynPrm->qpMin;
                pLinkDynPrm->qpMax                  = pDynPrm->qpMax;
                pLinkDynPrm->qpInit                 = pDynPrm->qpInit;
                pLinkDynPrm->vbrDuration            = pDynPrm->vbrDuration;
                pLinkDynPrm->vbrSensitivity         = pDynPrm->vbrSensitivity;
            }
    
            encPrm.inQueParams.prevLinkId    = ipcInVideoId;
            encPrm.inQueParams.prevLinkQueId = 0;
            encPrm.outQueParams.nextLink     = gVencModuleContext.ipcBitsOutRTOSId;
        }
    
        ipcBitsOutVideoPrm.baseCreateParams.inQueParams.prevLinkId    = gVencModuleContext.encId;
        ipcBitsOutVideoPrm.baseCreateParams.inQueParams.prevLinkQueId = 0;
        ipcBitsOutVideoPrm.baseCreateParams.numOutQue                 = 1;
        ipcBitsOutVideoPrm.baseCreateParams.outQueParams[0].nextLink  = gVencModuleContext.ipcBitsInHLOSId;
        MultiCh_ipcBitsInitCreateParams_BitsOutRTOS(&ipcBitsOutVideoPrm, TRUE);
    
        ipcBitsInHostPrm.baseCreateParams.inQueParams.prevLinkId      = gVencModuleContext.ipcBitsOutRTOSId;
        ipcBitsInHostPrm.baseCreateParams.inQueParams.prevLinkQueId   = 0;
        MultiCh_ipcBitsInitCreateParams_BitsInHLOS(&ipcBitsInHostPrm);
     
        // Create Links
        System_linkCreate (gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
        System_linkCreate(gVcapModuleContext.nsfId[0], &nsfPrm, sizeof(nsfPrm));
        System_linkCreate(gVcapModuleContext.deiId[0], &deiPrm, sizeof(deiPrm));
        System_linkCreate(mergeId, &mergePrm, sizeof(mergePrm));
        System_linkCreate(ipcOutVpssId, &ipcOutVpssPrm, sizeof(ipcOutVpssPrm));
        System_linkCreate(ipcInVideoId, &ipcInVideoPrm, sizeof(ipcInVideoPrm));
        System_linkCreate(gVencModuleContext.encId, &encPrm, sizeof(encPrm));
        System_linkCreate(gVencModuleContext.ipcBitsOutRTOSId, &ipcBitsOutVideoPrm, sizeof(ipcBitsOutVideoPrm));
        System_linkCreate(gVencModuleContext.ipcBitsInHLOSId, &ipcBitsInHostPrm, sizeof(ipcBitsInHostPrm));
    
        // Print Out Information
        System_linkGetInfo(gVencModuleContext.ipcBitsInHLOSId,&bitsProducerLinkInfo);
        OSA_assert(bitsProducerLinkInfo.numQue == 1);
    
        printf ("\n\nbitsProducerLinkInfo\n");
        printf ("numQ %d, numCh %d\n",
                        bitsProducerLinkInfo.numQue,
                        bitsProducerLinkInfo.queInfo[0].numCh);
        for (i=0; i<bitsProducerLinkInfo.queInfo[0].numCh; i++)
        {
            printf ("Ch [%d] Width %d, Height %d\n",
                i,
                bitsProducerLinkInfo.queInfo[0].chInfo[i].width,
                bitsProducerLinkInfo.queInfo[0].chInfo[i].height);
        }
    
        if (bitsProducerLinkInfo.queInfo[0].numCh > gVencModuleContext.vencConfig.numPrimaryChn)
        {
            bitsProducerLinkInfo.queInfo[0].numCh = gVencModuleContext.vencConfig.numPrimaryChn;
        }
    
        printf ("Reducing bitsProducerLinkInfo.numCh to %d\n", bitsProducerLinkInfo.queInfo[0].numCh);
        return;
    }
    
    

    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
    amixer: Control default open error: No such file or directory
    
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.10.02.17
    SysLink module created on Date:Nov 14 2012 Time:14:35:31
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
    
    /opt/dvr_rdk/ti814x
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]
     [m3vpss ]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3vpss ]
     [m3vpss ]  54: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  54: SYSTEM: IPC init in progress !!!
     [m3vpss ]  54: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1053: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1055: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  1056: SYSTEM: Attaching to [DSP] ...
    After Ipc_startcallback status [0x097d2000]
    Attached to slave procId 1.
    Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
    Started slave procId 1.
    After Ipc_loadcallback status [0x00000000]
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ]  2055: SYSTEM: Attaching to [DSP] ...
     [m3video]
     [m3video]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3video]
     [m3video]  1274: SYSTEM  : System Common Init in progress !!!
     [m3video]  1274: SYSTEM: IPC init in progress !!!
     [m3video]  1275: SYSTEM: Attaching to [HOST] ...
     [m3video]  2274: SYSTEM: Attaching to [HOST] ...
     [m3video]  2277: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3video]  2277: SYSTEM: Attaching to [DSP] ...
    After Ipc_startcallback status [0x00000000]
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 750000000
     [m3video]  3276: SYSTEM: Attaching to [DSP] ...
     [m3vpss ]  3055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]
     [c6xdsp ]  *** UTILS: CPU KHz = 750000 Khz ***
     [c6xdsp ]
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1000: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1003: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  1003: SYSTEM: Attaching to [VIDEO-M3] ...
    After Ipc_startcallback status [0x00000000]
    DMA: Module install successful, device major num = 251
    DRV: Module install successful
    DRV: Module built on Nov 14 2012 14:41:27
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  4055: SYSTEM: Attaching to [DSP] ...
     [m3video]  4276: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2002: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3vpss ]  5055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2831: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  5276: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2831: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  5277: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  5277: SYSTEM: Attaching to [VPSS-M3] ...
     [m3vpss ]  6055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  3830: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  6276: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  4609: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  7055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  4609: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  7056: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  7056: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  7276: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  5609: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8056: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  8055: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  8056: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  8056: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  8057: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  8056: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8057: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  8057: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  8059: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [m3vpss ]  8057: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [m3video]  8059: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [m3video]  8059: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     [m3video]  8059: SYSTEM: IPC init DONE !!!
     [m3vpss ]  8059: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: IPC init DONE !!!
     [m3video]  8068: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [m3vpss ]  8067: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [m3video]  8068: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [m3vpss ]  8068: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [m3video]  8070: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  8070: SYSTEM  : System Common Init Done !!!
     [m3video]  8070: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  8070: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  8070: SYSTEM  : System Video Init Done !!!
     [m3video]  8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  8071: SYSTEM: ListElem Shared Addr = 0xbf08b680
     [m3video]  8073: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  8074: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  8074: SYSTEM: ListElem Shared Addr = 0xbf08eb80
     [m3video]  8080: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
     [m3video]  8080: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
     [m3video]  8080: SYSTEM: ListElem Shared Addr = 0xbf092080
     [m3video]  8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
     [m3vpss ]  8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  8083: SYSTEM: ListElem Shared Addr = 0xbf0b1a80
     [m3vpss ]  8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  8086: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ]  8088: SYSTEM: ListElem Shared Addr = 0xbf0f0e80
     [m3video]  8086: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
     [m3vpss ]  8091: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  8086: SYSTEM: ListElem Shared Addr = 0xbf0d1480
     [m3vpss ]  8091: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3vpss ]  8091: SYSTEM: ListElem Shared Addr = 0xbf0f4380
     [m3video]  8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
     [m3video]  8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
     [m3video]  8099: SYSTEM: ListElem Shared Addr = 0xbf0f7880
     [m3video]  8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
     [m3video]  8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
     [m3video]  8101: SYSTEM: ListElem Shared Addr = 0xbf115380
     [m3video]  8103: HDVICP: Doing PRCM for IVAHD[0] ...
     [m3vpss ]  8104: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
     [m3video]  8104: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  8104: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
     [m3video]  8104: SYSTEM  : Initializing Links !!!
     [m3vpss ]  8104: SYSTEM: ListElem Shared Addr = 0xbf132e80
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
     [m3video]  8104: SYSTEM  : FREE SPACE : System Heap      = 6280328 B, Mbx = 10240 msgs)
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
     [m3vpss ]  8108: SYSTEM: ListElem Shared Addr = 0xbf152880
     [m3video]  8104: SYSTEM  : FREE SPACE : SR0 Heap         = 7789952 B (7 MB)
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
     [m3video]  8105: SYSTEM  : FREE SPACE : Frame Buffer     = 192937856 B (183 MB)
     [m3vpss ]  8110: SYSTEM: ListElem Shared Addr = 0xbf172280
     [m3vpss ]  8112: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3video]  8105: SYSTEM  : FREE SPACE : Bitstream Buffer = 88080256 B (83 MB)
     [m3vpss ]  8112: SYSTEM  : FVID2 Init in progress !!!
     [m3vpss ]  8171: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3video]  8105: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ]  8171: SYSTEM  : Device Init in progress !!!
     [m3video]  8113: SYSTEM  : FREE SPACE : Tiler 8-bit      = 38797312 B (37 MB)  - TILER ON
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3video]  8113: SYSTEM  : FREE SPACE : Tiler 16-bit     = 18874368 B (18 MB)  - TILER ON
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3video]  8138: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  8262: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ]  8403: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  8404: UTILS: DMA: HWI Create for INT63 !!!
     [m3vpss ]  8404: SYSTEM  : Initializing Links !!!
     [m3vpss ]  8404: SYSTEM  : FREE SPACE : System Heap      = 189312 B, Mbx = 10240 msgs)
     [m3vpss ]  8404: SYSTEM  : FREE SPACE : SR0 Heap         = 7530880 B (7 MB)
     [m3vpss ]  8404: SYSTEM  : FREE SPACE : Frame Buffer     = 188627840 B (179 MB)
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : Bitstream Buffer = 88080256 B (83 MB)
     [m3vpss ] Received character 's'
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : Tiler 8-bit      = 38797312 B (37 MB)  - TILER ON
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 's'
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : Tiler 16-bit     = 18874368 B (18 MB)  - TILER ON
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  8494: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  8494: SYSTEM  : Set Static L3 pressure for HDVPSS as High
     [c6xdsp ]  6609: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [c6xdsp ]  6610: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [c6xdsp ]  6610: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [c6xdsp ]  6610: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [c6xdsp ]  6610: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     [c6xdsp ]  6610: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [c6xdsp ]  6610: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  6613: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [c6xdsp ]  6613: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [c6xdsp ]  6613: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  6612: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  6613: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  6617: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
     [c6xdsp ]  6617: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
     [c6xdsp ]  6617: SYSTEM: ListElem Shared Addr = 0xbf191c80
     [c6xdsp ]  6618: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
     [c6xdsp ]  6618: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
     [c6xdsp ]  6618: SYSTEM: ListElem Shared Addr = 0xbf1b1680
     [c6xdsp ]  6619: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
     [c6xdsp ]  6619: SYSTEM: CreatingHDMI W1 rev 4.0
     ListMP [DSP_IPC_IN_21] in region 0 ...
     [c6xdsp ]  6619: SYSTEM: ListElem Shared Addr = 0xbf1d1080
     [c6xdsp ]  6620: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  6620: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  6620: SYSTEM: ListElem Shared Addr = 0xbf1f0a80
     [c6xdsp ]  6621: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  6621: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  6621: SYSTEM: ListElem Shared Addr = 0xbf20e580
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  6621: SYSTEM  : Initializing Links !!!
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti814x
     [c6xdsp ]  6622: SYSTEM  : FREE SPACE : System Heap      = 6270752 B, Mbx = 10240 msgs)
     [c6xdsp ]  6633: SYSTEM  : Initializing Links ... DONE !!!
     [c6xdsp ]  6633: SYSTEM  : System DSP Init Done !!!
    E-EDID checksum failed!! ## Interface is 1 [0:DVI, 1:HDMI]
    
     ORG 0x46c00524: 0
     NEW 0x46c00524: 2
    
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     9: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     10: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     12: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     13: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     13: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     14: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     14: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     15: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     15: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     15: SYSTEM: IPC init DONE !!!
     16: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     18: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     19: SYSTEM: ListElem Shared Addr = 0x415de080
     20: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     22: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     23: SYSTEM: ListElem Shared Addr = 0x415fbb80
     24: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     26: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     27: SYSTEM: ListElem Shared Addr = 0x41619680
     28: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     30: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     31: SYSTEM: ListElem Shared Addr = 0x41639080
     32: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     34: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     35: SYSTEM: ListElem Shared Addr = 0x41658a80
     54: SYSTEM: System Common Init Done !!!
    
     [host] Entered ipcBitsSendFxnVMGR: End of ipcBitsInit
    
    Entered new usecase 1HD + 4SD <8148> Enc OSD Disable SCD Disabled
    
     115: MCFW  : CPU Revision [ES2.1] !!!
     115: MCFW  : Detected [UNKNOWN] Board !!!
     115: MCFW  : Base Board Revision [REV A] !!!
     [m3vpss ]  11181: CAPTURE: Create in progress !!!
     [m3vpss ]  11213: CAPTURE: Other decoder found !!!
     [m3vpss ]  11214: CAPTURE: Choosing the default RIGHT config !!!
     [m3vpss ]  11214: CAPTURE: This is the correct format !!!
     [m3vpss ]  11214: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Non-mux Discrete Sync - HSYNC_VSYNC] !!!
     [m3vpss ]  11284: CAPTURE: 5158 decoder found !!!
     [m3vpss ]  11284: CAPTURE: VIP0 PortB capture mode is [ 8-bit, Pixel-mux Embedded Sync] !!!
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3vpss ] CAPTURE::HEAPID:0    USED:752
     [m3vpss ] CAPTURE::HEAPID:4    USED:30296064
     [m3vpss ]  11361: CAPTURE: Create Done !!!
     [m3vpss ]  11361: NSF: Create in progress !!!
     [m3vpss ] NSF::HEAPID:0        USED:128
     [m3vpss ] NSF::HEAPID:1        USED:4928
     [m3vpss ] NSF::HEAPID:4        USED:4718592
     [m3vpss ]  11389: NSF: Create Done !!!
     [m3vpss ]  11389: DEI    : Create in progress !!!
     [m3vpss ]  11443: DEI     : Loading Up-scaling Co-effs
     [m3vpss ]  11443: DEI     : Co-effs Loading ... DONE !!!
     [m3video]  11447: IPC_IN_M3   : Create in progress !!!
     [m3video]  11448: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ] DEI:HEAPID:0 USED:64
     [m3video]  11448: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3vpss ] DEI:HEAPID:1 USED:9600
     [m3video]  11451: IPC_IN_M3   : Create Done !!!
     [m3vpss ] DEI:HEAPID:4 USED:9000960
     [m3video]  11451: ENCODE: Create in progress ... !!!
     [m3vpss ]  11443: DEI    : Create Done !!!
     [m3vpss ]  11445: MERGE   : Create Done !!!
     [m3vpss ]  11445: IPC_OUT_M3   : Create in progress !!!
     [m3vpss ]  11446: IPC_OUT_M3   : Create Done !!!
     [m3video]  11502: ENCODE: Creating CH0 of 1024 x 768, pitch = (1024, 1024) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:13808
     [m3video] ENCLINK_H264:HEAPID:3        USED:2932736
     [m3video]  11520: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
    
     [host] IpcBitsInLink_tskMain:Entered
     [host]  498: IPC_BITS_IN   : Create in progress !!!
    
     [host]  498: IPC_BITS_IN   : ListMPOpen start !!!
    
     [host]  498: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
     500: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...
    
     [host]  501: IPC_BITS_IN   : ListMPOpen done !!!
    
     [host]  503: IPC_BITS_IN   : System_linkGetInfo done !!!
    
     [host]  503: IPC_BITS_IN   : Create Done !!!
    
    
    bitsProducerLinkInfo
    numQ 1, numCh 5
    Ch [0] Width 1024, Height 768
    Ch [1] Width 720, Height 480
    Ch [2] Width 720, Height 480
    Ch [3] Width 720, Height 480
    Ch [4] Width 720, Height 480
    Reducing bitsProducerLinkInfo.numCh to 5
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11529: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3vpss ]  11570: CAPTURE: Start in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3vpss ]  11570: CAPTURE: Start Done !!!
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11539: ENCODE: Creating CH3 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11548: ENCODE: Creating CH4 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11558: ENCODE: All CH Create ... DONE !!!
     [m3video] ENCLINK:HEAPID:0     USED:61496
     [m3video] ENCLINK:HEAPID:2     USED:9123840
     [m3video] ENCLINK:HEAPID:3     USED:8978432
     [m3video]  11559: ENCODE: Create ... DONE !!!
     [m3video]  11559: IPC_BITS_OUT   : Create in progress !!!
     [m3video]  11562: IPC_BITS_OUT   : Create Done !!!
    
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     [m3vpss ]
     [m3vpss ]  *** Capture Driver Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  *** [NSF0] NSF Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 30 secs
     [m3vpss ]  Total Fields Processed : 900
     [m3vpss ]  Total Fields FPS       : 250 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out User Out Out
     [m3vpss ]  Num | FPS     FPS       FPS        FPS Skip FPS Skip FPS
     [m3vpss ]  ------------------------------------------------
     [m3vpss ]    0 |      59        29         30  30       29        0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |    1800    1800       0     60    60     0 1344 / 1344  806 /  806       1          0 0/0 (0/0)
     [m3vpss ]  100 |    1798     900     898     59    30    29  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  101 |    1500     750     750     50    25    25  720 /  720  288 /  288       1          0 0/0 (0/0)
     [m3vpss ]  102 |    1798     900     898     59    30    29  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  103 |    1798     900     898     59    30    29  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 1 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]
     [m3vpss ]  *** Capture List Manager Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  List Post Count        : 7503
     [m3vpss ]  List Stall Count       : 0
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 986, 1000)
     [m3vpss ]  Descriptor miss found count : 0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP and VPDMA registers,
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x0000d400
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00000000
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  41694: CAPTURE: Fields = 8686 (fps = 289, CPU Load = 0)
     [m3vpss ]  41694: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  41695: SYSTEM  : FREE SPACE : System Heap      = 183200 B, Mbx = 10240 msgs)
     [m3vpss ]  41695: SYSTEM  : FREE SPACE : SR0 Heap         = 4450048 B (4 MB)
     [m3vpss ]  41695: SYSTEM  : FREE SPACE : Frame Buffer     = 135633792 B (129 MB)
     [m3vpss ]  41695: SYSTEM  : FREE SPACE : Bitstream Buffer = 78956416 B (75 MB)
     [m3vpss ]  41696: SYSTEM  : FREE SPACE : Tiler Buffer     = 55 B (0 MB)  - TILER OFF
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 32 secs
     [m3vpss ]  Total Fields Processed : 7346
     [m3vpss ]  Total Fields FPS       : 575 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   3 /   8
     [m3vpss ]    1 |      49         0         49      0     49      0      0      0          49           0           0           0           0           0           0           0           0           0   2 /   8
     [m3vpss ]    2 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   5 /   7
     [m3vpss ]    3 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   5 /   7
     [m3vpss ]
     [m3video]      47694: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :4 %
     [m3video]               totalWait2Isr :81 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :81 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :88 %
     [m3video]               totalAcq2acqDelay :11 %
     [m3video]               totalElapsedTime in msec :     118
     [m3video]               numAccessCnt:     168
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:     568
     [m3video]      47695: HDVICP-ID:1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]      47696: HDVICP-ID:2
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]
     [m3video]  *** ENCODE Statistics ***
     [m3video]
     [m3video]  Elasped Time           : 35 secs
     [m3video]
     [m3video]
     [m3video]  CH  | In Recv In Skip In User  Out Latency
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      30      30        0   0 255 /   0
     [m3video]    1 |      61      61        0   0 255 /   0
     [m3video]    2 |      51      51        0   0 255 /   0
     [m3video]    3 |      61      61        0   0 255 /   0
     [m3video]    4 |      61      61        0   0 255 /   0
     [m3video]
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 0
     [m3video] IVAHD_0 Max achieved Batch Size : 0
     [m3video]
     [m3video] Multi Channel Encode Batch break Stats
     [m3video] Total Number of Batches created: 0
     [m3video] All numbers are based off total number of Batches created
     [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
     [m3video]       Batch breaks due to ReqObj Que being empty: 0 %
     [m3video]       Batch breaks due to changed resolution class: 0 %
     [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
     [m3video]       Batch breaks due to channel repeat: 0 %
     [m3video]       Batch breaks due to different codec: 0 %
     [m3vpss ]
     [m3vpss ]  49700: LOAD: CPU: 14.5% HWI: 1.7%, SWI:1.4%
     [m3vpss ]
     [m3vpss ]  49700: LOAD: TSK: IPC_OUT_M30         : 2.3%
     [m3vpss ]  49701: LOAD: TSK: CAPTURE             : 1.1%
     [m3vpss ]  49701: LOAD: TSK: NSF0                : 0.8%
     [m3vpss ]  49701: LOAD: TSK: DEI2                : 3.5%
     [m3vpss ]  49701: LOAD: TSK: MERGE0              : 0.5%
     [m3vpss ]  49701: LOAD: TSK: MISC                : 3.2%
     [m3vpss ]
     [m3video]
     [m3video]  50202: LOAD: CPU: 5.0% HWI: 0.9%, SWI:0.7%
     [m3video]
     [m3video]  50202: LOAD: TSK: IPC_IN_M30          : 0.8%
     [m3video]  50202: LOAD: TSK: IPC_BITS_OUT0       : 0.3%
     [m3video]  50203: LOAD: TSK: ENC0                : 1.9%
     [m3video]  50203: LOAD: TSK: MISC                : 0.4%
     [m3video]
     [c6xdsp ]
     [c6xdsp ]  48257: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0%
     [c6xdsp ]
     [c6xdsp ]  48257: LOAD: TSK: MISC                : 0.2%
     [c6xdsp ]
    
    
    
    
    
    < - - - 30 second wait - - - >
    
    
    
    
    
     [m3vpss ]
     [m3vpss ]  *** Capture Driver Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  *** [NSF0] NSF Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 39 secs
     [m3vpss ]  Total Fields Processed : 2085
     [m3vpss ]  Total Fields FPS       : 250 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out User Out Out
     [m3vpss ]  Num | FPS     FPS       FPS        FPS Skip FPS Skip FPS
     [m3vpss ]  ------------------------------------------------
     [m3vpss ]    0 |      60        30         30  30       30        0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |    4171    4171       0     60    60     0 1344 / 1344  806 /  806       1          0 0/0 (0/0)
     [m3vpss ]  100 |    4166    2084    2082     60    30    30  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  101 |    3476    1738    1738     50    25    25  720 /  720  288 /  288       1          0 0/0 (0/0)
     [m3vpss ]  102 |    4166    2084    2082     60    30    30  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  103 |    4166    2084    2082     60    30    30  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 1 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]
     [m3vpss ]  *** Capture List Manager Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  List Post Count        : 17383
     [m3vpss ]  List Stall Count       : 0
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 986, 1000)
     [m3vpss ]  Descriptor miss found count : 0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP and VPDMA registers,
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x0000d400
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00000000
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  81210: CAPTURE: Fields = 20140 (fps = 289, CPU Load = 0)
     [m3vpss ]  81211: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  81211: SYSTEM  : FREE SPACE : System Heap      = 183200 B, Mbx = 10240 msgs)
     [m3vpss ]  81211: SYSTEM  : FREE SPACE : SR0 Heap         = 4450048 B (4 MB)
     [m3vpss ]  81211: SYSTEM  : FREE SPACE : Frame Buffer     = 135633792 B (129 MB)
     [m3vpss ]  81211: SYSTEM  : FREE SPACE : Bitstream Buffer = 78956416 B (75 MB)
     [m3vpss ]  81212: SYSTEM  : FREE SPACE : Tiler Buffer     = 55 B (0 MB)  - TILER OFF
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 39 secs
     [m3vpss ]  Total Fields Processed : 16429
     [m3vpss ]  Total Fields FPS       : 575 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      60         0         60      0     60      0      0      0          60           0           0           0           0           0           0           0           0           0   5 /  12
     [m3vpss ]    1 |      50         0         50      0     50      0      0      0          50           0           0           0           0           0           0           0           0           0   2 /  12
     [m3vpss ]    2 |      60         0         60      0     60      0      0      0          60           0           0           0           0           0           0           0           0           0   5 /  12
     [m3vpss ]    3 |      60         0         60      0     60      0      0      0          60           0           0           0           0           0           0           0           0           0   3 /  12
     [m3vpss ]
     [m3video]      87212: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :4 %
     [m3video]               totalWait2Isr :81 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :81 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :88 %
     [m3video]               totalAcq2acqDelay :11 %
     [m3video]               totalElapsedTime in msec :     118
    
    
     

  • Hi Jason,

     

    Looks like The component next to DEI is holding up the buffers, so DEI is running out of output frames, that's why it is skipping frames, please check which link is holding up the buffers?

     

    Rgds,

    Brijesh

  • Encoder is dropping frames due to lack of output buffers,

    This could be because application is not returning buffers back to ipcBitsInLink on A8 or some issue causing HDVICP hang.

    To check if it is HDVICP hang you can try stopping the usecase and see if you are able to successfully delete the encLink. Another way to check HDVICP hang is mentioned in this post: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/282354/1076720.aspx#1076720

    Also share logs of Vsys_printBufferStatistics when you see the issue.

     

  • Hi Badri / Brijesh,

    You both are correct in that the buffers weren't being freed! I'm trying to figure out why though. Is it possible that because I'm no longer looping frames back to the decoder in the A8 it's messing up the queues?

    I've tried to simplify the initialization for the demo code to isolate the issue (attached as init.c). The issue seems to be in the ipcBitsProcessFullBufs function of the ipc rd wr module. Specifically the call to OSA_queGet(). It never returns. I've attached the output of the buffer statistics when this happens (output_2.txt).

    As an experiment I skipped the buffer copying and file write routines. So basically the function got the buffer from the encoder and then released it immediately. What I see is the frames appear to make their way through! At least the statistics show they do (attached as output_3.txt). Have you come accross this behavior of being stuck wiating on the queue? I couldn't find anything specific in the forums.

    Thanks as always for your help!

    Jason

    Void VcapVencVdecVdis_start( Bool doProgressiveVenc, Bool enableSecondaryOut, int demoId)
    {
      VSYS_PARAMS_S vsysParams;
      VCAP_PARAMS_S vcapParams;
      VENC_PARAMS_S vencParams;
      VDEC_PARAMS_S vdecParams;
      VDIS_PARAMS_S vdisParams;
      UInt64 wallTimeBase;
      VENC_CHN_DYNAMIC_PARAM_S params = { 0 };
      BOOL enableFWrite               = FALSE;
      BOOL enableLayerWrite           = FALSE;
    
      Vsys_params_init(&vsysParams);
      Vcap_params_init(&vcapParams);
      Venc_params_init(&vencParams);
      Vdec_params_init(&vdecParams);
      Vdis_params_init(&vdisParams);
    
      resolutions[0].width   = 1024;
      resolutions[0].height  = 768;
      resolutions[1].width   = 720;
      resolutions[1].height  = 480;
    
      vcapParams.numChn           = 5;
      vencParams.numPrimaryChn    = 5;
      vencParams.numSecondaryChn  = 0;
      vdecParams.numChn           = 0;
      vdisParams.numChannels      = 0;
      vsysParams.numChs           = 5;
    
      vsysParams.systemUseCase      = VSYS_USECASE_MULTICHN_PROGRESSIVE_VCAP_VDIS_VENC_VDEC;
      vsysParams.enableSecondaryOut = TRUE;
      vsysParams.enableMjpegEnc     = FALSE;
      vsysParams.enableNsf          = FALSE;
      vsysParams.enableCapture      = TRUE;
      vsysParams.enableNullSrc      = FALSE;
      vsysParams.enableOsd          = FALSE;
      vsysParams.osdFormat          = FALSE;
    
      vsysParams.numDeis       = 1;
      vsysParams.numSwMs       = 0;
      vsysParams.numDisplays   = 0;
      vsysParams.enableAVsync  = TRUE;
      vsysParams.enableScd     = FALSE;
    
      Vsys_enableFastUsecaseSwitch(FALSE);
    
      // Initialize system parameters
      Vsys_init(&vsysParams);
      vcapParams.enableConfigExtVideoDecoder  = FALSE;
      vdisParams.enableConfigExtThsFilter     = FALSE;
    
      // Initialize capture parameters
      Vcap_init(&vcapParams);
    
      vencParams.encChannelParams[0].enableAnalyticinfo = h264ChnParams.enableAnalyticinfo;
      vencParams.encChannelParams[0].maxBitRate         = h264ChnParams.maxBitRate;
      vencParams.encChannelParams[0].enableWaterMarking = h264ChnParams.enableWaterMarking;
    
      // Note:Specific for h264 Encoder: Enabling this flag adds svc enxtension
      // header to the stream, not all decoders are generally able to play back 
      // such a stream. Needs to be enabled to IH264_SVC_EXTENSION_FLAG_ENABLE for 
      // the svc extension headers to be present in the stream
      // Note: This flag needs to be enabled for the temporalId to be parsed
      // out from the stream.
      vencParams.encChannelParams[0].rcType           = h264ChnParams.rcType;
      vencParams.encChannelParams[0].numTemporalLayer = h264ChnParams.numTemporalLayer;
      vencParams.encChannelParams[0].enableSVCExtensionFlag =
                                         h264ChnParams.enableSVCExtensionFlag;
      /* Setup H264 Profile */
      vencParams.h264Profile[0] = h264Profile;
    
      // Initialize encoder
      Venc_init(&vencParams);
    
      // Initialize decoder
      Vdec_init(&vdecParams);
    
      // Initialize dispaly
      vdisParams.deviceParams[VDIS_DEV_HDMI].resolution   = VSYS_STD_1080P_60;
      vdisParams.deviceParams[VDIS_DEV_HDCOMP].resolution = VSYS_STD_1080P_60;
      Vdis_tiedVencInit(VDIS_DEV_HDCOMP, VDIS_DEV_DVO2, &vdisParams);
    
      vdisParams.deviceParams[VDIS_DEV_SD].resolution     = VSYS_STD_NTSC;
    
      vdisParams.enableLayoutGridDraw = FALSE;
    
      vdisParams.mosaicParams[VDIS_DEV_HDMI].userSetDefaultSWMLayout  = TRUE;
      vdisParams.mosaicParams[VDIS_DEV_SD].userSetDefaultSWMLayout    = TRUE;
      Vdis_init(&vdisParams);
    
      enableFWrite = FALSE;
    
      // h264 Enc: Needs to be checked for any channel where this flag is enabled,
      // right now just checking for channel 0, default value for other codecs is 0
      if(vencParams.encChannelParams[0].enableSVCExtensionFlag > 0)
          enableLayerWrite = TRUE;
    
      ipcBitsInit(resolutions, FALSE, TRUE);
    
      wallTimeBase = GetMsecs();
      Vdis_setWallTimeBase(wallTimeBase);
    
      // Configure display in order to start grpx before video
      Vsys_configureDisplay();
    
      // Create Link instances and connects compoent blocks
      Vsys_create();
    
      // TODO: See if the function below is actually neccessary. 
      //Demo_blindAreaInit(0,vsysParams.systemUseCase);
    
      // Start components in reverse order
      Vdis_start();
      Vdec_start();
      Venc_start();
      Vcap_start();
    
      return;
    }
    
    

    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
    amixer: Control default open error: No such file or directory
    
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.10.02.17
    SysLink module created on Date:Nov 14 2012 Time:14:35:31
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
    
    /opt/dvr_rdk/ti814x
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]
     [m3vpss ]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3vpss ]
     [m3vpss ]  54: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  54: SYSTEM: IPC init in progress !!!
     [m3vpss ]  54: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1053: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1055: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  1056: SYSTEM: Attaching to [DSP] ...
    After Ipc_startcallback status [0x097d2000]
    Attached to slave procId 1.
    Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
    Started slave procId 1.
    After Ipc_loadcallback status [0x00000000]
    After Ipc_startcallback status [0x00000000]
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ]  2055: SYSTEM: Attaching to [DSP] ...
     [m3video]
     [m3video]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3video]
     [m3video]  1341: SYSTEM  : System Common Init in progress !!!
     [m3video]  1341: SYSTEM: IPC init in progress !!!
     [m3video]  1341: SYSTEM: Attaching to [HOST] ...
     [m3video]  2341: SYSTEM: Attaching to [HOST] ...
     [m3video]  2344: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3video]  2344: SYSTEM: Attaching to [DSP] ...
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 750000000
     [m3video]  3343: SYSTEM: Attaching to [DSP] ...
     [m3vpss ]  3055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]
     [c6xdsp ]  *** UTILS: CPU KHz = 750000 Khz ***
     [c6xdsp ]
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1000: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1003: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [c6xdsp ]  1003: SYSTEM: Attaching to [VIDEO-M3] ...
    After Ipc_startcallback status [0x000000DMA: Module install successful, device major num = 251
    00]
    DRV: Module install successful
    DRV: Module built on Nov 14 2012 14:41:27
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  4055: SYSTEM: Attaching to [DSP] ...
     [m3video]  4343: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2002: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3vpss ]  5055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2834: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  5343: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2834: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  5344: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  5344: SYSTEM: Attaching to [VPSS-M3] ...
     [m3vpss ]  6055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  3833: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  6343: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  4546: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  7055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  4546: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  7056: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  7056: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  7343: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  5545: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8056: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  8055: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  8056: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  8056: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  8057: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  8056: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8057: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  8057: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [m3video]  8059: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [m3vpss ]  8057: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [m3video]  8059: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [m3video]  8059: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     [m3video]  8059: SYSTEM: IPC init DONE !!!
     [m3vpss ]  8059: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: IPC init DONE !!!
     [m3video]  8068: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [m3vpss ]  8067: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [m3video]  8068: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [m3vpss ]  8068: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [m3video]  8070: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  8070: SYSTEM  : System Common Init Done !!!
     [m3video]  8070: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  8070: SYSTEM  : System VPSS Init in progress !!!
     [m3video]  8070: SYSTEM  : System Video Init Done !!!
     [m3video]  8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [m3video]  8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [m3video]  8071: SYSTEM: ListElem Shared Addr = 0xbf08b680
     [m3video]  8074: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [m3video]  8074: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [m3video]  8074: SYSTEM: ListElem Shared Addr = 0xbf08eb80
     [m3video]  8080: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
     [m3video]  8080: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
     [m3video]  8080: SYSTEM: ListElem Shared Addr = 0xbf092080
     [m3video]  8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
     [m3video]  8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
     [m3video]  8083: SYSTEM: ListElem Shared Addr = 0xbf0b1a80
     [m3video]  8086: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  8086: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
     [m3vpss ]  8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [m3video]  8086: SYSTEM: ListElem Shared Addr = 0xbf0d1480
     [m3vpss ]  8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3vpss ]  8088: SYSTEM: ListElem Shared Addr = 0xbf0f0e80
     [m3vpss ]  8091: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3vpss ]  8091: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3vpss ]  8091: SYSTEM: ListElem Shared Addr = 0xbf0f4380
     [m3video]  8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  8104: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
     [m3video]  8099: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  8104: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
     [m3video]  8099: SYSTEM: ListElem Shared Addr = 0xbf0f7880
     [m3vpss ]  8104: SYSTEM: ListElem Shared Addr = 0xbf132e80
     [m3video]  8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
     [m3video]  8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
     [m3video]  8102: SYSTEM: ListElem Shared Addr = 0xbf115380
     [m3video]  8103: HDVICP: Doing PRCM for IVAHD[0] ...
     [m3video]  8104: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3video]  8104: SYSTEM  : Initializing Links !!!
     [m3video]  8104: SYSTEM  : FREE SPACE : System Heap      = 6280328 B, Mbx = 10240 msgs)
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
     [m3video]  8105: SYSTEM  : FREE SPACE : SR0 Heap         = 7789952 B (7 MB)
     [m3vpss ]  8108: SYSTEM: ListElem Shared Addr = 0xbf152880
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
     [m3video]  8105: SYSTEM  : FREE SPACE : Frame Buffer     = 192937856 B (183 MB)
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
     [m3vpss ]  8110: SYSTEM: ListElem Shared Addr = 0xbf172280
     [m3video]  8105: SYSTEM  : FREE SPACE : Bitstream Buffer = 88080256 B (83 MB)
     [m3vpss ]  8112: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3vpss ]  8112: SYSTEM  : FVID2 Init in progress !!!
     [m3video]  8105: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ]  8171: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3video]  8113: SYSTEM  : FREE SPACE : Tiler 8-bit      = 38797312 B (37 MB)  - TILER ON
     [m3vpss ]  8171: SYSTEM  : Device Init in progress !!!
     [m3video]  8113: SYSTEM  : FREE SPACE : Tiler 16-bit     = 18874368 B (18 MB)  - TILER ON
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3video]  8138: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3vpss ]  8263: SYSTEM  : Device Init in progress DONE !!!
     [m3vpss ]  8404: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  8405: UTILS: DMA: HWI Create for INT63 !!!
     [m3vpss ]  8405: SYSTEM  : Initializing Links !!!
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : System Heap      = 189312 B, Mbx = 10240 msgs)
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : SR0 Heap         = 7530880 B (7 MB)
     [m3vpss ] Received character 's'
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : Frame Buffer     = 188627840 B (179 MB)
     [m3vpss ]  8406: SYSTEM  : FREE SPACE : Bitstream Buffer = 88080256 B (83 MB)
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 's'
     [m3vpss ]  8406: SYSTEM  : FREE SPACE : Tiler 8-bit      = 38797312 B (37 MB)  - TILER ON
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  8406: SYSTEM  : FREE SPACE : Tiler 16-bit     = 18874368 B (18 MB)  - TILER ON
     [m3vpss ]  8494: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  8495: SYSTEM  : Set Static L3 pressure for HDVPSS as High
     [c6xdsp ]  6545: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [c6xdsp ]  6546: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [c6xdsp ]  6546: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [c6xdsp ]  6546: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [c6xdsp ]  6546: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     [c6xdsp ]  6546: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [c6xdsp ]  6546: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  6549: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [c6xdsp ]  6549: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [c6xdsp ]  6549: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  6548: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  6549: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  6553: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
     [c6xdsp ]  6553: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
     [c6xdsp ]  6553: SYSTEM: ListElem Shared Addr = 0xbf191c80
     [c6xdsp ]  6554: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
     [c6xdsp ]  6554: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
     [c6xdsp ]  6554: SYSTEM: ListElem Shared Addr = 0xbf1b1680
     [c6xdsp ]  6555: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
     [c6xdsp ]  6555: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
     [c6xdsp ]  6555: SYSTEM: ListElem Shared Addr = 0xbf1d1080
     [c6xdsp ]HDMI W1 rev 4.0
      6556: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [c6xdsp ]  6556: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [c6xdsp ]  6556: SYSTEM: ListElem Shared Addr = 0xbf1f0a80
     [c6xdsp ]  6557: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [c6xdsp ]  6557: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [c6xdsp ]  6557: SYSTEM: ListElem Shared Addr = 0xbf20e580
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  6557: SYSTEM  : Initializing Links !!!
     [c6xdsp ]  6558: SYSTEM  : FREE SPACE : System Heap      = 6270752 B, Mbx = 10240 msgs)
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti814x
     [c6xdsp ]  6569: SYSTEM  : Initializing Links ... DONE !!!
     [c6xdsp ]  6569: SYSTEM  : System DSP Init Done !!!
    E-EDID checksum failed!! ## Interface is 1 [0:DVI, 1:HDMI]
    
     0: SYSTEM: System Common Init in progress !!!
     1: SYSTEM: IPC init in progress !!!
     9: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     10: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     12: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     13: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     13: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     14: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     14: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     15: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     15: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     15: SYSTEM: IPC init DONE !!!
     16: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     18: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     19: SYSTEM: ListElem Shared Addr = 0x415e6080
     20: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     22: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     23: SYSTEM: ListElem Shared Addr = 0x41603b80
     24: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     26: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     27: SYSTEM: ListElem Shared Addr = 0x41621680
     28: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     30: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     31: SYSTEM: ListElem Shared Addr = 0x41641080
     32: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     33: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     35: SYSTEM: ListElem Shared Addr = 0x41660a80
     54: SYSTEM: System Common Init Done !!!
    
     [host] Entered ipcBitsInit
    
     [host] Entered ResetAvgStatistics
    
     [host] Leaving ResetAvgStatistics
    
     [host] Entered ResetStatistics
    
     [host] Leaving ResetStatistics
    
     [host] Entered FreeBitBufInit
    
     [host] Leaving FreeBitBufInit
    
     [host] Entered ipcBitsInitDmaObj
    
     [host] Leaving ipcBitsInitDmaObj
    
     [host] Entered ipcBitsInitThrObj
    
     [host] Entered ipcBitsRecvFxn
    
     [host] Leaving ipcBitsInitThrObj
    
     [host] Leaving ipcBitsInit
    
    Entered new usecase 1HD + 4SD <8148> Enc OSD Disable SCD Disabled
    
     115: MCFW  : CPU Revision [ES2.1] !!!
     115: MCFW  : Detected [UNKNOWN] Board !!!
     116: MCFW  : Base Board Revision [REV A] !!!
     [m3vpss ]  11191: CAPTURE: Create in progress !!!
     [m3vpss ]  11224: CAPTURE: Other decoder found !!!
     [m3vpss ]  11225: CAPTURE: Choosing the default RIGHT config !!!
     [m3vpss ]  11225: CAPTURE: This is the correct format !!!
     [m3vpss ]  11225: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Non-mux Discrete Sync - ACTVID_VSYNC] with 1 chans !!!
     [m3vpss ]  11295: CAPTURE: 5158 decoder found !!!
     [m3vpss ]  11295: CAPTURE: VIP0 PortB capture mode is [ 8-bit, Pixel-mux Embedded Sync] with 4 chans !!!
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3vpss ] CAPTURE::HEAPID:0    USED:752
     [m3vpss ] CAPTURE::HEAPID:4    USED:30296064
     [m3vpss ]  11372: CAPTURE: Create Done !!!
     [m3vpss ]  11372: NSF: Create in progress !!!
     [m3vpss ] NSF::HEAPID:0        USED:128
     [m3vpss ] NSF::HEAPID:1        USED:4928
     [m3vpss ] NSF::HEAPID:4        USED:4718592
     [m3vpss ]  11400: NSF: Create Done !!!
     [m3vpss ]  11400: DEI    : Create in progress !!!
     [m3vpss ]  11454: DEI     : Loading Up-scaling Co-effs
     [m3vpss ]  11454: DEI     : Co-effs Loading ... DONE !!!
     [m3video]  11458: IPC_IN_M3   : Create in progress !!!
     [m3video]  11458: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ] DEI:HEAPID:0 USED:64
     [m3video]  11458: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3vpss ] DEI:HEAPID:1 USED:9600
     [m3video]  11461: IPC_IN_M3   : Create Done !!!
     [m3vpss ] DEI:HEAPID:4 USED:9000960
     [m3video]  11462: ENCODE: Create in progress ... !!!
     [m3vpss ]  11454: DEI    : Create Done !!!
     [m3vpss ]  11456: MERGE   : Create Done !!!
     [m3vpss ]  11456: IPC_OUT_M3   : Create in progress !!!
     [m3vpss ]  11457: IPC_OUT_M3   : Create Done !!!
     [m3video]  11512: ENCODE: Creating CH0 of 1024 x 768, pitch = (1024, 1024) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:13808
     [m3video] ENCLINK_H264:HEAPID:3        USED:2932736
     [m3video]  11530: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
    
     [host] IpcBitsInLink_tskMain:Entered
     [host]  499: IPC_BITS_IN   : Create in progress !!!
    
     [host]  499: IPC_BITS_IN   : ListMPOpen start !!!
    
     [host]  499: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
     501: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...
    
     [host]  502: IPC_BITS_IN   : ListMPOpen done !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11540: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
    
     [host]  504: IPC_BITS_IN   : System_linkGetInfo done !!!
    
     [host]  504: IPC_BITS_IN   : Create Done !!!
    
    
    bitsProducerLinkInfo
    numQ 1, numCh 5
    Ch [0] Width 1024, Height 768
    Ch [1] Width 720, Height 480
    Ch [2] Width 720, Height 480
    Ch [3] Width 720, Height 480
    Ch [4] Width 720, Height 480
    Reducing bitsProducerLinkInfo.numCh to 5
     [m3vpss ]  11581: CAPTURE: Start in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3vpss ]  11581: CAPTURE: Start Done !!!
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11549: ENCODE: Creating CH3 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11559: ENCODE: Creating CH4 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11569: ENCODE: All CH Create ... DONE !!!
     [m3video] ENCLINK:HEAPID:0     USED:61496
     [m3video] ENCLINK:HEAPID:2     USED:9123840
     [m3video] ENCLINK:HEAPID:3     USED:8978432
     [m3video]  11569: ENCODE: Create ... DONE !!!
     [m3video]  11570: IPC_BITS_OUT   : Create in progress !!!
     [m3video]  11572: IPC_BITS_OUT   : Create Done !!!
    
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
    
    
    < - - - Printing Detailed Statistics after 60s - - - >
    
     [m3vpss ]
     [m3vpss ]  *** Capture Driver Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  *** [NSF0] NSF Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 60 secs
     [m3vpss ]  Total Fields Processed : 1799
     [m3vpss ]  Total Fields FPS       : 250 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out User Out Out
     [m3vpss ]  Num | FPS     FPS       FPS        FPS Skip FPS Skip FPS
     [m3vpss ]  ------------------------------------------------
     [m3vpss ]    0 |      59        29         29  29       29        0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |    3600    3600       0     60    60     0 1024 / 1024  768 /  768       1          0 0/0 (0/0)
     [m3vpss ]  100 |    3596    1798    1798     59    29    29  720 /  720  243 /  244       1          0 0/0 (0/0)
     [m3vpss ]  101 |    3000    1500    1500     50    25    25  720 /  720  288 /  288       1          0 0/0 (0/0)
     [m3vpss ]  102 |    3596    1798    1798     59    29    29  720 /  720  243 /  244       1          0 0/0 (0/0)
     [m3vpss ]  103 |    3596    1798    1798     59    29    29  720 /  720  243 /  244       1          0 0/0 (0/0)
     [m3vpss ]
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 1 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]
     [m3vpss ]  *** Capture List Manager Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  List Post Count        : 15003
     [m3vpss ]  List Stall Count       : 0
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 981, 990)
     [m3vpss ]  Descriptor miss found count : 0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP and VPDMA registers,
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x0000d400
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00000000
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  71705: CAPTURE: Fields = 17382 (fps = 289, CPU Load = 0)
     [m3vpss ]  71705: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  71706: SYSTEM  : FREE SPACE : System Heap      = 183200 B, Mbx = 10240 msgs)
     [m3vpss ]  71706: SYSTEM  : FREE SPACE : SR0 Heap         = 4450048 B (4 MB)
     [m3vpss ]  71706: SYSTEM  : FREE SPACE : Frame Buffer     = 135633792 B (129 MB)
     [m3vpss ]  71706: SYSTEM  : FREE SPACE : Bitstream Buffer = 78956416 B (75 MB)
     [m3vpss ]  71707: SYSTEM  : FREE SPACE : Tiler Buffer     = 55 B (0 MB)  - TILER OFF
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 62 secs
     [m3vpss ]  Total Fields Processed : 14240
     [m3vpss ]  Total Fields FPS       : 575 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   3 /   8
     [m3vpss ]    1 |      49         0         49      0     49      0      0      0          49           0           0           0           0           0           0           0           0           0   2 /   8
     [m3vpss ]    2 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   5 /   8
     [m3vpss ]    3 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   5 /   7
     [m3vpss ]
     [m3video]      77705: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :3 %
     [m3video]               totalWait2Isr :80 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :80 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :85 %
     [m3video]               totalAcq2acqDelay :15 %
     [m3video]               totalElapsedTime in msec :     120
     [m3video]               numAccessCnt:     144
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:     666
     [m3video]      77706: HDVICP-ID:1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]      77707: HDVICP-ID:2
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]
     [m3video]  *** ENCODE Statistics ***
     [m3video]
     [m3video]  Elasped Time           : 65 secs
     [m3video]
     [m3video]
     [m3video]  CH  | In Recv In Skip In User  Out Latency
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      30      30        0   0 255 /   0
     [m3video]    1 |      60      60        0   0 255 /   0
     [m3video]    2 |      50      50        0   0 255 /   0
     [m3video]    3 |      60      60        0   0 255 /   0
     [m3video]    4 |      60      60        0   0 255 /   0
     [m3video]
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 0
     [m3video] IVAHD_0 Max achieved Batch Size : 0
     [m3video]
     [m3video] Multi Channel Encode Batch break Stats
     [m3video] Total Number of Batches created: 0
     [m3video] All numbers are based off total number of Batches created
     [m3video]       Batch breaks due to batch sizeexceeding limit: 0 %
     [m3video]       Batch breaks due to ReqObj Que being empty: 0 %
     [m3video]       Batch breaks due to changed resolution class: 0 %
     [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
     [m3video]       Batch breaks due to channel repeat: 0 %
     [m3video]       Batch breaks due to different codec: 0 %
     [m3vpss ]
     [m3vpss ]  79712: LOAD: CPU: 14.6% HWI: 1.8%, SWI:1.5%
     [m3vpss ]
     [m3vpss ]  79713: LOAD: TSK: IPC_OUT_M30         : 2.3%
     [m3vpss ]  79713: LOAD: TSK: CAPTURE             : 1.1%
     [m3vpss ]  79713: LOAD: TSK: NSF0                : 0.8%
     [m3vpss ]  79714: LOAD: TSK: DEI2                : 3.5%
     [m3vpss ]  79714: LOAD: TSK: MERGE0              : 0.5%
     [m3vpss ]  79714: LOAD: TSK: MISC                : 3.1%
     [m3vpss ]
     [m3video]
     [m3video]  80215: LOAD: CPU: 4.9% HWI: 0.9%, SWI:0.7%
     [m3video]
     [m3video]  80215: LOAD: TSK: IPC_IN_M30          : 0.9%
     [m3video]  80215: LOAD: TSK: IPC_BITS_OUT0       : 0.2%
     [m3video]  80215: LOAD: TSK: ENC0                : 1.9%
     [m3video]  80215: LOAD: TSK: MISC                : 0.3%
     [m3video]
     [c6xdsp ]
     [c6xdsp ]  78206: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0%
     [c6xdsp ]
     [c6xdsp ]  78206: LOAD: TSK: MISC                : 0.2%
     [c6xdsp ]
    
    
    < - - - Printing Buffer Statistics after 60s - - - >
    
     [m3vpss ]
     [m3vpss ]  *** CAPTURE Statistics ***
     [m3vpss ] 81217: CAPTURE: Queued to driver = 20171, Dequeued from driver = 20139
     [m3vpss ]
     [m3vpss ]  *** [NSF0] NSF Statistics ***
     [m3vpss ] 81217: NSF: Rcvd from prev = 4169, Returned to prev = 4169
     [m3vpss ] NSF Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 165, rdPtr 165
     [m3vpss ] CAPTURE [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 329, rdPtr 329
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ] 81218: DEI: Rcvd from prev = 15970, Returned to prev = 15962
     [m3vpss ] DEI Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [1] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 222, rdPtr 222
     [m3vpss ] DEI Out [2] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [3] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [4] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3video]
     [m3video]  *** Encode Statistics ***
     [m3video]   81719: ENC: Rcvd from prev = 18180, Returned to prev = 18180
     [m3video]  ENC Out  BitBuf Q Status
     [m3video] Empty Q 0 -> count 0, wrPtr 4, rdPtr 4
     [m3video] Empty Q 1 -> count 0, wrPtr 24, rdPtr 24
     [m3video] Full Q -> count 0, wrPtr 28, rdPtr 28
    
    
    

    *** Bootargs Validated for mem param ***
    *** Bootargs Validated for notifyk.vpssm3 params ***
    Kernel bootargs validated
    amixer: Control default open error: No such file or directory
    
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
    SysLink version : 2.10.02.17
    SysLink module created on Date:Nov 14 2012 Time:14:35:31
    Trace enabled
    Trace SetFailureReason enabled
     Setting DMM priority for [DUCATI  ] to [0] ( 0x4e000624 = 0x08000000 )
     Setting DMM priority for [HDVICP0 ] to [2] ( 0x4e000634 = 0x0000000a )
    
    /opt/dvr_rdk/ti814x
    Attached to slave procId 2.
    Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
    Started slave procId 2.
    After Ipc_loadcallback status [0x00000000]
     [m3vpss ] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ] notify_attach  rtnVal  0
     [m3vpss ] initProxyServer  rtnVal  0
     [m3vpss ]
     [m3vpss ]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3vpss ]
     [m3vpss ]  54: SYSTEM  : System Common Init in progress !!!
     [m3vpss ]  54: SYSTEM: IPC init in progress !!!
     [m3vpss ]  54: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1053: SYSTEM: Attaching to [HOST] ...
     [m3vpss ]  1055: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3vpss ]  1056: SYSTEM: Attaching to [DSP] ...
    After Ipc_startcallback status [0x097d2000]
    Attached to slave procId 1.
    Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
    Started slave procId 1.
    After Ipc_loadcallback status [0x00000000]
     [m3video] ***** SYSTEM  : Frequency <ORG> - 200000000, <NEW> - 240000000
     [m3vpss ]  2055: SYSTEM: Attaching to [DSP] ...
     [m3video]
     [m3video]  *** UTILS: CPU KHz = 480000 Khz ***
     [m3video]
     [m3video]  1342: SYSTEM  : System Common Init in progress !!!
     [m3video]  1342: SYSTEM: IPC init in progress !!!
     [m3video]  1342: SYSTEM: Attaching to [HOST] ...
     [m3video]  2342: SYSTEM: Attaching to [HOST] ...
     [m3video]  2344: SYSTEM: Attaching to [HOST] ... SUCCESS !!!
     [m3video]  2345: SYSTEM: Attaching to [DSP] ...
    After Ipc_startcallback status [0x00000000]
    Attached to slave procId 0.
    Loaded file ../firmware/dvr_rdk_fw_c6xdsp.xe674 on slave procId 0.
    Started slave procId 0.
    After Ipc_loadcallback status [0x00000000]
    After Ipc_startcallback status [0x00000000]
     [c6xdsp ] ***** SYSTEM  : Frequency <ORG> - 500000000, <NEW> - 750000000
     [m3video]  3344: SYSTEM: Attaching to [DSP] ...
     [m3vpss ]  3055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]
     [c6xdsp ]  *** UTILS: CPU KHz = 750000 Khz ***
     [c6xdsp ]
     [c6xdsp ]  1: SYSTEM  : System Common Init in progress !!!
     [c6xdsp ]  1: SYSTEM: IPC init in progress !!!
     [c6xdsp ]  1: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1000: SYSTEM: Attaching to [HOST] ...
     [c6xdsp ]  1003: SYSTEM: AttacDMA: Module install successful, device major num = 251
    hing to [HOST] .DRV: Module install successful
    .. SUCCESS !!!
    DRV: Module built on Nov 14 2012 14:41:27
     [c6xdsp ]  1003: SYSTEM: Attaching to [VIDEO-M3] ...
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3vpss ]  4055: SYSTEM: Attaching to [DSP] ...
     [m3video]  4344: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2002: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3vpss ]  5055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2838: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [m3video]  5344: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  2838: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  5344: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3video]  5345: SYSTEM: Attaching to [VPSS-M3] ...
     [m3vpss ]  6055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  3837: SYSTEM: Attaching to [VPSS-M3] ...
     [m3video]  6344: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  4549: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  7055: SYSTEM: Attaching to [DSP] ...
     [c6xdsp ]  4549: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  7056: SYSTEM: Attaching to [DSP] ... SUCCESS !!!
     [m3vpss ]  7056: SYSTEM: Attaching to [VIDEO-M3] ...
     [m3video]  7344: SYSTEM: Attaching to [VPSS-M3] ...
     [c6xdsp ]  5549: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3video]  8056: SYSTEM: Attaching to [VPSS-M3] ... SUCCESS !!!
     [m3vpss ]  8055: SYSTEM: Attaching to [VIDEO-M3] ...
     [c6xdsp ]  5550: SYSTEM: Creating MsgQ [DSP_MSGQ] ...
     [m3video]  8056: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [m3vpss ]  8056: SYSTEM: Attaching to [VIDEO-M3] ... SUCCESS !!!
     [c6xdsp ]  5550: SYSTEM: Creating MsgQ [DSP_ACK_MSGQ] ...
     [m3video]  8057: SYSTEM: Creating MsgQ [VIDEO-M3_MSGQ] ...
     [m3vpss ]  8056: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     [c6xdsp ]  5550: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [m3video]  8057: SYSTEM: Creating MsgQ [VIDEO-M3_ACK_MSGQ] ...
     [m3vpss ]  8056: SYSTEM: Creating MsgQ [VPSS-M3_MSGQ] ...
     [c6xdsp ]  5550: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     [m3video]  8059: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [m3vpss ]  8057: SYSTEM: Creating MsgQ [VPSS-M3_ACK_MSGQ] ...
     [c6xdsp ]  5550: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [m3video]  8059: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: Notify register to [HOST] line 0, event 15 ...
     [c6xdsp ]  5551: SYSTEM: IPC init DONE !!!
     [m3video]  8059: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     [m3vpss ]  8059: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     [c6xdsp ]  5553: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [m3video]  8059: SYSTEM: IPC init DONE !!!
     [m3vpss ]  8059: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     [c6xdsp ]  5553: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [m3vpss ]  8059: SYSTEM: IPC init DONE !!!
     [c6xdsp ]  5553: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  5552: SYSTEM  : System DSP Init in progress !!!
     [c6xdsp ]  5553: SYSTEM  : RpeServer_init() done... Ret Val 0!!!
     [c6xdsp ]  5557: SYSTEM: Creating ListMP [DSP_IPC_OUT_19] in region 0 ...
     [c6xdsp ]  5557: SYSTEM: Creating ListMP [DSP_IPC_IN_19] in region 0 ...
     [c6xdsp ]  5557: SYSTEM: ListElem Shared Addr = 0xbf08b680
     [c6xdsp ]  5558: SYSTEM: Creating ListMP [DSP_IPC_OUT_20] in region 0 ...
     [m3video]  8068: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [m3vpss ]  8067: MEM: Shared Region 2: Base = 0xb3800000, Length = 0x0b800000 (184 MB)
     [c6xdsp ]  5558: SYSTEM: Creating ListMP [DSP_IPC_IN_20] in region 0 ...
     [m3video]  8068: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [m3vpss ]  8068: MEM: Shared Region 1: Base = 0x88000000, Length = 0x05400000 (84 MB)
     [c6xdsp ]  5558: SYSTEM: ListElem Shared Addr = 0xbf0ab080
     [m3video]  8070: SYSTEM  : System Common Init Done !!!
     [m3vpss ]  8070: SYSTEM  : System Common Init Done !!!
     [c6xdsp ]  5559: SYSTEM: Creating ListMP [DSP_IPC_OUT_21] in region 0 ...
     [m3video]  8070: SYSTEM  : System Video Init in progress !!!
     [m3vpss ]  8070: SYSTEM  : System VPSS Init in progress !!!
     [c6xdsp ]  5559: SYSTEM: Creating ListMP [DSP_IPC_IN_21] in region 0 ...
     [m3video]  8070: SYSTEM  : System Video Init Done !!!
     [c6xdsp ]  5559: SYSTEM: ListElem Shared Addr = 0xbf0caa80
     [m3video]  8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
     [c6xdsp ]  5560: SYSTEM: Creating ListMP [DSP_IPC_OUT_24] in region 0 ...
     [m3video]  8071: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
     [c6xdsp ]  5560: SYSTEM: Creating ListMP [DSP_IPC_IN_24] in region 0 ...
     [m3video]  8071: SYSTEM: ListElem Shared Addr = 0xbf125a80
     [c6xdsp ]  5560: SYSTEM: ListElem Shared Addr = 0xbf0ea480
     [m3video]  8073: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
     [c6xdsp ]  5561: SYSTEM: Creating ListMP [DSP_IPC_OUT_25] in region 0 ...
     [m3video]  8074: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
     [c6xdsp ]  5561: SYSTEM: Creating ListMP [DSP_IPC_IN_25] in region 0 ...
     [m3video]  8074: SYSTEM: ListElem Shared Addr = 0xbf128f80
     [c6xdsp ]  5561: SYSTEM: ListElem Shared Addr = 0xbf107f80
     [c6xdsp ] !!WARNING.Resource already registered:2
     [c6xdsp ]  5561: SYSTEM  : Initializing Links !!!
     [c6xdsp ]  5562: SYSTEM  : FREE SPACE : System Heap      = 6270752 B, Mbx = 10240 msgs)
     [m3video]  8080: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_19] in region 0 ...
     [m3vpss ] === I2C0/2 Clk is active ===
     [m3video]  8080: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_19] in region 0 ...
     [m3vpss ]  8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...
     [c6xdsp ]  5573: SYSTEM  : Initializing Links ... DONE !!!
     [m3video]  8080: SYSTEM: ListElem Shared Addr = 0xbf12c480
     [m3vpss ]  8088: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
     [m3video]  8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_20] in region 0 ...
     [m3vpss ]  8088: SYSTEM: ListElem Shared Addr = 0xbf18b280
     [c6xdsp ]  5573: SYSTEM  : System DSP Init Done !!!
     [m3video]  8083: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_20] in region 0 ...
     [m3vpss ]  8091: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
     [m3video]  8083: SYSTEM: ListElem Shared Addr = 0xbf14be80
     [m3vpss ]  8091: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
     [m3video]  8086: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_21] in region 0 ...
     [m3vpss ]  8091: SYSTEM: ListElem Shared Addr = 0xbf18e780
     [m3video]  8086: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_21] in region 0 ...
     [m3vpss ]  8104: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_19] in region 0 ...
     [m3video]  8086: SYSTEM: ListElem Shared Addr = 0xbf16b880
     [m3vpss ]  8104: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_19] in region 0 ...
     [m3video]  8098: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_24] in region 0 ...
     [m3vpss ]  8104: SYSTEM: ListElem Shared Addr = 0xbf1cd280
     [m3video]  8099: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_24] in region 0 ...
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_20] in region 0 ...
     [m3video]  8099: SYSTEM: ListElem Shared Addr = 0xbf191c80
     [m3vpss ]  8107: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_20] in region 0 ...
     [m3video]  8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_25] in region 0 ...
     [m3vpss ]  8108: SYSTEM: ListElem Shared Addr = 0xbf1ecc80
     [m3video]  8101: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_25] in region 0 ...
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_21] in region 0 ...
     [m3video]  8102: SYSTEM: ListElem Shared Addr = 0xbHDMI W1 rev 4.0
    f1af780
     [m3vpss ]  8110: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_21] in region 0 ...
     [m3video]  8103: HDVICP: Doing PRCM for IVAHD[0] ...
     [m3vpss ]  8110: SYSTEM: ListElem Shared Addr = 0xbf20c680
     [m3video]  8104: HDVICP: PRCM for IVAHD[0] ... DONE.
     [m3vpss ]  8112: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
     [m3video]  8104: SYSTEM  : Initializing Links !!!
     [m3vpss ]  8112: SYSTEM  : FVID2 Init in progress !!!
     [m3vpss ]  8171: SYSTEM  : FVID2 Init in progress DONE !!!
     [m3video]  8104: SYSTEM  : FREE SPACE : System Heap      = 6280328 B, Mbx = 10240 msgs)
     [m3vpss ]  8171: SYSTEM  : Device Init in progress !!!
     [m3video]  8105: SYSTEM  : FREE SPACE : SR0 Heap         = 7158144 B (6 MB)
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3video]  8105: SYSTEM  : FREE SPACE : Frame Buffer     = 192937856 B (183 MB)
     [m3vpss ] initPrms.isI2cInitReq = 0
     [m3vpss ]  8263: SYSTEM  : Device Init in progress DONE !!!
     [m3video]  8105: SYSTEM  : FREE SPACE : Bitstream Buffer = 88080256 B (83 MB)
     [m3vpss ]  8404: SYSTEM  : System VPSS Init Done !!!
     [m3vpss ]  8405: UTILS: DMA: HWI Create for INT63 !!!
     [m3video]  8105: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     [m3vpss ]  8405: SYSTEM  : Initializing Links !!!
     [m3video]  8113: SYSTEM  : FREE SPACE : Tiler 8-bit      = 38797312 B (37 MB)  - TILER ON
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : System Heap      = 189312 B, Mbx = 10240 msgs)
     [m3video]  8113: SYSTEM  : FREE SPACE : Tiler 16-bit     = 18874368 B (18 MB)  - TILER ON
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : SR0 Heap         = 6899072 B (6 MB)
     [m3video]  8138: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  8405: SYSTEM  : FREE SPACE : Frame Buffer     = 188627840 B (179 MB)
     [m3vpss ]  8406: SYSTEM  : FREE SPACE : Bitstream Buffer = 88080256 B (83 MB)
     [m3vpss ]  8406: SYSTEM  : FREE SPACE : Tiler 8-bit      = 38797312 B (37 MB)  - TILER ON
     [m3vpss ]  8406: SYSTEM  : FREE SPACE : Tiler 16-bit     = 18874368 B (18 MB)  - TILER ON
     [m3vpss ] Received character 's'
     [m3vpss ]  8494: SYSTEM  : Initializing Links ... DONE !!!
     [m3vpss ]  8495: SYSTEM  : Set Static L3 pressure for HDVPSS as High
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [m3video] Received character 's'
     [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
     [m3video] Remote Debug Shared Memory @ 0xbff05020
     [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040
     [c6xdsp ] Received character 's'
    /opt/dvr_rdk/ti814x
    E-EDID checksum failed!! ## Interface is 1 [0:DVI, 1:HDMI]
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     9: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...
     10: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     11: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     13: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     13: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     13: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     14: SYSTEM: Notify register to [DSP] line 0, event 15 ...
     15: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
     15: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
     15: SYSTEM: IPC init DONE !!!
     16: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     18: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     19: SYSTEM: ListElem Shared Addr = 0x416b0080
     20: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     22: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     23: SYSTEM: ListElem Shared Addr = 0x416cdb80
     24: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     26: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     27: SYSTEM: ListElem Shared Addr = 0x416eb680
     28: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     30: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     31: SYSTEM: ListElem Shared Addr = 0x4170b080
     32: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     34: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     35: SYSTEM: ListElem Shared Addr = 0x4172aa80
     54: SYSTEM: System Common Init Done !!!
    
     [host] Entered ipcBitsInit
    
     [host] Entered ResetAvgStatistics
    
     [host] Leaving ResetAvgStatistics
    
     [host] Entered ResetStatistics
    
     [host] Leaving ResetStatistics
    
     [host] Entered FreeBitBufInit
    
     [host] Leaving FreeBitBufInit
    
     [host] Entered ipcBitsInitDmaObj
    
     [host] Leaving ipcBitsInitDmaObj
    
     [host] Entered ipcBitsInitThrObj
    
     [host] Entered ipcBitsRecvFxn
    
     [host] Leaving ipcBitsInitThrObj
    
     [host] Leaving ipcBitsInit
    
    Entered new usecase 1HD + 4SD <8148> Enc OSD Disable SCD Disabled
    
     116: MCFW  : CPU Revision [ES2.1] !!!
     116: MCFW  : Detected [UNKNOWN] Board !!!
     116: MCFW  : Base Board Revision [REV A] !!!
     [m3vpss ]  10641: CAPTURE: Create in progress !!!
     [m3vpss ]  10674: CAPTURE: Other decoder found !!!
     [m3vpss ]  10674: CAPTURE: Choosing the default RIGHT config !!!
     [m3vpss ]  10675: CAPTURE: This is the correct format !!!
     [m3vpss ]  10675: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Non-mux Discrete Sync - ACTVID_VSYNC] with 1 chans !!!
     [m3vpss ]  10745: CAPTURE: 5158 decoder found !!!
     [m3vpss ]  10745: CAPTURE: VIP0 PortB capture mode is [ 8-bit, Pixel-mux Embedded Sync] with 4 chans !!!
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3vpss ] CAPTURE::HEAPID:0    USED:752
     [m3vpss ] CAPTURE::HEAPID:4    USED:30296064
     [m3vpss ]  10822: CAPTURE: Create Done !!!
     [m3vpss ]  10822: NSF: Create in progress !!!
     [m3vpss ] NSF::HEAPID:0        USED:128
     [m3vpss ] NSF::HEAPID:1        USED:4928
     [m3vpss ] NSF::HEAPID:4        USED:4718592
     [m3vpss ]  10850: NSF: Create Done !!!
     [m3vpss ]  10850: DEI    : Create in progress !!!
     [m3video]  10908: IPC_IN_M3   : Create in progress !!!
     [m3vpss ]  10904: DEI     : Loading Up-scaling Co-effs
     [m3video]  10908: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ]  10904: DEI     : Co-effs Loading ... DONE !!!
     [m3video]  10908: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3video]  10911: IPC_IN_M3   : Create Done !!!
     [m3vpss ] DEI:HEAPID:0 USED:64
     [m3video]  10912: ENCODE: Create in progress ... !!!
     [m3vpss ] DEI:HEAPID:1 USED:9600
     [m3vpss ] DEI:HEAPID:4 USED:9000960
     [m3vpss ]  10904: DEI    : Create Done !!!
     [m3vpss ]  10906: MERGE   : Create Done !!!
     [m3vpss ]  10906: IPC_OUT_M3   : Create in progress !!!
     [m3vpss ]  10907: IPC_OUT_M3   : Create Done !!!
     [m3video]  10962: ENCODE: Creating CH0 of 1024 x 768, pitch = (1024, 1024) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:13808
     [m3video] ENCLINK_H264:HEAPID:3        USED:2932736
     [m3video]  10980: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  10989: ENCODE: Creating CH2 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
    
     [host] IpcBitsInLink_tskMain:Entered
     [host]  499: IPC_BITS_IN   : Create in progress !!!
    
     [host]  499: IPC_BITS_IN   : ListMPOpen start !!!
    
     [host]  499: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
     501: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...
    
     [host]  502: IPC_BITS_IN   : ListMPOpen done !!!
    
     [host]  504: IPC_BITS_IN   : System_linkGetInfo done !!!
    
     [host]  505: IPC_BITS_IN   : Create Done !!!
    
    
    bitsProducerLinkInfo
    numQ 1, numCh 5
    Ch [0] Width 1024, Height 768
    Ch [1] Width 720, Height 480
    Ch [2] Width 720, Height 480
    Ch [3] Width 720, Height 480
    Ch [4] Width 720, Height 480
    Reducing bitsProducerLinkInfo.numCh to 5
     [m3vpss ]  11030: CAPTURE: Start in progress !!!
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3vpss ]  11030: CAPTURE: Start Done !!!
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  10999: ENCODE: Creating CH3 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11009: ENCODE: Creating CH4 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0        USED:11912
     [m3video] ENCLINK_H264:HEAPID:3        USED:1511424
     [m3video]  11018: ENCODE: All CH Create ... DONE !!!
     [m3video] ENCLINK:HEAPID:0     USED:61496
     [m3video] ENCLINK:HEAPID:2     USED:9123840
     [m3video] ENCLINK:HEAPID:3     USED:8978432
     [m3video]  11019: ENCODE: Create ... DONE !!!
     [m3video]  11020: IPC_BITS_OUT   : Create in progress !!!
     [m3video]  11022: IPC_BITS_OUT   : Create Done !!!
    
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
     Channel Selected: 0
    
    
    < - - - Printing Detailed Statistics after 60s- - - >
    
     [m3vpss ]
     [m3vpss ]  *** Capture Driver Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  *** [NSF0] NSF Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 60 secs
     [m3vpss ]  Total Fields Processed : 1800
     [m3vpss ]  Total Fields FPS       : 250 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out User Out Out
     [m3vpss ]  Num | FPS     FPS       FPS        FPS Skip FPS Skip FPS
     [m3vpss ]  ------------------------------------------------
     [m3vpss ]    0 |      59        29         30  30       29        0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |    3601    3601       0     60    60     0 1024 / 1024  768 /  768       1          0 0/0 (0/0)
     [m3vpss ]  100 |    3596    1799    1797     59    29    29  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  101 |    3000    1500    1500     50    25    25  720 /  720  288 /  288       1          0 0/0 (0/0)
     [m3vpss ]  102 |    3596    1799    1797     59    29    29  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  103 |    3596    1799    1797     59    29    29  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 1 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]
     [m3vpss ]  *** Capture List Manager Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  List Post Count        : 15003
     [m3vpss ]  List Stall Count       : 0
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 987, 1000)
     [m3vpss ]  Descriptor miss found count : 0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP and VPDMA registers,
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x0000d400
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00000000
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  71156: CAPTURE: Fields = 17380 (fps = 289, CPU Load = 0)
     [m3vpss ]  71156: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  71156: SYSTEM  : FREE SPACE : System Heap      = 183200 B, Mbx = 10240 msgs)
     [m3vpss ]  71156: SYSTEM  : FREE SPACE : SR0 Heap         = 4450048 B (4 MB)
     [m3vpss ]  71157: SYSTEM  : FREE SPACE : Frame Buffer     = 135633792 B (129 MB)
     [m3vpss ]  71157: SYSTEM  : FREE SPACE : Bitstream Buffer = 78956416 B (75 MB)
     [m3vpss ]  71157: SYSTEM  : FREE SPACE : Tiler Buffer     = 55 B (0 MB)  - TILER OFF
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 62 secs
     [m3vpss ]  Total Fields Processed : 14240
     [m3vpss ]  Total Fields FPS       : 575 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   4 /   8
     [m3vpss ]    1 |      49         0         49      0     49      0      0      0          49           0           0           0           0           0           0           0           0           0   2 /   8
     [m3vpss ]    2 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   5 /   8
     [m3vpss ]    3 |      59         0         59      0     59      0      0      0          59           0           0           0           0           0           0           0           0           0   5 /   8
     [m3vpss ]
     [m3video]      77156: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :3 %
     [m3video]               totalWait2Isr :87 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :87 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :92 %
     [m3video]               totalAcq2acqDelay :7 %
     [m3video]               totalElapsedTime in msec :   65976
     [m3video]               numAccessCnt:   78432
     [m3video]              IVA-FPS :    1206
     [m3video]              Average time spent per frame in microsec:     731
     [m3video]      77157: HDVICP-ID:1
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]      77158: HDVICP-ID:2
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :0 %
     [m3video]               totalWait2Isr :0 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :0 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :0 %
     [m3video]               totalAcq2acqDelay :0 %
     [m3video]               totalElapsedTime in msec :       0
     [m3video]               numAccessCnt:       0
     [m3video]              IVA-FPS :       0
     [m3video]              Average time spent per frame in microsec:       0
     [m3video]
     [m3video]  *** ENCODE Statistics ***
     [m3video]
     [m3video]  Elasped Time           : 65 secs
     [m3video]
     [m3video]
     [m3video]  CH  | In Recv In Skip In User  Out Latency
     [m3video]  Num | FPS     FPS     Skip FPS FPS Min / Max
     [m3video]  --------------------------------------------
     [m3video]    0 |      30       0        0  30  15 /  19
     [m3video]    1 |      60       0        0  60  11 /  27
     [m3video]    2 |      50       0        0  50   7 /  27
     [m3video]    3 |      60       0        0  60  18 /  27
     [m3video]    4 |      60       0        0  60  18 /  27
     [m3video]
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 2
     [m3video] IVAHD_0 Max achieved Batch Size : 4
     [m3video]
     [m3video] Multi Channel Encode Batch break Stats
     [m3video] Total Number of Batches created: 6524
     [m3video] All numbers are based off total number of Batches created
     [m3video]       Batch breaks due to batch sizeexceeding limit: 1 %
     [m3video]       Batch breaks due to ReqObj Que being empty: 98 %
     [m3video]       Batch breaks due to changed resolution class: 0 %
     [m3video]       Batch breaks due to interlace and progressivecontent mix: 0 %
     [m3video]       Batch breaks due to channel repeat: 0 %
     [m3video]       Batch breaks due to different codec: 0 %
     [m3vpss ]
     [m3vpss ]  79161: LOAD: CPU: 17.2% HWI: 2.2%, SWI:2.0%
     [m3vpss ]
     [m3vpss ]  79162: LOAD: TSK: IPC_OUT_M30         : 2.8%
     [m3vpss ]  79162: LOAD: TSK: CAPTURE             : 1.2%
     [m3vpss ]  79163: LOAD: TSK: NSF0                : 0.9%
     [m3vpss ]  79163: LOAD: TSK: DEI2                : 4.0%
     [m3vpss ]  79163: LOAD: TSK: MERGE0              : 0.5%
     [m3vpss ]  79163: LOAD: TSK: MISC                : 3.6%
     [m3vpss ]
     [m3video]
     [m3video]  79664: LOAD: CPU: 16.5% HWI: 1.2%, SWI:1.2%
     [m3video]
     [m3video]  79665: LOAD: TSK: IPC_IN_M30          : 0.9%
     [m3video]  79665: LOAD: TSK: IPC_BITS_OUT0       : 2.1%
     [m3video]  79665: LOAD: TSK: ENC0                : 3.2%
     [m3video]  79665: LOAD: TSK: ENC_PROCESS_TSK_0   : 7.5%
     [m3video]  79665: LOAD: TSK: MISC                : 0.4%
     [m3video]
     [c6xdsp ]
     [c6xdsp ]  77659: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0%
     [c6xdsp ]
     [c6xdsp ]  77659: LOAD: TSK: MISC                : 0.2%
     [c6xdsp ]
    
    
    < - - - Printing Buffer Statistics after 60s - - - >
    
     [m3vpss ]
     [m3vpss ]  *** CAPTURE Statistics ***
     [m3vpss ] 80667: CAPTURE: Queued to driver = 20168, Dequeued from driver = 20140
     [m3vpss ]
     [m3vpss ]  *** [NSF0] NSF Statistics ***
     [m3vpss ] 80667: NSF: Rcvd from prev = 4170, Returned to prev = 4170
     [m3vpss ] NSF Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 165, rdPtr 165
     [m3vpss ] CAPTURE [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 330, rdPtr 330
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ] 80669: DEI: Rcvd from prev = 15970, Returned to prev = 15962
     [m3vpss ] DEI Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [1] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 225, rdPtr 225
     [m3vpss ] DEI Out [2] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [3] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [4] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3video]
     [m3video]  *** Encode Statistics ***
     [m3video]   81169: ENC: Rcvd from prev = 18183, Returned to prev = 18180
     [m3video]  ENC Out  BitBuf Q Status
     [m3video] Empty Q 0 -> count 4, wrPtr 184, rdPtr 180
     [m3video] Empty Q 1 -> count 17, wrPtr 356, rdPtr 339
     [m3video] Full Q -> count 0, wrPtr 132, rdPtr 132
    
    

  • Your usecase doesn't have a decoder but you are using the demo app code for encode decode loopback. This will cause encoder buffers to not be freed. You should use

    /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vcap_venc_vdis_bits_wr.c

    /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vcap_venc_vdis.c

    as refer app code if you have encode only data flow.

  • Hi Badri / Brijesh,

    That makes sense. I've adjusted the use case and I can now get access to all channels.

    Thanks again for your support! You have been a great help!

    Jason