mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 03:09:57 +01:00
Original implementation of Resampling Image filters
This involves also resizing the renderbuffer of the clone source. Upsampling is cubic (faster approximation) and Downsampling is bilinear.
This commit is contained in:
@@ -1225,6 +1225,13 @@ void SessionLoader::visit (DelayFilter& f)
|
||||
f.setDelay(d);
|
||||
}
|
||||
|
||||
void SessionLoader::visit (ResampleFilter& f)
|
||||
{
|
||||
int m = 0;
|
||||
xmlCurrent_->QueryIntAttribute("factor", &m);
|
||||
f.setFactor(m);
|
||||
}
|
||||
|
||||
void SessionLoader::visit (BlurFilter& f)
|
||||
{
|
||||
int m = 0;
|
||||
|
||||
Reference in New Issue
Block a user