diff options
author | metamuffin <metamuffin@disroot.org> | 2023-11-18 02:08:41 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-11-18 02:08:41 +0100 |
commit | ebd59fb09a4e094701f195d86662e1a9d00fed2b (patch) | |
tree | 2e24901b15493612c73ede8fcb4cacde49e9692e /flowy/src/motion/mod.rs | |
parent | 3deb911083605ad5b63a0ecd372e4ae437c11b4a (diff) | |
download | video-codec-experiments-ebd59fb09a4e094701f195d86662e1a9d00fed2b.tar video-codec-experiments-ebd59fb09a4e094701f195d86662e1a9d00fed2b.tar.bz2 video-codec-experiments-ebd59fb09a4e094701f195d86662e1a9d00fed2b.tar.zst |
rudimentary mcomp
Diffstat (limited to 'flowy/src/motion/mod.rs')
-rw-r--r-- | flowy/src/motion/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/flowy/src/motion/mod.rs b/flowy/src/motion/mod.rs index acb1396..558b8d1 100644 --- a/flowy/src/motion/mod.rs +++ b/flowy/src/motion/mod.rs @@ -1,3 +1,4 @@ +pub mod debug; pub mod dec; pub mod enc; @@ -13,6 +14,8 @@ pub struct Params { pub extent: Extent3d, pub block_width: usize, pub block_height: usize, + pub blocks_x: usize, + pub blocks_y: usize, pub blocks: usize, } @@ -46,6 +49,7 @@ impl CommonBuffers { dimension: TextureDimension::D2, format: TextureFormat::Bgra8Unorm, usage: TextureUsages::TEXTURE_BINDING + | TextureUsages::STORAGE_BINDING | TextureUsages::COPY_DST | TextureUsages::COPY_SRC, view_formats: &[], |