abstract ¶
Antialiaser dataclass
¶
Antialiaser(
*,
field: int = 0,
drop_fields: bool = True,
transpose_first: bool = False,
shifter: KernelT | None = None,
scaler: ScalerT | None = None,
merge_func: Callable[[VideoNode, VideoNode], VideoNode] = Merge
)
Bases: DoubleRater
, SuperSampler
drop_fields class-attribute
instance-attribute
¶
merge_func class-attribute
instance-attribute
¶
merge_func: Callable[[VideoNode, VideoNode], VideoNode] = Merge
scaler class-attribute
instance-attribute
¶
shifter class-attribute
instance-attribute
¶
transpose_first class-attribute
instance-attribute
¶
aa ¶
aa(clip: VideoNode, dir: AADirection = BOTH, /, **kwargs: Any) -> VideoNode
aa(
clip: VideoNode,
y_or_dir: bool | AADirection = True,
x: bool = True,
/,
**kwargs: Any,
) -> VideoNode
Single rate aa with this antialiaser
Source code
275 276 277 278 279 280 281 282 283 284 285 286 287 288 |
|
copy ¶
copy(**kwargs: Any) -> T
Source code
71 72 73 |
|
draa ¶
draa(clip: VideoNode, dir: AADirection = BOTH, /, **kwargs: Any) -> VideoNode
draa(
clip: VideoNode,
y_or_dir: bool | AADirection = True,
x: bool = True,
/,
**kwargs: Any,
) -> VideoNode
Double rate aa with this antialiaser
Source code
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 |
|
get_aa_args ¶
Source code
56 57 |
|
get_sr_args ¶
Source code
177 178 |
|
get_ss_args ¶
Source code
85 86 |
|
interpolate ¶
Source code
35 36 |
|
preprocess_clip ¶
preprocess_clip(clip: VideoNode) -> VideoNode
Source code
53 54 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[float, float] = (0, 0),
**kwargs: Any
) -> VideoNode
Scale with this antialiaser
Source code
255 256 257 258 259 260 261 262 |
|
shift_interpolate ¶
Source code
59 60 61 62 63 64 65 66 67 68 69 |
|
DoubleRater dataclass
¶
DoubleRater(
*,
field: int = 0,
drop_fields: bool = True,
transpose_first: bool = False,
shifter: KernelT | None = None,
scaler: ScalerT | None = None,
merge_func: Callable[[VideoNode, VideoNode], VideoNode] = Merge
)
Bases: SingleRater
drop_fields class-attribute
instance-attribute
¶
merge_func class-attribute
instance-attribute
¶
merge_func: Callable[[VideoNode, VideoNode], VideoNode] = Merge
scaler class-attribute
instance-attribute
¶
shifter class-attribute
instance-attribute
¶
transpose_first class-attribute
instance-attribute
¶
aa ¶
aa(clip: VideoNode, dir: AADirection = BOTH, /, **kwargs: Any) -> VideoNode
aa(
clip: VideoNode,
y_or_dir: bool | AADirection = True,
x: bool = True,
/,
**kwargs: Any,
) -> VideoNode
Source code
190 191 192 193 194 195 196 197 198 199 200 201 |
|
copy ¶
copy(**kwargs: Any) -> T
Source code
71 72 73 |
|
get_aa_args ¶
Source code
56 57 |
|
get_sr_args ¶
Source code
177 178 |
|
interpolate ¶
Source code
35 36 |
|
preprocess_clip ¶
preprocess_clip(clip: VideoNode) -> VideoNode
Source code
53 54 |
|
shift_interpolate ¶
Source code
59 60 61 62 63 64 65 66 67 68 69 |
|
SingleRater dataclass
¶
SingleRater(
*,
field: int = 0,
drop_fields: bool = True,
transpose_first: bool = False,
shifter: KernelT | None = None,
scaler: ScalerT | None = None
)
Bases: _Antialiaser
drop_fields class-attribute
instance-attribute
¶
scaler class-attribute
instance-attribute
¶
shifter class-attribute
instance-attribute
¶
transpose_first class-attribute
instance-attribute
¶
aa ¶
aa(clip: VideoNode, dir: AADirection = BOTH, /, **kwargs: Any) -> VideoNode
aa(
clip: VideoNode,
y_or_dir: bool | AADirection = True,
x: bool = True,
/,
**kwargs: Any,
) -> VideoNode
Source code
190 191 192 193 194 195 196 197 198 199 200 201 |
|
copy ¶
copy(**kwargs: Any) -> T
Source code
71 72 73 |
|
get_aa_args ¶
Source code
56 57 |
|
get_sr_args ¶
Source code
177 178 |
|
interpolate ¶
Source code
35 36 |
|
preprocess_clip ¶
preprocess_clip(clip: VideoNode) -> VideoNode
Source code
53 54 |
|
shift_interpolate ¶
Source code
59 60 61 62 63 64 65 66 67 68 69 |
|
SuperSampler dataclass
¶
SuperSampler(
*,
field: int = 0,
drop_fields: bool = True,
transpose_first: bool = False,
shifter: KernelT | None = None,
scaler: ScalerT | None = None
)
Bases: _Antialiaser
, Scaler
drop_fields class-attribute
instance-attribute
¶
scaler class-attribute
instance-attribute
¶
shifter class-attribute
instance-attribute
¶
transpose_first class-attribute
instance-attribute
¶
copy ¶
copy(**kwargs: Any) -> T
Source code
71 72 73 |
|
get_aa_args ¶
Source code
56 57 |
|
get_ss_args ¶
Source code
85 86 |
|
interpolate ¶
Source code
35 36 |
|
preprocess_clip ¶
preprocess_clip(clip: VideoNode) -> VideoNode
Source code
53 54 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[float, float] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
|
shift_interpolate ¶
Source code
59 60 61 62 63 64 65 66 67 68 69 |
|