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.

sc link assert

root@HDMTerm:/opt/hdmeeting20/bin# ./hdcard20_app.out
 0: SYSTEM: System Common Init in progress !!!
 3: SYSTEM: IPC init in progress !!!
 81: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
 81: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
 81: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
 81: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
 85: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
 95: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
 96: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
 98: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
 98: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
 99: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
 100: SYSTEM: Notify register to [DSP] line 0, event 15 ...
 104: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
 105: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
 106: SYSTEM: IPC init DONE !!!
 120: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
 124: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
 126: SYSTEM: ListElem Shared Addr = 0x4089a880
 127: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
 129: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
 130: SYSTEM: ListElem Shared Addr = 0x408cfa80
 137: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
 139: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
 141: SYSTEM: ListElem Shared Addr = 0x40904c80
 142: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
 144: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
 146: SYSTEM: ListElem Shared Addr = 0x40947f80
 147: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
 149: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
 150: SYSTEM: ListElem Shared Addr = 0x4098b280
 169: SYSTEM: System Common Init Done !!!
 [m3vpss ]  17560: CAPTURE: Create in progress !!!
 [m3vpss ]  17589: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Discrete Sync - ACTVID_VSYNC] !!!
 [m3vpss ]  17802: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Discrete Sync - ACTVID_VSYNC] !!!
 [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
 [m3vpss ]  UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
 [m3vpss ]  UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
 [m3vpss ]  UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
 [m3vpss ]  UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
 [m3vpss ] CAPTURE::HEAPID:0 USED:520
 [m3vpss ] CAPTURE::HEAPID:4 USED:95385600
 [m3vpss ]  18016: CAPTURE: Create Done !!!
 [m3vpss ]  18022: DUP   : Create Done !!!
 [m3vpss ]  18022: SCLR: Create in progress !!!
 [m3vpss ]  18298: SCLR    : Loading Up-scaling Co-effs ...
 [m3vpss ]  18298: SCLR    : Co-effs Loading ... DONE !!!
 [m3vpss ] SCLR:HEAPID:0 USED:64
 [m3vpss ] SCLR:HEAPID:1 USED:8384
 [m3vpss ] SCLR:HEAPID:4 USED:58890240
 [m3vpss ]  18298: SCLR: Create Done !!!
 [m3vpss ]  18299: MERGE   : Create Done !!!
 [m3vpss ]  18299: NSF: Create in progress !!!
 [m3vpss ]  18301: Assertion @ Line: 72 in utils/src/tile_alg_binpack.c: (TilerAlloc_ResolutionClassInfo[i].width > prevResWidth) && (TilerAlloc_ResolutionClassInfo[i].height > prevResHeight) : failed !!!

I had updated below patch to sclrLink,but there is to be the question.

--- a/mcfw/src_bios6/links_m3vpss/sclr/sclrLink_drv.c
+++ b/mcfw/src_bios6/links_m3vpss/sclr/sclrLink_drv.c
@@ -322,7 +322,6 @@
     pFormat->pitch[0]       = pChInfo->pitch[0];
     pFormat->pitch[1]       = pChInfo->pitch[1];
     pFormat->pitch[2]       = pChInfo->pitch[2];
-    pFormat->scanFormat     = pChInfo->scanFormat;
     pFormat->bpp            = FVID2_BPP_BITS16;
     pFormat->reserved       = NULL;
  
@@ -375,6 +374,7 @@
         pOutChInfo = &pObj->info.queInfo[0].chInfo[chId];
  
         pFormat = &pObj->outObj.outFormat;
+        pFormat->scanFormat     = pInChInfo->scanFormat;
         if (pObj->createArgs.tilerEnable)
         {
             pOutChInfo->memType = VPS_VPDMA_MT_TILEDMEM;
 
How to fix it ? Thanks!
  • Pls check if you have the following patches:

    diff --git a/mcfw/src_bios6/utils/src/tile_alg_binpack.c b/mcfw/src_bios6/utils/src/tile_alg_binpack.c
    index b9f1a4b..86537cb 100644
    --- a/mcfw/src_bios6/utils/src/tile_alg_binpack.c
    +++ b/mcfw/src_bios6/utils/src/tile_alg_binpack.c
    @@ -69,9 +69,9 @@
         for (i = 0; i < UTILS_ARRAYSIZE(TilerAlloc_ResolutionClassInfo);i++)
         {
             /* Ensure resClassInfo is sorted in ascending order */
    -        UTILS_assert((TilerAlloc_ResolutionClassInfo[i].width > prevResWidth)
    +        UTILS_assert((TilerAlloc_ResolutionClassInfo[i].width >= prevResWidth)
                          &&
    -                     (TilerAlloc_ResolutionClassInfo[i].height > prevResHeight));
    +                     (TilerAlloc_ResolutionClassInfo[i].height >= prevResHeight));
             if ((width <= TilerAlloc_ResolutionClassInfo[i].width) 
                 &&
                 (height <= TILER_ALLOC_GET_CONTAINER_ADJUSTED_HEIGHT(cntMode,TilerAlloc_ResolutionClassInfo[i].height)))
    
    
    
    
    
    
    ----------- mcfw/src_bios6/links_m3video/codec_utils/utils_encdec.h -----------
    diff --git a/mcfw/src_bios6/links_m3video/codec_utils/utils_encdec.h b/mcfw/src_bios6/links_m3video/codec_utils/utils_encdec.h
    index 6dd51fc..0f2b919 100755
    --- a/mcfw/src_bios6/links_m3video/codec_utils/utils_encdec.h
    +++ b/mcfw/src_bios6/links_m3video/codec_utils/utils_encdec.h
    @@ -88,7 +88,7 @@
     #define UTILS_ENCDEC_RESOLUTION_CLASS_9MP_HEIGHT                        (3*1024)
     
     #define UTILS_ENCDEC_RESOLUTION_CLASS_5MP_WIDTH                           (2592)
    -#define UTILS_ENCDEC_RESOLUTION_CLASS_5MP_HEIGHT                          (1952)
    +#define UTILS_ENCDEC_RESOLUTION_CLASS_5MP_HEIGHT                        (2*1024)
     
     #define UTILS_ENCDEC_RESOLUTION_CLASS_4MP_WIDTH                         (2*1024)
     #define UTILS_ENCDEC_RESOLUTION_CLASS_4MP_HEIGHT                        (2*1024)