Tao.Sdl SDK Documentation

Smpeg Methods

The methods of the Smpeg class are listed below. For a complete list of Smpeg class members, see the Smpeg Members topic.

Public Static (Shared) Methods

SMPEG_actualSpec Inform SMPEG of the actual SDL audio spec used for sound playback
SMPEG_delete Delete an SMPEG object.
SMPEG_double Scale pixel display on an SMPEG object
SMPEG_enableaudio Enable or disable audio playback in MPEG stream
SMPEG_enablevideo Enable or disable video playback in MPEG stream
SMPEG_error SMPEG errors messages.
SMPEG_filter Set video filter
SMPEG_getinfo Get current information about an SMPEG object
SMPEG_loop Set or clear looping play on an SMPEG object
SMPEG_move Move the video display area within the destination surface
SMPEG_new Create a new SMPEG object from an MPEG file.
SMPEG_new_data Create a new SMPEG object from for a raw chunk of data.
SMPEG_new_descr Create a new SMPEG object from a file descriptor.
SMPEG_new_rwops Create a new SMPEG object from a generic SDL_RWops structure.
SMPEG_pause Pause/Resume playback of an SMPEG object
SMPEG_play Play an SMPEG object
SMPEG_playAudio Exported callback function for audio playback.
SMPEG_playAudioSDL Wrapper for SMPEG_playAudio() that can be passed to SDL and SDL_mixer. Exported callback function for audio playback.
SMPEG_renderFinal Render the last frame of an MPEG video
SMPEG_renderFrame Render a particular frame in the MPEG video
SMPEG_rewind Rewind the play position of an SMPEG object to the beginning of the MPEG
SMPEG_scale Scale pixel display on an SMPEG object
SMPEG_scaleXY Scale pixel display on an SMPEG object
SMPEG_seek Seek 'bytes' bytes in the MPEG stream
SMPEG_setdisplay Set the destination surface for MPEG video playback
SMPEG_setdisplayregion Set the region of the video to be shown
SMPEG_setvolume Set the audio volume of an MPEG stream, in the range 0-100
SMPEG_skip Skip 'seconds' seconds in the MPEG stream
SMPEG_status Get the current status of an SMPEG object
SMPEG_stop Stop playback of an SMPEG object
SMPEG_VERSION This method can be used to fill a version structure with the compile-time version of the SMPEG library.
SMPEG_wantedSpec Get the best SDL audio spec for the audio stream
SMPEGfilter_bilinear The bilinear filter. A basic low-pass filter that will produce a smoother image.
SMPEGfilter_deblocking The deblocking filter. It filters block borders and non-intra coded blocks to reduce blockiness
SMPEGfilter_null The null filter (default). It simply copies the source rectangle to the video overlay.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

See Also

Smpeg Class | Tao.Sdl Namespace