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:
Bruno Herbelin
2022-06-05 23:43:23 +02:00
parent d2e3b854aa
commit fec2fb7ce6
18 changed files with 356 additions and 7 deletions

View File

@@ -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;