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

Namespaces

namespace  LV
 Libvisual namespace.
 

Classes

struct  VisActorPlugin
 Actor plugin class. More...
 

Typedefs

typedef LV::Actor VisActor
 
typedef void(* VisPluginActorRequisitionFunc )(VisPluginData *plugin, int *width, int *height)
 Function signature and type of the Actor requisition() method. More...
 
typedef VisPalette *(* VisPluginActorPaletteFunc )(VisPluginData *plugin)
 Function signature and type of the Actor palette() method. More...
 
typedef void(* VisPluginActorRenderFunc )(VisPluginData *plugin, VisVideo *video, VisAudio *audio)
 Function signature and type of the Actor render() method. More...
 

Functions

VisPluginData * visual_actor_get_plugin (VisActor *actor)
 
const char * visual_actor_get_prev_by_name_gl (const char *name)
 
const char * visual_actor_get_next_by_name_gl (const char *name)
 
const char * visual_actor_get_prev_by_name_nogl (const char *name)
 
const char * visual_actor_get_next_by_name_nogl (const char *name)
 
const char * visual_actor_get_prev_by_name (const char *name)
 
const char * visual_actor_get_next_by_name (const char *name)
 
VisActorvisual_actor_new (const char *name)
 
int visual_actor_realize (VisActor *actor)
 
void visual_actor_run (VisActor *actor, VisAudio *audio)
 
void visual_actor_ref (VisActor *actor)
 
void visual_actor_unref (VisActor *actor)
 
VisSongInfovisual_actor_get_songinfo (VisActor *actor)
 
VisPalettevisual_actor_get_palette (VisActor *actor)
 
VisVideoDepth visual_actor_get_supported_depths (VisActor *actor)
 
VisVideoAttrOptions * visual_actor_get_video_attribute_options (VisActor *actor)
 
void visual_actor_set_video (VisActor *actor, VisVideo *video)
 
VisVideovisual_actor_get_video (VisActor *actor)
 
int visual_actor_video_negotiate (VisActor *actor, VisVideoDepth run_depth, int noevent, int forced)
 

Detailed Description

Typedef Documentation

typedef VisPalette*(* VisPluginActorPaletteFunc)(VisPluginData *plugin)

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

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

Parameters
pluginPlugin object
Returns
Color palette used by Actor, or NULL

Definition at line 205 of file lv_actor.h.

typedef void(* VisPluginActorRenderFunc)(VisPluginData *plugin, VisVideo *video, VisAudio *audio)

Function signature and type of the Actor render() method.

The render() method is called to render the actor.

Parameters
pluginPlugin object
videoVideo to render to
audioAudio data to visualise

Definition at line 216 of file lv_actor.h.

typedef void(* VisPluginActorRequisitionFunc)(VisPluginData *plugin, int *width, int *height)

Function signature and type of the Actor requisition() method.

The requisition() method is called to query and configure the preferred rendering dimensions.

Parameters
pluginPlugin object
[in,out]widthSuggested width
[in,out]heightSuggested height

Definition at line 194 of file lv_actor.h.