placebo ¶
Classes:
-
EwaBicubic
– -
EwaGinseng
– -
EwaHann
– -
EwaJinc
– -
EwaLanczos
– -
EwaRobidoux
– -
EwaRobidouxSharp
– -
Placebo
–Abstract Placebo scaler.
EwaBicubic ¶
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
105 106 107 108 109 110 111 112 113 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
EwaGinseng ¶
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
133 134 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
EwaHann ¶
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
140 141 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
EwaJinc ¶
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
126 127 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
EwaLanczos ¶
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
119 120 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
EwaRobidoux ¶
EwaRobidoux(**kwargs: Any)
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
147 148 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
EwaRobidouxSharp ¶
EwaRobidouxSharp(**kwargs: Any)
Bases: Placebo
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
154 155 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|
Placebo ¶
Placebo(
taps: float | None = None,
b: float | None = None,
c: float | None = None,
clamp: float = 0.0,
blur: float = 0.0,
taper: float = 0.0,
antiring: float = 0.0,
**kwargs: Any
)
Bases: ComplexScaler
Abstract Placebo scaler.
Dependencies:
- vs-placebo https://github.com/sgt0/vs-placebo`_
Methods:
-
ensure_obj
– -
from_param
– -
get_clean_kwargs
– -
get_implemented_funcs
– -
get_params_args
– -
get_scale_args
– -
kernel_radius
– -
multi
– -
pretty_string
– -
scale
– -
supersample
–
Attributes:
-
antiring
(float
) – -
b
(float | None
) – -
blur
(float
) – -
c
(float | None
) – -
clamp
(float
) – -
kwargs
(KwargsT
) –Arguments passed to the internal scale function
-
scale_function
– -
taper
(float
) – -
taps
(float | None
) –
Source code
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
|
kwargs instance-attribute
¶
kwargs: KwargsT = kwargs
Arguments passed to the internal scale function
ensure_obj classmethod
¶
ensure_obj(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> BaseScalerT
Source code
201 202 203 204 205 206 207 208 |
|
from_param classmethod
¶
from_param(
scaler: str | type[BaseScalerT] | BaseScalerT | None = None,
/,
func_except: FuncExceptT | None = None,
) -> type[BaseScalerT]
Source code
192 193 194 195 196 197 198 199 |
|
get_clean_kwargs ¶
Source code
216 217 |
|
get_implemented_funcs ¶
Source code
299 300 |
|
get_params_args ¶
get_params_args(
is_descale: bool,
clip: VideoNode,
width: int | None = None,
height: int | None = None,
**kwargs: Any
) -> dict[str, Any]
Source code
79 80 81 82 83 84 85 86 87 |
|
get_scale_args ¶
get_scale_args(
clip: VideoNode,
shift: tuple[TopShift, LeftShift] = (0, 0),
width: int | None = None,
height: int | None = None,
*funcs: Callable[..., Any],
**kwargs: Any
) -> dict[str, Any]
Source code
67 68 69 70 71 72 73 74 75 76 77 |
|
kernel_radius ¶
kernel_radius() -> int
Source code
89 90 91 92 93 94 95 96 97 98 99 |
|
multi ¶
multi(
clip: VideoNode,
multi: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
272 273 274 275 276 277 278 279 280 281 |
|
pretty_string ¶
pretty_string() -> str
Source code
225 226 227 |
|
scale ¶
scale(
clip: VideoNode,
width: int | None = None,
height: int | None = None,
shift: tuple[TopShift, LeftShift] = (0, 0),
*,
border_handling: BorderHandling = MIRROR,
sample_grid_model: SampleGridModel = MATCH_EDGES,
sar: Sar | float | bool | None = None,
dar: Dar | float | bool | None = None,
dar_in: Dar | bool | float | None = None,
keep_ar: bool | None = None,
linear: bool = False,
sigmoid: bool | tuple[Slope, Center] = False,
**kwargs: Any
) -> VideoNode
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
supersample ¶
supersample(
clip: VideoNode,
rfactor: float = 2.0,
shift: tuple[TopShift, LeftShift] = (0, 0),
**kwargs: Any
) -> VideoNode
Source code
257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
|