Features AW00123409000334 Basler ace USB 3.07.22 Line PitchFor information about the availability of the line pitch feature on a specific camera model, seeTable 41 on page 191 and Table 42 on page 192.The line pitch feature is useful if you want that the data size, related to a line of pixels, will beperfectly aligned with cache lines. Data alignment can improve performance and is in generaldesired for embedded systems."Line pitch" designates the number of bytes that relate to all pixel data of a line of pixels, subject tothe current ROI width and the current pixel format.Generally, the line pitch obtained from an image acquisition (the "original" line pitch) will not includethe right number of bytes for perfect alignment with cache lines of given sizes (typically 32 or 64bytes). For perfect alignment, the line pitch must be a multiple of a given cache line size. To allowperfect alignment, the line pitch feature will expand the original line pitch as far as necessary toproduce the "minimum required line pitch". The expansion is accomplished by appending theminimum required bytes as zeros to the original pixel data (data structure padding).Example: Assume a camera is set for an ROI width of 352 pixels and for Mono 8 pixel format. Alsoassume, that the pixel data from each ROI line must align with a cache line size of 64 bytes.For each frame and with the above settings, each pixel will deliver one byte and each ROI line willinclude 352 bytes of pixel data (the original line pitch; see Figure 115 on page 335). This amount ofdata can not be aligned with 64-byte cache lines as 352 can not be divided by 64 without remainder.Alignment is, however, possible, when the line data are padded with 32 bytes (as zeros) to producethe minimum required line pitch of 384 bytes.