nm_alloc_lut
p->lut = nm_alloc_lut(p->objtotal);
p->lut = nm_alloc_lut(o->num);
ptnmd->buf_lut.lut = nm_alloc_lut(nbuffers);