video: move dma-buf types into workspace crate
This commit is contained in:
parent
f456905231
commit
ebaccd8762
6 changed files with 77 additions and 14 deletions
9
video-types/src/lib.rs
Normal file
9
video-types/src/lib.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
pub mod dmabuf;
|
||||
|
||||
pub type Modifier = u64;
|
||||
|
||||
pub const INVALID_MODIFIER: Modifier = 0x00ff_ffff_ffff_ffff;
|
||||
pub const LINEAR_MODIFIER: Modifier = 0;
|
||||
|
||||
// This is required by AMD and therefore everyone else uses this too.
|
||||
pub const LINEAR_STRIDE_ALIGN: u64 = 256;
|
||||
Loading…
Add table
Add a link
Reference in a new issue