24 #include "lv_plugin_registry.h"
29 get_actor_plugin_list ()
36 const char *visual_actor_get_prev_by_name_gl (
const char *name)
38 const char *prev = name;
42 prev = visual_actor_get_prev_by_name (prev);
58 const char *visual_actor_get_next_by_name_gl (
const char *name)
60 const char *next =
nullptr;
64 next = visual_actor_get_next_by_name (next);
80 const char *visual_actor_get_prev_by_name_nogl (
const char *name)
82 const char *prev = name;
86 prev = visual_actor_get_prev_by_name (prev);
102 const char *visual_actor_get_next_by_name_nogl (
const char *name)
104 const char *next = name;
108 next = visual_actor_get_next_by_name (next);
124 const char *visual_actor_get_prev_by_name (
const char *name)
129 const char *visual_actor_get_next_by_name (
const char *name)
134 VisActor *visual_actor_new (
const char *name)
138 LV::intrusive_ptr_add_ref (
self.
get ());
144 void visual_actor_ref (
VisActor *
self)
146 visual_return_if_fail (
self !=
nullptr);
148 LV::intrusive_ptr_add_ref (
self);
151 void visual_actor_unref (
VisActor *
self)
153 visual_return_if_fail (
self !=
nullptr);
155 LV::intrusive_ptr_release (
self);
158 int visual_actor_realize (
VisActor *
self)
160 visual_return_val_if_fail (
self !=
nullptr, FALSE);
162 return self->realize ();
167 visual_return_if_fail (
self !=
nullptr);
168 visual_return_if_fail (audio !=
nullptr);
173 VisPluginData *visual_actor_get_plugin (
VisActor *
self)
175 visual_return_val_if_fail (
self !=
nullptr,
nullptr);
177 return self->get_plugin ();
182 visual_return_val_if_fail (
self !=
nullptr,
nullptr);
184 return const_cast<VisSongInfo*
> (
self->get_songinfo ());
189 visual_return_val_if_fail (
self !=
nullptr,
nullptr);
191 return const_cast<VisPalette*
> (
self->get_palette ());
199 return self->get_supported_depths ();
202 VisVideoAttrOptions *visual_actor_get_video_attribute_options (
VisActor *
self)
204 visual_return_val_if_fail (
self !=
nullptr,
nullptr);
206 return const_cast<VisVideoAttrOptions*
> (
self->get_video_attribute_options ());
211 visual_return_if_fail (
self !=
nullptr);
213 self->set_video (video);
218 visual_return_val_if_fail (
self !=
nullptr,
nullptr);
220 return self->get_video ().get ();
225 visual_return_val_if_fail (
self !=
nullptr, FALSE);
227 return self->video_negotiate (run_depth, noevent, forced);