Chikuzen
23rd June 2011, 05:19
This is a plugin so that I may learn how to invoke internal functions.
I think this is convenient to encode for mobile devices, to preview, etc.
ARDeformation_20110622.zip (http://www.mediafire.com/download.php?6sx01rj17wlp72z)
https://github.com/chikuzen/ARDeformation
REQUIREMENT:
Avisynth2.6.0alpha3 or later
SSE capable CPU
msvcr100.dll
USAGE:
DARPadding(clip, float "dar_x", float "dar_y", int "color", int "align")
Pad to the clip in specified display aspect ratio.
dar_x: numerater of DAR (default: width of clip).
dar_y: denominator of DAR (default: height of clip).
align: correct width of top/left border to be multipul of specified value(default: 16).
color: color of borders (default: $000000(black)).
ARResize(clip, float "ar_x", float "ar_y", float "src_left", float "src_top", float "src_right", float "src_bottom",
float "ep0", float "ep1", int "dest_w", int "dest_h", string "resizer", bool "expand", string "mode")
Resize the clip in specified display|sample(pixel) aspect ratio.
ar_x : numerater of AR (default: width of clip(dar) or 1(sar|par)).
ar_y : denominator of AR (default: height of clip(dar) or 1(sar|par)).
src_* : same as internal resizers argument.
ep0 : optional arguments for some resizers (e.g. Lanczos's "taps", Bicubic's "b")
ep1 : optional argument for BicubicResize("c")
dest_w : specify the value of width after resized.(default: 0(undef))
dest_h : specify the value of height after resized. if "dest_w" is specified, this is disregarded.(default: 0(undef))
resizer : resizer envoked internaly.
acceptable values -- "Point", "Bilinear", "Bicubic", "Lanczos", "Lanczos4", "Blackman",
"Spline16", "Spline36", "Spline64", "Sinc", "Gauss" (default: "Bicubic")
expand : Choice of expansion(true) or reduction(false). if "dest_w" or "dest_h" is specified, this is disregarded.(default: true).
mode : type of aspect ratio. acceptable values -- "dar", "sar" and "par" (default: "dar").
I think this is convenient to encode for mobile devices, to preview, etc.
ARDeformation_20110622.zip (http://www.mediafire.com/download.php?6sx01rj17wlp72z)
https://github.com/chikuzen/ARDeformation
REQUIREMENT:
Avisynth2.6.0alpha3 or later
SSE capable CPU
msvcr100.dll
USAGE:
DARPadding(clip, float "dar_x", float "dar_y", int "color", int "align")
Pad to the clip in specified display aspect ratio.
dar_x: numerater of DAR (default: width of clip).
dar_y: denominator of DAR (default: height of clip).
align: correct width of top/left border to be multipul of specified value(default: 16).
color: color of borders (default: $000000(black)).
ARResize(clip, float "ar_x", float "ar_y", float "src_left", float "src_top", float "src_right", float "src_bottom",
float "ep0", float "ep1", int "dest_w", int "dest_h", string "resizer", bool "expand", string "mode")
Resize the clip in specified display|sample(pixel) aspect ratio.
ar_x : numerater of AR (default: width of clip(dar) or 1(sar|par)).
ar_y : denominator of AR (default: height of clip(dar) or 1(sar|par)).
src_* : same as internal resizers argument.
ep0 : optional arguments for some resizers (e.g. Lanczos's "taps", Bicubic's "b")
ep1 : optional argument for BicubicResize("c")
dest_w : specify the value of width after resized.(default: 0(undef))
dest_h : specify the value of height after resized. if "dest_w" is specified, this is disregarded.(default: 0(undef))
resizer : resizer envoked internaly.
acceptable values -- "Point", "Bilinear", "Bicubic", "Lanczos", "Lanczos4", "Blackman",
"Spline16", "Spline36", "Spline64", "Sinc", "Gauss" (default: "Bicubic")
expand : Choice of expansion(true) or reduction(false). if "dest_w" or "dest_h" is specified, this is disregarded.(default: true).
mode : type of aspect ratio. acceptable values -- "dar", "sar" and "par" (default: "dar").