C# Class Tao.Sdl.Smpeg

Mostrar archivo Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
SMPEG_double ( IntPtr mpeg, int on ) : void

Scale pixel display on an SMPEG object

Binds to a C-function call in smpeg.h //#define SMPEG_double(mpeg, on) \ SMPEG_scale(mpeg, (on) ? 2 : 1)

Private Methods

Method Description
SMPEG_VERSION ( ) : Smpeg.SMPEG_version
SMPEG_actualSpec ( IntPtr mpeg, Tao.Sdl.Sdl &spec ) : void
SMPEG_delete ( IntPtr mpeg ) : void
SMPEG_enableaudio ( IntPtr mpeg, int enable ) : void
SMPEG_enablevideo ( IntPtr mpeg, int enable ) : void
SMPEG_error ( IntPtr mpeg ) : string
SMPEG_filter ( IntPtr mpeg, IntPtr filter ) : IntPtr
SMPEG_getinfo ( IntPtr mpeg, SMPEG_Info &info ) : void
SMPEG_loop ( IntPtr mpeg, int repeat ) : void
SMPEG_move ( IntPtr mpeg, int x, int y ) : void
SMPEG_new ( string file, SMPEG_Info &info, int sdl_audio ) : IntPtr
SMPEG_new_data ( object data, int size, SMPEG_Info &info, int sdl_audio ) : IntPtr
SMPEG_new_descr ( int file, SMPEG_Info &info, int sdl_audio ) : IntPtr
SMPEG_new_rwops ( IntPtr src, SMPEG_Info &info, int sdl_audio ) : IntPtr
SMPEG_pause ( IntPtr mpeg ) : void
SMPEG_play ( IntPtr mpeg ) : void
SMPEG_playAudio ( IntPtr mpeg, byte stream, int len ) : int
SMPEG_playAudioSDL ( IntPtr mpeg, byte stream, int len ) : void
SMPEG_renderFinal ( IntPtr mpeg, IntPtr dst, int x, int y ) : void
SMPEG_renderFrame ( IntPtr mpeg, int framenum ) : void
SMPEG_rewind ( IntPtr mpeg ) : void
SMPEG_scale ( IntPtr mpeg, int scale ) : void
SMPEG_scaleXY ( IntPtr mpeg, int width, int height ) : void
SMPEG_seek ( IntPtr mpeg, int bytes ) : void
SMPEG_setdisplay ( IntPtr mpeg, IntPtr dst, IntPtr surfLock, SMPEG_DisplayCallback callback ) : void
SMPEG_setdisplayregion ( IntPtr mpeg, int x, int y, int w, int h ) : void
SMPEG_setvolume ( IntPtr mpeg, int volume ) : void
SMPEG_skip ( IntPtr mpeg, float seconds ) : void
SMPEG_status ( IntPtr mpeg ) : int
SMPEG_stop ( IntPtr mpeg ) : void
SMPEG_wantedSpec ( IntPtr mpeg, IntPtr wanted ) : int
SMPEGfilter_bilinear ( ) : IntPtr
SMPEGfilter_deblocking ( ) : IntPtr
SMPEGfilter_null ( ) : IntPtr

Method Details

SMPEG_double() public static method

Scale pixel display on an SMPEG object

Binds to a C-function call in smpeg.h //#define SMPEG_double(mpeg, on) \ SMPEG_scale(mpeg, (on) ? 2 : 1)

public static SMPEG_double ( IntPtr mpeg, int on ) : void
mpeg System.IntPtr Handle to MPEG file.
on int
return void