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.

tileAllocCfg->initDone : failed



now i create 16 dec D1 ch,then i delete ch0 and create cho with resolution 1080P,the app run normally

but when i exit and run the app again it will have the error following,so why?and fix it

 [m3vpss ]  66044: Assertion @ Line: 1429 in utils/src/tile_alg_binpack.c: tileAllocCfg->initDone : failed !!!

in my dec create link i set the following parameters:

tilerEnable = FALSE;

if (tilerEnable == FALSE)
{
/* Disable tiler allocator for this usecase
* for that tiler memory can be reused for
* non-tiled allocation
*/
SystemTiler_disableAllocator();
}
else
{
SystemTiler_BucketGeometry_t bucketRes;

bucketRes.bucketWidth = SYSTEM_TILER_ALLOCATOR_BUCKET_WIDTH_DEFAULT;
bucketRes.bucketHeight = SYSTEM_TILER_ALLOCATOR_BUCKET_HEIGHT_DEFAULT;
bucketRes.minResolution = SYSTEM_TILER_RESOLUTION_CIF;
bucketRes.setSingleBucketGeometry = FALSE;
SystemTiler_setBucketGeometry(&bucketRes);
}

  • This could be bug in your application usecase file. It looks like you have tilerEnable = FALSE at usecase create time but are not enabling tilerAllocator when exiting the usecase in usecase delete function. Refer mulitch_vdec_vdis.c . Also ensure tilerEnable is set to same value (either TRUE or FALSE) in both usecase delete and create functions.