]> git.sesse.net Git - movit/commitdiff
In resizing effects, add the notion of a “virtual output size”.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 1 Feb 2013 00:03:00 +0000 (01:03 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 1 Feb 2013 00:03:00 +0000 (01:03 +0100)
This is the size that the effect wants to be perceived as for the next
effect in the chain, which is useful if you e.g. have a blur and then
padding. Even though the blur might rescale the image down from e.g.
512x512 to 128x128 before blurring (in case of a large blur), and this
size is what actually comes out in the texture at the other end,
it still wants to be treated as a 512x512 image when adding padding.

Reported by Christophe Thommeret.


No differences found