()
| 399 | parser.add_argument('--stepping', '-steps', dest='steps', type=int, default=1, help='This changes the way getnative will handle resolutions. Example steps=3 [500p, 503p, 506p ...]') |
| 400 | parser.add_argument('--output-dir', '-dir', dest='dir', type=str, default="", help='Sets the path of the output dir where you want all results to be saved. (/results will always be added as last folder)') |
| 401 | def main(): |
| 402 | parser.add_argument(dest='input_file', type=str, help='Absolute or relative path to the input file') |
| 403 | parser.add_argument('--use', '-u', default=None, help='Use specified source filter e.g. (lsmas.LWLibavSource)') |
| 404 | parser.add_argument('--mode', '-m', dest='mode', type=str, choices=_modes, default=None, help='Choose a predefined mode ["bilinear", "bicubic", "bl-bc", "all"]') |
| 405 | |
| 406 | start = time.time() |
| 407 | _getnative() |
| 408 | print(f'done in {time.time() - start:.2f}s', file=sys.stderr) |
nothing calls this directly
no test coverage detected