Skip to content

video: Add array-based accessor for all video frame planes' data at once

This is mostly useful for getting mutable access to all planes at once.

Using plane_data_mut() for this is not possible as it would require borrowing the frame mutably multiple times.

As each plane's data is not overlapping with any other plane we can still provide such functionality safely.

Merge request reports