libvisual  0.5.0
Namespaces | Classes | Typedefs | Functions
VisMorph
Collaboration diagram for VisMorph:

Namespaces

namespace  LV
 Libvisual namespace.
 

Classes

struct  VisMorphPlugin
 Morph plugin class. More...
 

Typedefs

typedef LV::Morph VisMorph
 
typedef void(* VisPluginMorphPaletteFunc )(VisPluginData *plugin, float progress, VisAudio *audio, VisPalette *palette, VisVideo *src1, VisVideo *src2)
 Function signature and type of the Morph palette() method. More...
 
typedef void(* VisPluginMorphApplyFunc )(VisPluginData *plugin, float progress, VisAudio *audio, VisVideo *dest, VisVideo *src1, VisVideo *src2)
 Function signature and type of the Morph apply() method. More...
 

Functions

const char * visual_morph_get_next_by_name (const char *name)
 Returns the name of the next available morph plugin. More...
 
const char * visual_morph_get_prev_by_name (const char *name)
 Returns the name of the previous available morph plugin. More...
 
VisMorphvisual_morph_new (const char *name)
 
void visual_morph_ref (VisMorph *morph)
 
void visual_morph_unref (VisMorph *morph)
 
VisPluginData * visual_morph_get_plugin (VisMorph *morph)
 
VisVideoDepth visual_morph_get_supported_depths (VisMorph *morph)
 
VisVideoAttrOptions * visual_morph_get_video_attribute_options (VisMorph *morph)
 
int visual_morph_requests_audio (VisMorph *morph)
 
void visual_morph_set_video (VisMorph *morph, VisVideo *video)
 
void visual_morph_set_time (VisMorph *morph, VisTime *time)
 
void visual_morph_set_progress (VisMorph *morph, float progress)
 
int visual_morph_realize (VisMorph *morph)
 
int visual_morph_run (VisMorph *morph, VisAudio *audio, VisVideo *src1, VisVideo *src2)
 
int visual_morph_is_done (VisMorph *morph)
 
VisPalettevisual_morph_get_palette (VisMorph *morph)
 

Detailed Description

Typedef Documentation

typedef void(* VisPluginMorphApplyFunc)(VisPluginData *plugin, float progress, VisAudio *audio, VisVideo *dest, VisVideo *src1, VisVideo *src2)

Function signature and type of the Morph apply() method.

The apply() method is called to render the morph of two Actor renders.

Parameters
pluginPlugin object
progressMorph progress (must be in [0.0 and 1])
audioAudio data
src1First source Video
src2Second source Video

Definition at line 214 of file lv_morph.h.

typedef void(* VisPluginMorphPaletteFunc)(VisPluginData *plugin, float progress, VisAudio *audio, VisPalette *palette, VisVideo *src1, VisVideo *src2)

Function signature and type of the Morph palette() method.

The palette() method is called to obtain the colour palette used in 8-bit rendering modes.

Parameters
pluginPlugin object
progressMorph progress (must be in [0.0, 1.0])
audioAudio data
palettePalette generated by LV
src1First source Video
src2Second source Video

Definition at line 196 of file lv_morph.h.

Function Documentation

const char* visual_morph_get_next_by_name ( const char *  name)

Returns the name of the next available morph plugin.

See Also
visual_morph_get_prev_by_name()
Parameters
nameName of the current plugin, or NULL to retrieve the first.
Returns
The name of the next plugin within the list.

Definition at line 37 of file lv_morph_c.cpp.

const char* visual_morph_get_prev_by_name ( const char *  name)

Returns the name of the previous available morph plugin.

See Also
visual_morph_get_next_by_name()
Parameters
nameName of the current plugin. or NULL to retrieve the last.
Returns
The name of the previous plugin within the list.

Definition at line 42 of file lv_morph_c.cpp.