Name

struct vb2_plane — plane information

Synopsis

struct vb2_plane {
  void * mem_priv;
  struct dma_buf * dbuf;
  unsigned int dbuf_mapped;
  unsigned int bytesused;
  unsigned int length;
  union m;
  unsigned int data_offset;
};  

Members

mem_priv

private data with this plane

dbuf

dma_buf - shared buffer object

dbuf_mapped

flag to show whether dbuf is mapped or not

bytesused

number of bytes occupied by data in the plane (payload)

length

size of this plane (NOT the payload) in bytes

m

Union with memtype-specific data (offset, userptr or fd).

data_offset

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