A method for dividing an array of pixels into slices and tiles for encoding the array of pixels into an encoded video stream by means of a first encoder arranged in a first image processing circuitry and a second encoder arranged in a second image processing circuitry, wherein pixels of the array of pixels are arranged at regular intervals along a vertical direction and a horizontal direction, wherein each slice is separated by a straight horizontal line over the full width of the array from respective adjacent slices and is encoded without the need for access to image data relating to other slices and each tile is separated by a straight vertical line over the full height of a slice from respective adjacent tiles in the same slice and is encoded without the need for access to image data relating to other tiles, wherein the array of pixels consists of a first subset of pixels having pixel data stored in a first buffer arranged in the first image processing circuitry and a second subset of pixels having pixel data stored in a second buffer arranged in the second image processing circuitry, wherein a first border between the first subset of pixels and the second subset of pixels is tilted at a tilt angle in relation to the array of pixels, the method comprising: dividing the array of pixels into two or more slices; and dividing each slice into two or more tiles, wherein the two or more tiles of each slice consists of a first subset of tiles and a second subset of tiles, wherein the first subset of tiles and the second subset of tiles are disjunct and the first subset of tiles is to be encoded by the first encoder and the second subset of tiles is to be encoded by the second encoder, wherein the act of dividing each slice into two or more tiles comprises setting a second border between the first subset of tiles and the second subset of tiles at an offset along the horizontal direction between two adjacent slices of the two or more slices such that the second borders between the first subset of tiles and the second subset of tiles in two adjacent slices are not aligned along the horizontal direction, wherein the offset is based on the tilt angle such that the number of pixels to be encoded into the first subset of tiles of each slice that have pixel data stored in the second buffer plus the number of pixels to be encoded into the second subset of tiles of each slice that have pixel data stored in the first buffer is reduced in relation to not using an offset. dividing the array of pixels into two or more slices; and dividing each slice into two or more tiles, wherein the two or more tiles of each slice consists of a first subset of tiles and a second subset of tiles, wherein the first subset of tiles and the second subset of tiles are disjunct and the first subset of tiles is to be encoded by the first encoder and the second subset of tiles is to be encoded by the second encoder, wherein the act of dividing each slice into two or more tiles comprises setting a second border between the first subset of tiles and the second subset of tiles at an offset along the horizontal direction between two adjacent slices of the two or more slices such that the second borders between the first subset of tiles and the second subset of tiles in two adjacent slices are not aligned along the horizontal direction, wherein the offset is based on the tilt angle such that the number of pixels to be encoded into the first subset of tiles of each slice that have pixel data stored in the second buffer plus the number of pixels to be encoded into the second subset of tiles of each slice that have pixel data stored in the first buffer is reduced in relation to not using an offset.