xine-lib 1.2.11
Data Structures | Macros | Typedefs | Functions | Variables
fooviz.c File Reference
#include <stdio.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/post.h>

Data Structures

struct  post_class_fooviz_s
 
struct  post_plugin_fooviz_s
 

Macros

#define FPS   20
 
#define FOO_WIDTH   320
 
#define FOO_HEIGHT   240
 
#define NUMSAMPLES   512
 

Typedefs

typedef struct post_plugin_fooviz_s post_plugin_fooviz_t
 
typedef struct post_class_fooviz_s post_class_fooviz_t
 

Functions

static int fooviz_rewire_video (xine_post_out_t *output_gen, void *data)
 
static int fooviz_port_open (xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
 
static void fooviz_port_close (xine_audio_port_t *port_gen, xine_stream_t *stream)
 
static void fooviz_port_put_buffer (xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
 
static void fooviz_dispose (post_plugin_t *this_gen)
 
static post_plugin_tfooviz_open_plugin (post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
 
static void * fooviz_init_plugin (xine_t *xine, const void *data)
 

Variables

static const post_info_t fooviz_special_info
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ FOO_HEIGHT

#define FOO_HEIGHT   240

◆ FOO_WIDTH

#define FOO_WIDTH   320

◆ FPS

#define FPS   20

◆ NUMSAMPLES

#define NUMSAMPLES   512

Typedef Documentation

◆ post_class_fooviz_t

◆ post_plugin_fooviz_t

Function Documentation

◆ fooviz_dispose()

static void fooviz_dispose ( post_plugin_t this_gen)
static

References _x_post_dispose().

Referenced by fooviz_open_plugin().

◆ fooviz_init_plugin()

static void * fooviz_init_plugin ( xine_t xine,
const void *  data 
)
static

◆ fooviz_open_plugin()

static post_plugin_t * fooviz_open_plugin ( post_class_t class_gen,
int  inputs,
xine_audio_port_t **  audio_target,
xine_video_port_t **  video_target 
)
static

◆ fooviz_port_close()

static void fooviz_port_close ( xine_audio_port_t port_gen,
xine_stream_t stream 
)
static

◆ fooviz_port_open()

static int fooviz_port_open ( xine_audio_port_t port_gen,
xine_stream_t stream,
uint32_t  bits,
uint32_t  rate,
int  mode 
)
static

◆ fooviz_port_put_buffer()

static void fooviz_port_put_buffer ( xine_audio_port_t port_gen,
audio_buffer_t buf,
xine_stream_t stream 
)
static

◆ fooviz_rewire_video()

static int fooviz_rewire_video ( xine_post_out_t output_gen,
void *  data 
)
static

Variable Documentation

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
}
static const post_info_t fooviz_special_info
Definition: fooviz.c:310
static void * fooviz_init_plugin(xine_t *xine, const void *data)
Definition: fooviz.c:292
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
NULL
Definition: xine_plugin.c:78
#define PLUGIN_NONE
Definition: xine_plugin.h:29
#define PLUGIN_POST
Definition: xine_plugin.h:37

◆ fooviz_special_info

const post_info_t fooviz_special_info
static
Initial value:
= {
}
#define XINE_POST_TYPE_AUDIO_VISUALIZATION
Definition: xine.h:819