C# Class cadencii.media.AviWriterVfw

Inheritance: IAviWriter
Mostrar archivo Open project: cadencii/cadencii Class Usage Examples

Public Methods

Method Description
AddFrame ( Bitmap bmp ) : void
Close ( ) : void
Open ( string file_name, uint scale, uint rate, int width, int height, IntPtr hwnd ) : bool
RequireAudioCompressOption ( ) : AVICOMPRESSOPTIONS

オーディオ圧縮の設定ダイアログを表示し、オーディオ圧縮の設定を取得します

RequireVideoCompressOption ( AVICOMPRESSOPTIONS current_option ) : AVICOMPRESSOPTIONS
mmioFOURCC ( char ch0, char ch1, char ch2, char ch3 ) : Int32

Private Methods

Method Description
AVIFileCreateStream ( int ptr_pfile, IntPtr &ptr_ptr_avi, AVISTREAMINFOW &ptr_streaminfo ) : int
AVIFileExit ( ) : void
AVIFileInit ( ) : void
AVIFileOpenW ( int &ptr_pfile, [ fileName, int flags, int dummy ) : int
AVIFileRelease ( int pfile ) : int
AVIMakeCompressedStream ( IntPtr &ppsCompressed, IntPtr aviStream, AVICOMPRESSOPTIONS &ao, int dummy ) : int
AVISaveOptions ( IntPtr hwnd, UInt32 flags, int nStreams, IntPtr ptr_ptr_avi, AVICOMPRESSOPTIONS ao ) : int
AVIStreamOpenFromFileW ( IntPtr &ppavi, [ szfile, uint fccType, int lParam, int mode, int dumy ) : int
AVIStreamRelease ( IntPtr aviStream ) : int
AVIStreamSetFormat ( IntPtr aviStream, Int32 lPos, BITMAPINFO &lpFormat, Int32 cbFormat ) : int
AVIStreamWrite ( IntPtr aviStream, Int32 lStart, Int32 lSamples, IntPtr lpBuffer, Int32 cbBuffer, Int32 dwFlags, Int32 dummy1, Int32 dummy2 ) : int
CalcScaleAndRate ( decimal fps, uint &scale, uint &rate ) : void
CreateStream ( ) : void
SetOptions ( IntPtr hwnd ) : bool
pow10 ( int x ) : int

Method Details

AddFrame() public method

public AddFrame ( Bitmap bmp ) : void
bmp Bitmap
return void

Close() public method

public Close ( ) : void
return void

Open() public method

public Open ( string file_name, uint scale, uint rate, int width, int height, IntPtr hwnd ) : bool
file_name string
scale uint
rate uint
width int
height int
hwnd IntPtr
return bool

RequireAudioCompressOption() public static method

オーディオ圧縮の設定ダイアログを表示し、オーディオ圧縮の設定を取得します
public static RequireAudioCompressOption ( ) : AVICOMPRESSOPTIONS
return AVICOMPRESSOPTIONS

RequireVideoCompressOption() public static method

public static RequireVideoCompressOption ( AVICOMPRESSOPTIONS current_option ) : AVICOMPRESSOPTIONS
current_option AVICOMPRESSOPTIONS
return AVICOMPRESSOPTIONS

mmioFOURCC() public static method

public static mmioFOURCC ( char ch0, char ch1, char ch2, char ch3 ) : Int32
ch0 char
ch1 char
ch2 char
ch3 char
return Int32