libvisual
0.5.0
|
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... | |
VisMorph * | visual_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) |
VisPalette * | visual_morph_get_palette (VisMorph *morph) |
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.
plugin | Plugin object |
progress | Morph progress (must be in [0.0 and 1]) |
audio | Audio data |
src1 | First source Video |
src2 | Second 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.
plugin | Plugin object |
progress | Morph progress (must be in [0.0, 1.0]) |
audio | Audio data |
palette | Palette generated by LV |
src1 | First source Video |
src2 | Second source Video |
Definition at line 196 of file lv_morph.h.
const char* visual_morph_get_next_by_name | ( | const char * | name | ) |
Returns the name of the next available morph plugin.
name | Name of the current plugin, or NULL to retrieve the first. |
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.
name | Name of the current plugin. or NULL to retrieve the last. |
Definition at line 42 of file lv_morph_c.cpp.