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

@@ -694,6 +694,11 @@ void SessionVisitor::visit (DelayFilter& f)
xmlCurrent_->SetAttribute("delay", f.delay());
}
void SessionVisitor::visit (ResampleFilter& f)
{
xmlCurrent_->SetAttribute("factor", (int) f.factor());
}
void SessionVisitor::visit (BlurFilter& f)
{
xmlCurrent_->SetAttribute("method", (int) f.method());