Missing API for strides and plane offsets for multi-planar video buffers
Currently there is only one stride and offset value in spa_data
. This is insufficient to describe multi-planar video buffers. Each plane can have its own stride and plane offset.
In my specific case, I want to export a 1920x1080 NV12 dma-buf buffer. And the second plane starts at 2088960 (= 1920 * 1088).
I'm not sure what the correct API for this would be. A new spa meta?