In many plugins part of the image needs to be resized
(enlarged or reduced). One has to code in each plugin
this function. In case Avisynth provides a callable
function that can take vi, input h,w output h,w and
type eg point, bilinear, bicubic, lancoz it will be very
useful. As the coding by avisynth team will be optimized
assembler version it will be fast.
Logged In: YES
user_id=578300
All available functions are available through the
env->Invoke() function. Have a look at:
http://www.avisynth.org/EnvInvoke
Closing
Logged In: YES
user_id=815619
Invoke as you mentioned elsewhere has lot of overhead and
not suitable if only a part of frame needs to be resized.I want
a function ythat can resize into a given area from the
selected portion of input frame. Something like bitblt function
that can be called.
Logged In: YES
user_id=578300
Invoke is very efficient, if you don't change input
parameters (ie. don't recreate the filter on each frame).
Furthermore the crop parameters can be used for only
rescaling part of the picture.
I see no need for anything further, unless you can give more
specifics on why Invoke isn't good enough.
(Reopening for a while)
Logged In: YES
user_id=815619
The Resizing parameters change from frame to frame. Crop
parameters also change frame to frame. Can one use Invoke
efficiently then?