Main Page   Compound List   File List   Compound Members   File Members  

libvo.h File Reference

Main Video Output Library. More...

#include "video_out.h"

Include dependency graph for libvo.h:

Include dependency graph

Go to the source code of this file.

Functions

int libvo_init (void)
void libvo_exit (void)
int libvo_load_plugin (void(*cb)(vo_driver_t *p), const char *pname)
void libvo_unload_plugin_by_name (const char *pname)
void libvo_print_plugins_name (void(*print_cb)(const char *pname))


Detailed Description

Main Video Output Library.

Defines Registration/Initialisation of libvo plugins.


Function Documentation

void libvo_exit ( void )
 

Free libvo ressources. Called upon exit or unlading of libvo.

int libvo_init ( void )
 

Init the libvo library. This function must be called before any use. It searches and registers all plugins in the initialization process.

int libvo_load_plugin ( void(* cb)(vo_driver_t *p),
const char * pname )
 

Load a/all plugins depending if wanted is set. Loading The cb provided callback is called with the plugin structure, as argument.

Parameters:
cb   callback function to be called with the initailzed plugin structure.
pname   the plugin name you want to load. If pname is not set all plugins are tried
Returns:
0 on success -1 on failure

void libvo_print_plugins_name ( void(* print_cb)(const char *pname) )
 

Print name of all plugins, using the print_cb provided callback.

Parameters:
print_cp   the callback called for printing out the names

void libvo_unload_plugin_by_name ( const char * pname )
 

Unload plugin 'plugin'.

Parameters:
plugin   the plugin name describing the plugin you want to unload


Generated at Sat Feb 24 12:06:27 2001 for libvo by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001