planeStride

abstract fun planeStride(index: Int): Int

Bytes per row of plane index, which is at least the plane's width in bytes and usually more.

A renderer that assumes stride equals width produces an image that skews diagonally. This is the most common first bug in every new video renderer, so the value is a required part of the interface rather than something a caller computes.