exprop ¶
ExprList ¶
Bases: StrList
__call__ ¶
__call__(
*clips: VideoNodeIterable,
planes: PlanesT = None,
format: HoldsVideoFormatT | VideoFormatT | None = None,
opt: bool | None = None,
boundary: bool = True,
force_akarin: Literal[False] | FuncExceptT = False,
func: FuncExceptT | None = None,
split_planes: bool = False,
**kwargs: Any
) -> VideoNode
Source code
114 115 116 117 118 119 120 121 122 123 124 |
|
ExprOp ¶
Bases: ExprOpBase
, CustomEnum
__call__ ¶
__call__(
*clips: VideoNodeIterable,
suffix: StrArrOpt = None,
prefix: StrArrOpt = None,
expr_suffix: StrArrOpt = None,
expr_prefix: StrArrOpt = None,
planes: PlanesT = None,
**expr_kwargs: Any
) -> VideoNode
__call__(*pos_args: Any, **kwargs: Any) -> ExprOpBase
__call__(*pos_args: Any, **kwargs: Any) -> VideoNode | ExprOpBase
Source code
223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
|
clamp classmethod
¶
clamp(
min: float | ExprToken = RangeMin,
max: float | ExprToken = RangeMax,
c: str = "",
) -> ExprList
Source code
250 251 252 253 254 255 256 257 258 |
|
combine ¶
combine(
*clips: VideoNode | Iterable[VideoNode | Iterable[VideoNode]],
suffix: StrArrOpt = None,
prefix: StrArrOpt = None,
expr_suffix: StrArrOpt = None,
expr_prefix: StrArrOpt = None,
planes: PlanesT = None,
**expr_kwargs: Any
) -> VideoNode
Source code
157 158 159 160 161 162 163 164 |
|
convolution classmethod
¶
convolution(
var: str | ExprVarsT,
matrix: Iterable[SupportsFloat] | Iterable[Iterable[SupportsFloat]],
bias: float | None = None,
divisor: float | bool = True,
saturate: bool = True,
mode: ConvMode = HV,
premultiply: float | int | None = None,
multiply: float | int | None = None,
clamp: bool = False,
) -> TupleExprList
Source code
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
|
mae classmethod
¶
mae(planesa: ExprVarRangeT, planesb: ExprVarRangeT | None = None) -> ExprList
Source code
387 388 389 390 391 392 393 394 395 396 397 |
|
matrix classmethod
¶
matrix(
var: str | ExprVarsT,
radius: int,
mode: ConvMode,
exclude: Iterable[tuple[int, int]] | None = None,
) -> TupleExprList
Source code
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 |
|
rmse classmethod
¶
rmse(planesa: ExprVarRangeT, planesb: ExprVarRangeT | None = None) -> ExprList
Source code
374 375 376 377 378 379 380 381 382 383 384 385 |
|
ExprOpBase ¶
Bases: str
combine ¶
combine(
*clips: VideoNode | Iterable[VideoNode | Iterable[VideoNode]],
suffix: StrArrOpt = None,
prefix: StrArrOpt = None,
expr_suffix: StrArrOpt = None,
expr_prefix: StrArrOpt = None,
planes: PlanesT = None,
**expr_kwargs: Any
) -> VideoNode
Source code
157 158 159 160 161 162 163 164 |
|
ExprToken ¶
Bases: ExprTokenBase
, CustomEnum
get_value ¶
get_value(
clip: VideoNode,
chroma: bool | None = None,
range_in: ColorRange | None = None,
) -> float
Source code
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
TupleExprList ¶
__call__ ¶
__call__(
*clips: VideoNodeIterable,
planes: PlanesT = None,
format: HoldsVideoFormatT | VideoFormatT | None = None,
opt: bool | None = None,
boundary: bool = True,
force_akarin: Literal[False] | FuncExceptT = False,
func: FuncExceptT | None = None,
split_planes: bool = False,
**kwargs: Any
) -> VideoNode
Source code
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
|