GMat addMat(GMat a, GMat b, {int ddepth = -1}) { final p = calloc<cvg.GMat>(); cvRun(() => cgapi.gapi_add(a.ref, b.ref, ddepth, p)); return GMat.fromPointer(p); }