struct PatchReferencePosition
{ ... };
size_t ref
size_t x0
size_t xsize
size_t y0
size_t ysize