I want to use the resizer on the fly to scale an incoming image for processing purposes, not for display. This means I care about the input dimensions & resize ratios, but not at all about the output dimensions (I'll use whatever output dimensions are dictated by the selected resize ratio). I have a few questions about setting this up:
1) When I use the calccoef utility to generate a set of filter constants for use by the resizer, I want to specify the input width & resize ratios. It seems that I can only get the utility to spit out constants if I specify input & output dimensions. I see the available -r option for doing this, and I have been trying various combinations like ./calccoef -i1280x256 -r512x256 but nothing seems to work. I basically want to sweep a certain range of resize ratios like the gen_zoom example sweeps output size. Is there a way to do this?
2) Are the generated filter constants a general case for a given resize ratio? That is, if I generate a set of horizontal filter constants for a 96% downres, is that set of filter constants good for all valid input widths, as long as I follow the constraints?
3) Is a set of filter constants for a given resize ratio identical in the horizontal & vertical directions?
Thanks for any input