types ¶
BorderHandling ¶
Bases: CustomIntEnum
pad_amount cached
¶
Source code
36 37 38 39 40 41 |
|
prepare_clip ¶
prepare_clip(clip: VideoNode, min_pad: int = 2) -> VideoNode
Source code
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
SampleGridModel ¶
Bases: CustomIntEnum
__call__ ¶
__call__(
width: int,
height: int,
src_width: float,
src_height: float,
shift: tuple[float, float],
kwargs: KwargsT,
) -> tuple[KwargsT, tuple[float, float]]
Source code
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
for_dst ¶
for_dst(
clip: VideoNode,
width: int,
height: int,
shift: tuple[float, float],
**kwargs: Any
) -> tuple[KwargsT, tuple[float, float]]
Source code
63 64 65 66 67 68 69 |
|
for_src ¶
for_src(
clip: VideoNode,
width: int,
height: int,
shift: tuple[float, float],
**kwargs: Any
) -> tuple[KwargsT, tuple[float, float]]
Source code
71 72 73 74 75 76 77 |
|