C# 클래스 Business.AviSynthScriptBuilder

Facilitates the creation of AviSynth scripts.
파일 보기 프로젝트 열기: mysteryx93/NaturalGroundingPlayer 1 사용 예제들

공개 메소드들

메소드 설명
AddPluginPath ( ) : void

Adds a line containing the plugin path. Must be called before loading any other plugin.

AppendLine ( ) : void

Appends a line break to the script.

AppendLine ( IFormatProvider culture, string value ) : void

Appends a line to the script following specified format. Line break is automatically added.

AppendLine ( string value ) : void

Appends a line to the script following specified format. Line break is automatically added.

AviSynthScriptBuilder ( ) : System
AviSynthScriptBuilder ( string script ) : System
Cleanup ( ) : void

Moves all LoadPlugin and Import commands to the beginning to make the script more readable.

GetAsciiPath ( string path ) : string
LoadPluginAvsi ( string fileName ) : void
LoadPluginDll ( string fileName ) : void

If script ends with DitherPost(), replace it with Dither_out() when rawOutput is true. If rawOutput is false, it does the reverse.

OpenAvi ( string fileName, bool audio ) : void
OpenDirect ( string fileName, string cacheFile, bool audio, int threads ) : void
RemoveMT ( ) : void

Removes MultiThreading commands from script.

Replace ( string oldValue, string newValue ) : void

Replaces all instances of oldValue with newValue.

WriteToFile ( string fileName ) : void

비공개 메소드들

메소드 설명
GetShortPath ( string path ) : string
GetShortPathName ( [ path, [ shortPath, int shortPathLength ) : int
IsASCII ( string value ) : bool

메소드 상세

AddPluginPath() 공개 메소드

Adds a line containing the plugin path. Must be called before loading any other plugin.
public AddPluginPath ( ) : void
리턴 void

AppendLine() 공개 메소드

Appends a line break to the script.
public AppendLine ( ) : void
리턴 void

AppendLine() 공개 메소드

Appends a line to the script following specified format. Line break is automatically added.
public AppendLine ( IFormatProvider culture, string value ) : void
culture IFormatProvider The culture to use while formatting.
value string The value or format to append.
리턴 void

AppendLine() 공개 메소드

Appends a line to the script following specified format. Line break is automatically added.
public AppendLine ( string value ) : void
value string The value or format to append.
리턴 void

AviSynthScriptBuilder() 공개 메소드

public AviSynthScriptBuilder ( ) : System
리턴 System

AviSynthScriptBuilder() 공개 메소드

public AviSynthScriptBuilder ( string script ) : System
script string
리턴 System

Cleanup() 공개 메소드

Moves all LoadPlugin and Import commands to the beginning to make the script more readable.
public Cleanup ( ) : void
리턴 void

GetAsciiPath() 공개 메소드

public GetAsciiPath ( string path ) : string
path string
리턴 string

LoadPluginAvsi() 공개 메소드

public LoadPluginAvsi ( string fileName ) : void
fileName string
리턴 void

LoadPluginDll() 공개 메소드

If script ends with DitherPost(), replace it with Dither_out() when rawOutput is true. If rawOutput is false, it does the reverse.
public LoadPluginDll ( string fileName ) : void
fileName string
리턴 void

OpenAvi() 공개 메소드

public OpenAvi ( string fileName, bool audio ) : void
fileName string
audio bool
리턴 void

OpenDirect() 공개 메소드

public OpenDirect ( string fileName, string cacheFile, bool audio, int threads ) : void
fileName string
cacheFile string
audio bool
threads int
리턴 void

RemoveMT() 공개 메소드

Removes MultiThreading commands from script.
public RemoveMT ( ) : void
리턴 void

Replace() 공개 메소드

Replaces all instances of oldValue with newValue.
public Replace ( string oldValue, string newValue ) : void
oldValue string The string to be replaced.
newValue string The string to replace with.
리턴 void

WriteToFile() 공개 메소드

public WriteToFile ( string fileName ) : void
fileName string
리턴 void