Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No-op, dimension checkings #11

Open
Kagami opened this issue Nov 19, 2015 · 1 comment
Open

No-op, dimension checkings #11

Kagami opened this issue Nov 19, 2015 · 1 comment

Comments

@Kagami
Copy link
Member

Kagami commented Nov 19, 2015

It would probably be a good idea to just copy src into dst if source and destination dimensions are equal; also some fool-proof checkings like w, h != 0 and so on.

@Kagami
Copy link
Member Author

Kagami commented Dec 7, 2015

Also:

  • Use same coeff matrix if w1=h1 & w2=h2
  • No-op if either w1=w2 or h1=h2 (sample only one time)
  • Sample rows/cols first depending on the ratio, see AS docs:

AviSynth has completely separate vertical and horizontal resizers. If input is the same as output on one axis, that resizer will be skipped. Which one is called first, is determined by which one has the smallest downscale ratio. This is done to preserve maximum quality, so the second resizer has the best possible picture to work with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant