PIPELINE_INFO_N_OUTPUTS
n_output = PIPELINE_INFO_N_OUTPUTS(hdr.pipeline_info);
for (i = 0; i < PIPELINE_INFO_N_OUTPUTS(blk->pipeline_info); i++)