Functions Index :: S

[<< packages]
NameDescription PackageModule

SafeHeight

Returns (by rounding) the closest to target_height safe height.

Safe here means that the returned height is compatible with the format of clip c, taking into account interlacing-imposed constrains (if interlaced is supplied and is true)...

clip

core

SafeWidth

Returns (by rounding) the closest to target_width safe width.

Safe here means that the returned width is compatible with the format of clip c ...

clip

core

ScaleToPC

Scales a clip to PC range ([0..255]) if it is YUV. Else returns it unchanged...

filters

utility

ScaleToTV

Scales a clip to CCIR range ([16..235]) if it is YUV. Else returns it unchanged...

filters

utility

Self

Returns its argument unchanged...

base

core

SetDebugFile

Sets the filename of the current debug log file used by DebugLog()...

debug

logging

SetDebugMode

Sets the value of the current debug mode (level). See DebugLog() for further details....

debug

logging

SetDefaultResizer

Sets the default resizer that is used by the Resize... family of filters when the resizer parameter does not explicitly be supplied to them...

filters

resize

ShowBlue

A filter for Avisynth versions up to 2.55 providing equivalent functionality with the corresponding filter of Avisynth 2.56 and later...

filters

channels

ShowGreen

A filter for Avisynth versions up to 2.55 providing equivalent functionality with the corresponding filter of Avisynth 2.56 and later...

filters

channels

ShowRed

A filter for Avisynth versions up to 2.55 providing equivalent functionality with the corresponding filter of Avisynth 2.56 and later...

filters

channels

ShowU

A YUV filter analogus to the Show{Red/Green/Blue} RGB filters. It returns the c clip's U channel as a clip with pixel_type colorspace (or the original if no pixel_type is s...

filters

channels

ShowV

A YUV filter analogus to the Show{Red/Green/Blue} RGB filters. It returns the c clip's V channel as a clip with pixel_type colorspace (or the original if no pixel_type is s...

filters

channels

ShowY

A YUV filter analogus to the Show{Red/Green/Blue} RGB filters. It returns the c clip's Y channel as a clip with pixel_type colorspace (or the original if no pixel_type is s...

filters

channels

Sinh

Returns the hyperbolic sine of its argument...

numeric

functions

SplitRGBColor

Returns an (R, G, B) integer array, mapping appropriately the rgb_color RGB color value to red, green, blue values. The array values are in the range [0..255]...

clip

core

SplitVideoChannels

Splits clip c into an array containing the individual clip's channels (R, G, B[, A] or Y, U, V depending on c's colorspace) and (at index 0) a pixel type string description (thus the array returned is a mixed-type array).

The optional pixel_type argument can be ...

filters

channels

Stack

Stacks the clips contained in clips array to a nrows times ncols matrix ...

filters

stack

StackToFit

Stacks the clips contained in clips array to a rectangular matrix such as the resulting clip has target_w width and target_h height. The clips...

filters

stack

StDev

Returns the (statistical) standard deviation of its arguments...

numeric

statistics

StrCompare

Compares strings s1 and s2 and returns -1,0,1 if s1 < s2, s1 == s2, s1 > s2, respectively...

string

core

StrFill

Returns a string consisting of count repetitions of s.

If count == 0, a null string is returned.

The strict optional parameter when set to false makes the function to return a null string when a negative count value is passed (the default...

string

core

StrFind

A generic substring search function that can return all positions of occurrence of sought inside base (as an array) or a specific occurrence (as a zero-based index of the array).

Both case-sensitive and case-insensitive searches are supported, controlled by...

string

search

StrLeft

A replacement of LeftStr standard Avisynth function. For Avisynth versions up to 2.55 offers the ability to handle twice as large strings than the standard function; for later versions it has the same functionality...

string

core

StrMid

A replacement of MidStr standard Avisynth function. For Avisynth versions up to 2.55 offers the ability to handle twice as large strings than the standard function; for later versions it has the same functionality...

string

core

StrPrint

An sprintf-like string formatting function.

It permits incorporation of string representations of up to 50 variables into a pre-built expression (the format string).

It also allows the incorporation of format characters (tabs, linebreaks, etc.).

Very useful for creating subtitles, log...

string

sprintf

StrQuote

Returns its argument with one " character added at the begining and at the end...

string

core

StrReplace

A generic substring replacement function that can replace all occurrences of sought inside base...

string

search

StrRight

A replacement of RightStr standard Avisynth function. For Avisynth versions up to 2.55 offers the ability to handle twice as large strings than the standard function; for later versions it has the same functionality...

string

core

StrUnquote

Returns its argument with one " character at the begining and one at the end stripped (if both they exist). " characters inside the string are left untouched...

string

core

Sum

Returns the sum of its arguments...

numeric

core

Sum2

Returns the sum of its arguments...

numeric

core

SumSquare

Returns the sum of squares of its arguments (ie each argument is raised to a power of 2 before contributing to the sum)...

numeric

statistics

 

[<< top]