gmerlin
Main Page
Related Pages
Modules
Data Structures
Files
File List
include
gmerlin
visualize.h
1
/*****************************************************************
2
* gmerlin - a general purpose multimedia framework and applications
3
*
4
* Copyright (c) 2001 - 2011 Members of the Gmerlin project
5
* gmerlin-general@lists.sourceforge.net
6
* http://gmerlin.sourceforge.net
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
* *****************************************************************/
21
22
41
typedef
struct
bg_visualizer_s
bg_visualizer_t
;
42
48
bg_visualizer_t
*
bg_visualizer_create
(
bg_plugin_registry_t
* plugin_reg);
49
55
void
bg_visualizer_destroy
(
bg_visualizer_t
* v);
56
62
const
bg_parameter_info_t
*
bg_visualizer_get_parameters
(
bg_visualizer_t
* v);
63
69
void
bg_visualizer_set_callbacks
(
bg_visualizer_t
* v,
70
bg_ov_callbacks_t
* cb);
71
72
79
void
bg_visualizer_set_parameter
(
void
* priv,
80
const
char
* name,
81
const
bg_parameter_value_t
* val);
82
88
void
bg_visualizer_set_vis_plugin
(
bg_visualizer_t
* v,
89
const
bg_plugin_info_t
* info);
90
97
void
bg_visualizer_set_vis_parameter
(
void
* priv,
98
const
char
* name,
99
const
bg_parameter_value_t
* val);
100
107
void
bg_visualizer_open_plugin
(
bg_visualizer_t
* v,
108
const
gavl_audio_format_t
* format,
109
bg_plugin_handle_t
* ov_handle);
110
118
void
bg_visualizer_open_id
(
bg_visualizer_t
* v,
119
const
gavl_audio_format_t
* format,
120
const
bg_plugin_info_t
* ov_info,
121
const
char
* display_id);
122
123
/* Set new audio format without stopping the visualization thread */
124
133
void
bg_visualizer_set_audio_format
(
bg_visualizer_t
* v,
134
const
gavl_audio_format_t
* format);
135
141
void
bg_visualizer_update
(
bg_visualizer_t
* v,
142
const
gavl_audio_frame_t
* frame);
143
151
void
bg_visualizer_close
(
bg_visualizer_t
* v);
152
161
int
bg_visualizer_need_restart
(
bg_visualizer_t
* v);
162
168
double
bg_visualizer_get_fps
(
bg_visualizer_t
* v);
169
Generated on Tue Sep 4 2012 11:31:47 for gmerlin by
1.8.1.2