struct vb2_plane — plane information
struct vb2_plane { void * mem_priv; struct dma_buf * dbuf; unsigned int dbuf_mapped; unsigned int bytesused; unsigned int length; unsigned int min_length; union m; unsigned int data_offset; };
private data with this plane
dma_buf - shared buffer object
flag to show whether dbuf is mapped or not
number of bytes occupied by data in the plane (payload)
size of this plane (NOT the payload) in bytes
minimum required size of this plane (NOT the payload) in bytes.
length
is always greater or equal to min_length
.
Union with memtype-specific data (offset
, userptr
or
fd
).
offset in the plane to the start of data; usually 0, unless there is a header in front of the data Should contain enough information to be able to cover all the fields of struct v4l2_plane at videodev2.h