factory Size.fromXY(int x, int y) { final ptr = calloc<c.mnn_cv_size2i_t>() ..ref.width = x ..ref.height = y; return Size.fromPointer(ptr); }