aboutsummaryrefslogtreecommitdiff
path: root/evc/src/refsampler.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-12-13 20:01:01 +0100
committermetamuffin <metamuffin@disroot.org>2022-12-13 20:01:01 +0100
commit82eedf3594bf21c8b780580050a95f0bdb5fd667 (patch)
tree7189b1e46546b963eb44a09920918c76b16e0880 /evc/src/refsampler.rs
parent4f9ff288cfd66dc33cf66ae9085075f7a242685b (diff)
downloadvideo-codec-experiments-82eedf3594bf21c8b780580050a95f0bdb5fd667.tar
video-codec-experiments-82eedf3594bf21c8b780580050a95f0bdb5fd667.tar.bz2
video-codec-experiments-82eedf3594bf21c8b780580050a95f0bdb5fd667.tar.zst
minor changes
Diffstat (limited to 'evc/src/refsampler.rs')
-rw-r--r--evc/src/refsampler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/evc/src/refsampler.rs b/evc/src/refsampler.rs
index a9a6d29..d6f2bb1 100644
--- a/evc/src/refsampler.rs
+++ b/evc/src/refsampler.rs
@@ -22,7 +22,7 @@ impl<'a> Sampler<'a> {
pub fn sample(&self, p: Vec2<f32>) -> Pixel {
self.view
.sample(self.translation + self.transform.transform(p + self.halfsize) - self.halfsize)
- // .scale(self.value_scale)
+ .scale(self.value_scale)
}
pub fn from_refblock(
view: View<&'a Frame>,