autocommit 2022-04-13 12:58:04 CEST
This commit is contained in:
parent
8924936079
commit
661a28e5b0
23 changed files with 165 additions and 143 deletions
15
src/video/dmabuf.rs
Normal file
15
src/video/dmabuf.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use {crate::format::Format, std::rc::Rc, uapi::OwnedFd};
|
||||
|
||||
pub struct DmaBufPlane {
|
||||
pub offset: u32,
|
||||
pub stride: u32,
|
||||
pub fd: Rc<OwnedFd>,
|
||||
}
|
||||
|
||||
pub struct DmaBuf {
|
||||
pub width: i32,
|
||||
pub height: i32,
|
||||
pub format: &'static Format,
|
||||
pub modifier: u64,
|
||||
pub planes: Vec<DmaBufPlane>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue