utils ¶
Functions:
-
normalize_thscd– -
refine_blksize–Normalize and refine blksize.
normalize_thscd ¶
normalize_thscd(
thscd: int | tuple[int | None, float | None] | None,
) -> tuple[int | None, float | None]
Source code in vsdenoise/mvtools/utils.py
29 30 | |
refine_blksize ¶
refine_blksize(
blksize: int | tuple[int, ...], divisor: int | tuple[int, ...] = (2, 2)
) -> tuple[int, int]
Normalize and refine blksize.
Parameters:
-
(blksize¶int | tuple[int, ...]) –Block size to refine.
-
(divisor¶int | tuple[int, ...], default:(2, 2)) –Block size divisor.
Returns:
Source code in vsdenoise/mvtools/utils.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |