Image Data Padding
The DMA engine provides the capability to organize the data differently in the buffer by adding line padding or stripe padding.
For driver versions prior to 6.2, the DMA engine was transferring the whole image data as a single 1D entity regardless the 2D structure: the lines of processed image data are concatenated into the destination buffer.
Image buffer padding model
Line Padding
The LineWidth and LinePitch features control the line padding.
When LinePitch > LineWidth, the line padding is enabled: the DMA engine inserts LinePitch - LineWidth bytes of padding at the end of each image line.
LinePitch can be set to 0 to disable padding after lines.
Stripe padding
Stripes are groups of adjacent lines. A stripe of height 1 is a line.
The StripeHeight and StripePitch features control the stripe padding.
When StripePitch > StripeHeight, the stripe padding is enabled: the DMA engine inserts StripePitch - StripeHeight lines of padding at the end of each stripe.
StripePitch can be set to 0 to disable padding after lines.