void *alloc_ctx[VIDEO_MAX_PLANES]; unsigned int plane_sizes[VIDEO_MAX_PLANES]; unsigned int streaming:1; struct vb2_fileio_data *fileio; }; 在vb2中细化了锁,并且将核心部分封装,使我们更容易使用。 与vb中有冲突的地方如下 1,结构中红色部分都为自己的数据,一般对于我们的驱动程序来说不要使用,因...