Suppose we have an 8x8 buffer (int32) and we want to extract the top-left 4x4 tile and the lower-right 4x4 tile.
Extracting a 4x4 tile supposes that we have the following parameters:
| Value | Comment | |
|---|---|---|
| Step 0 | 1 | All samples are contiguous on 1 row |
| Wrap 0 | 4 | The number of columns of the extracted tile is 4 |
| Step 1 | 8 | The address of the first sample of the second row is 8 after the first sample of first row |
| Wrap 1 | 4 | The number of rows of the extracted tile is 4 |
The address jump between the first 4x4 tile and the second 4x4 tile is 36. This is the relative address of the first sample of the second tiles vs. the address of the first sample of the first tile. There is no wrap on this dimension as the transfer will end after 32 samples transferred:
| Value | Comment | |
|---|---|---|
| Step 2 | 36 | Jump in between the 2 tiles |
| Buffer Length | 32 | Total transferred samples |