This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function aWarpSharp4xx (clip src, int "thresh", int "blur", int "type", int "depth", int "depthC", int "chroma", bool "lsb", string "cplace") | |
{ | |
depth = default(depth, 16) | |
depthC = default(depthC, src.IsYV24 ? depth : depth/2) #depth/3 is claimed to work better | |
chroma = default(chroma, 4) | |
lsb = default(lsb, false) | |
cplace = default(cplace, "MPEG2") | |
assert(src.IsPlanar, "aWarpSharp4xx: input clip must be planar YUV") | |
assert(0 <= chroma <= 6, "aWarpSharp4xx: argument chroma must be an integer between 0 and 6.") |