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.

tivxVpacMscPyramidNode ( Auto aging problem)

Hi all,

I have created  Pyramid Node by using tivxVpacMscPyramidNode

pyramidObj->node  = tivxVpacMscPyramidNode ( graph, input_img , output_pyramid);
APP_ASSERT_VALID_REF(pyramidObj->node);

and registered for autoaging

if (status == VX_SUCCESS)
{
       status = vxRegisterAutoAging(obj->graph, obj->pyramidObj.pyr_delay);
       APP_ASSERT(status==VX_SUCCESS);

}
       
   
 passing current and reference vx pyramid  to my custom node by the following approach  
   
 mycustomnode(graph, ref_pyramid, curr_pyramid,input_image );
 

Following code generated by using PyTIOVX tool in the custom node

tivxGetObjDescList(ref_pyramid_desc->obj_desc_id, (tivx_obj_desc_t**)img_ref_pyramid_desc, ref_pyramid_desc->num_levels);
        for(i=0U; i<ref_pyramid_desc->num_levels; i++)
        {


            ref_pyramid_target_ptr[i] = tivxMemShared2TargetPtr(&img_ref_pyramid_desc[i]->mem_ptr[0]);
            tivxCheckStatus(&status, tivxMemBufferMap(ref_pyramid_target_ptr[i],
               img_ref_pyramid_desc[i]->mem_size[0], (vx_enum)VX_MEMORY_TYPE_HOST,
               (vx_enum)VX_READ_ONLY));

        }

tivxGetObjDescList(curr_pyramid_desc->obj_desc_id, (tivx_obj_desc_t**)img_curr_pyramid_desc, curr_pyramid_desc->num_levels);
for(i=0U; i<curr_pyramid_desc->num_levels ; i++)
{

curr_pyramid_target_ptr[i] = tivxMemShared2TargetPtr(&img_curr_pyramid_desc[i]->mem_ptr[0]);
tivxCheckStatus(&status, tivxMemBufferMap(curr_pyramid_target_ptr[i],
img_curr_pyramid_desc[i]->mem_size[0], (vx_enum)VX_MEMORY_TYPE_HOST,
(vx_enum)VX_READ_ONLY));

}

But when i run my application by using the above mentioned custom kernel. Auto Aging is not happening . Kindly let me know the reason


sdk-rtos-j721e-evm-07_03 used;

Regards

raj