xine-lib  1.2.10
visualizations.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2018 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  * This file contains plugin entries for several visualization post plugins.
21  */
22 
23 #include <xine/xine_internal.h>
24 
25 void *oscope_init_plugin (xine_t *xine, const void *data);
26 void *fftscope_init_plugin (xine_t *xine, const void *data);
27 void *fftgraph_init_plugin (xine_t *xine, const void *data);
28 void *tdaan_init_plugin (xine_t *xine, const void *data);
xine_s
Definition: xine_internal.h:80
_x_post_dec_usage
#define _x_post_dec_usage(port)
Definition: post.h:406
post_plugin_oscope_s::channels
int channels
Definition: oscope.c:61
xine_post_out_s::name
const char * name
Definition: xine.h:738
vo_frame_s::pitches
int pitches[3]
Definition: video_out.h:117
tdaan_int32todb
static int tdaan_int32todb(uint32_t s)
Definition: tdaudioanalyzer.c:599
oscope_init_plugin
void * oscope_init_plugin(xine_t *xine, const void *data)
Definition: oscope.c:358
complex_s
Definition: fft.h:24
xine_stream_s::xine
xine_t * xine
Definition: xine_internal.h:126
audio_buffer_s::num_frames
int num_frames
Definition: audio_out.h:150
draw_fftscope
static void draw_fftscope(post_plugin_fftscope_t *this, vo_frame_t *frame)
Definition: fftscope.c:96
fftscope_init_plugin
void * fftscope_init_plugin(xine_t *xine, const void *data)
Definition: fftscope.c:476
draw_oscope_dots
static void draw_oscope_dots(post_plugin_oscope_t *this)
Definition: oscope.c:77
post_plugin_fooviz_s::video_output
post_out_t video_output
Definition: fooviz.c:59
tdaan_RED
static const yuy2_color_t tdaan_RED
Definition: tdaudioanalyzer.c:98
post_plugin_oscope_s::sample_counter
int sample_counter
Definition: oscope.c:62
post_plugin_tdaan_t::vo_port
xine_video_port_t * vo_port
Definition: tdaudioanalyzer.c:55
post_in_s
Definition: post.h:134
xine_stream_s
Definition: xine_internal.h:123
tdaan_YELLOW
static const yuy2_color_t tdaan_YELLOW
Definition: tdaudioanalyzer.c:102
post_plugin_tdaan_t::channels
int channels
Definition: tdaudioanalyzer.c:75
vo_frame_s::pts
int64_t pts
Definition: video_out.h:109
EXPORTED
const plugin_info_t xine_plugin_info[] EXPORTED
Definition: fooviz.c:314
post_plugin_fftscope_s::amp_max_u
uint8_t amp_max_u[6][512/2]
Definition: fftscope.c:68
_x_post_intercept_audio_port
post_audio_port_t * _x_post_intercept_audio_port(post_plugin_t *post, xine_audio_port_t *original, post_in_t **input, post_out_t **output)
Definition: post.c:993
post_plugin_tdaan_t::amax
int amax
Definition: tdaudioanalyzer.c:70
xineutils.h
OSCOPE_HEIGHT
#define OSCOPE_HEIGHT
Definition: oscope.c:41
post_plugin_fftgraph_s::ratio
double ratio
Definition: fftgraph.c:66
tdaan_downmix16_4
static void tdaan_downmix16_4(const int16_t *p, int16_t *q, int n)
Definition: tdaudioanalyzer.c:747
fftscope_port_put_buffer
static void fftscope_port_put_buffer(xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
Definition: fftscope.c:325
post_plugin_fftgraph_s::post
post_plugin_t post
Definition: fftgraph.c:57
post_plugin_fooviz_s::metronom
metronom_t * metronom
Definition: fooviz.c:62
post_plugin_fftscope_s::v_direction
int v_direction
Definition: fftscope.c:80
post_info_t
Definition: xine_plugin.h:83
oscope_dispose
static void oscope_dispose(post_plugin_t *this_gen)
Definition: oscope.c:300
post_plugin_fooviz_s::channels
int channels
Definition: fooviz.c:70
xine_audio_port_s::close
void(* close)(xine_audio_port_t *self, xine_stream_t *stream)
Definition: audio_out.h:205
oo
#define oo
xine_post_out_s::type
int type
Definition: xine.h:756
post_plugin_fftscope_s::post
post_plugin_t post
Definition: fftscope.c:53
xine_post_out_s::data
void * data
Definition: xine.h:742
RING_SIZE
#define RING_SIZE
Definition: tdaudioanalyzer.c:49
post_plugin_oscope_s::metronom
metronom_t * metronom
Definition: oscope.c:53
NUMSAMPLES
#define NUMSAMPLES
Definition: fftscope.c:45
oscope_open_plugin
static post_plugin_t * oscope_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
Definition: oscope.c:315
oscope_init_plugin
void * oscope_init_plugin(xine_t *xine, const void *data)
Definition: oscope.c:358
tdaan_DARK_YELLOW
static const yuy2_color_t tdaan_DARK_YELLOW
Definition: tdaudioanalyzer.c:94
fooviz_port_close
static void fooviz_port_close(xine_audio_port_t *port_gen, xine_stream_t *stream)
Definition: fooviz.c:130
xine_list_push_back
void xine_list_push_back(xine_list_t *list, void *value)
Definition: list.c:162
post_plugin_fooviz_s
Definition: fooviz.c:54
xine_fast_memcpy
void *(* xine_fast_memcpy)(void *to, const void *from, size_t len)
Definition: memcpy.c:60
post_plugin_tdaan_t::video_output
post_out_t video_output
Definition: tdaudioanalyzer.c:56
post_plugin_tdaan_t::ring_put
int ring_put
Definition: tdaudioanalyzer.c:78
post_plugin_oscope_s::vo_port
xine_video_port_t * vo_port
Definition: oscope.c:49
tdaan_draw_line
static void tdaan_draw_line(vo_frame_t *frame, int x1, int y1, int x2, int y2, uint32_t gray)
Definition: tdaudioanalyzer.c:353
yuy2_color_t::word
uint32_t word
Definition: tdaudioanalyzer.c:84
post_plugin_oscope_s::post
post_plugin_t post
Definition: oscope.c:46
post_plugin_oscope_s::u_direction
int u_direction
Definition: oscope.c:67
_o
#define _o
tdaan_leveller_t::hold
int hold
Definition: tdaudioanalyzer.c:40
tdaan_downmix16_6
static void tdaan_downmix16_6(const int16_t *p, int16_t *q, int n)
Definition: tdaudioanalyzer.c:761
FFT_BITS
#define FFT_BITS
Definition: fftscope.c:48
post_plugin_oscope_s::v_current
unsigned char v_current
Definition: oscope.c:66
OSCOPE_WIDTH
#define OSCOPE_WIDTH
Definition: oscope.c:40
FPS
#define FPS
Definition: fooviz.c:37
post_plugin_tdaan_t::phaser_x
int phaser_x
Definition: tdaudioanalyzer.c:64
tdaan_levels_get
static void tdaan_levels_get(tdaan_leveller_t *v, const int16_t *data, int len)
Definition: tdaudioanalyzer.c:635
yuv444_to_yuy2
void(* yuv444_to_yuy2)(const yuv_planes_t *yuv_planes, unsigned char *yuy2_map, int pitch)
Definition: color.c:92
tdaan_port_close
static void tdaan_port_close(xine_audio_port_t *port_gen, xine_stream_t *stream)
Definition: tdaudioanalyzer.c:827
FOO_WIDTH
#define FOO_WIDTH
Definition: fooviz.c:39
post_plugin_fftgraph_s::samples_per_frame
int samples_per_frame
Definition: fftgraph.c:74
post_audio_port_s::new_port
xine_audio_port_t new_port
Definition: post.h:302
tdaan_phaser_draw
static void tdaan_phaser_draw(post_plugin_tdaan_t *this, vo_frame_t *frame, const uint16_t *data, int len, uint32_t gray)
Definition: tdaudioanalyzer.c:696
post_plugin_fftscope_s::amp_max_y
uint8_t amp_max_y[6][512/2]
Definition: fftscope.c:67
post_plugin_oscope_s::v_direction
int v_direction
Definition: oscope.c:68
post_plugin_oscope_s::yuv
yuv_planes_t yuv
Definition: oscope.c:70
post_plugin_tdaan_t::metronom
metronom_t * metronom
Definition: tdaudioanalyzer.c:57
audio_buffer_s::mem_size
int mem_size
Definition: audio_out.h:149
audio_buffer_s
Definition: audio_out.h:144
xine_post_out_s::rewire
int(* rewire)(xine_post_out_t *self, void *data)
Definition: xine.h:753
be2me_32
#define be2me_32(x)
Definition: ffmpeg_bswap.h:168
post_plugin_fftgraph_s::vo_port
xine_video_port_t * vo_port
Definition: fftgraph.c:60
fftscope_init_plugin
void * fftscope_init_plugin(xine_t *xine, const void *data)
Definition: fftscope.c:476
fooviz_init_plugin
static void * fooviz_init_plugin(xine_t *xine, const void *data)
Definition: fooviz.c:292
_x_post_inc_usage
#define _x_post_inc_usage(port)
Definition: post.h:399
post_plugin_fftscope_s::data_idx
int data_idx
Definition: fftscope.c:64
COMPUTE_Y
#define COMPUTE_Y(r, g, b)
Definition: xineutils.h:437
post_info_t::type
uint32_t type
Definition: xine_plugin.h:84
fooviz_special_info
static const post_info_t fooviz_special_info
Definition: fooviz.c:310
NUMSAMPLES
#define NUMSAMPLES
Definition: fftgraph.c:50
post_plugin_fftscope_s::u_current
unsigned char u_current
Definition: fftscope.c:77
EXPORTED
const plugin_info_t xine_plugin_info[] EXPORTED
Definition: visualizations.c:41
tdaan_leveller_t::rms
int rms
Definition: tdaudioanalyzer.c:38
post_class_fooviz_s::xine
xine_t * xine
Definition: fooviz.c:51
xine_video_port_s
Definition: video_out.h:176
FPS
#define FPS
Definition: fftgraph.c:44
oscope_port_open
static int oscope_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
Definition: oscope.c:166
post_plugin_fftgraph_s::sample_counter
int sample_counter
Definition: fftgraph.c:73
post_class_s
Definition: post.h:45
fooviz_port_put_buffer
static void fooviz_port_put_buffer(xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
Definition: fooviz.c:145
fftscope_rewire_video
static int fftscope_rewire_video(xine_post_out_t *output_gen, void *data)
Definition: fftscope.c:246
post_plugin_fftscope_s::amp_age
int amp_age[6][512/2]
Definition: fftscope.c:70
fft_amp2
double fft_amp2(fft_t *fft, int n, complex_t wave[])
Definition: fft.c:218
post_plugin_fooviz_s::data
short data[2][512]
Definition: fooviz.c:67
post_plugin_fftgraph_s::cur_line
int cur_line
Definition: fftgraph.c:78
d2db
static int d2db(double d)
Definition: fftgraph.c:84
post_plugin_tdaan_t::video_fps
int video_fps
Definition: tdaudioanalyzer.c:62
post_plugin_fftscope_s::amp_max_v
uint8_t amp_max_v[6][512/2]
Definition: fftscope.c:69
post_plugin_fftscope_s::buf
audio_buffer_t buf
Definition: fftscope.c:71
post_audio_port_s::stream
xine_stream_t * stream
Definition: post.h:309
audio_buffer_s::mem
int16_t * mem
Definition: audio_out.h:148
post_plugin_fftscope_s::samples_per_frame
int samples_per_frame
Definition: fftscope.c:75
tdaan_divu_quad_by_short
static uint32_t tdaan_divu_quad_by_short(uint64_t num, uint32_t den)
Definition: tdaudioanalyzer.c:658
put
#define put(predictor, i)
Definition: motion_comp.c:96
post_plugin_tdaan_t::video_ratio
double video_ratio
Definition: tdaudioanalyzer.c:61
COMPUTE_U
#define COMPUTE_U(r, g, b)
Definition: xineutils.h:440
tdaan_open_plugin
static post_plugin_t * tdaan_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
Definition: tdaudioanalyzer.c:1012
MAXCHANNELS
#define MAXCHANNELS
Definition: fftgraph.c:52
FFTGRAPH_HEIGHT
#define FFTGRAPH_HEIGHT
Definition: fftgraph.c:47
fft_new
fft_t * fft_new(int bits)
Definition: fft.c:136
tdaan_port_open
static int tdaan_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
Definition: tdaudioanalyzer.c:795
_x_ao_mode2channels
int _x_ao_mode2channels(int mode)
Definition: audio_out.c:1082
FPS
#define FPS
Definition: oscope.c:35
xine_xmalloc
void * xine_xmalloc(size_t size)
Allocate and clean memory size_t 'size', then return the pointer to the allocated memory.
Definition: utils.c:271
post_plugin_fftgraph_s::data_idx
int data_idx
Definition: fftgraph.c:68
FPS
#define FPS
Definition: fftscope.c:40
post_audio_port_s::original_port
xine_audio_port_t * original_port
Definition: post.h:305
tdaan_draw_rect
static void tdaan_draw_rect(vo_frame_t *frame, int x, int y, int width, int height, uint32_t color)
Definition: tdaudioanalyzer.c:464
oscope_port_close
static void oscope_port_close(xine_audio_port_t *port_gen, xine_stream_t *stream)
Definition: oscope.c:199
tdaan_port_put_buffer
static void tdaan_port_put_buffer(xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
Definition: tdaudioanalyzer.c:838
tdaan_leveller_t::y
int y
Definition: tdaudioanalyzer.c:36
post_plugin_tdaan_t::video_width
int video_width
Definition: tdaudioanalyzer.c:59
o_
#define o_
vo_frame_s::height
int height
Definition: video_out.h:138
post_plugin_oscope_s
Definition: oscope.c:45
tdaan_leveller_t::peak
int peak
Definition: tdaudioanalyzer.c:39
xine_stream_s::metronom
metronom_t * metronom
Definition: xine_internal.h:129
xine_post_out_s
Definition: xine.h:735
RING_MASK
#define RING_MASK
Definition: tdaudioanalyzer.c:50
fade
static void fade(int r1, int g1, int b1, int r2, int g2, int b2, uint32_t *yuy2_colors, int ldsteps)
Definition: fftgraph.c:95
tdaan_GREEN
static const yuy2_color_t tdaan_GREEN
Definition: tdaudioanalyzer.c:100
NULL
NULL
Definition: xine_plugin.c:78
post_plugin_tdaan_t::lbar
tdaan_leveller_t lbar
Definition: tdaudioanalyzer.c:72
post_plugin_fftscope_s::wave
complex_t wave[6][512]
Definition: fftscope.c:65
post_plugin_tdaan_t::rbar
tdaan_leveller_t rbar
Definition: tdaudioanalyzer.c:73
post_plugin_oscope_s::samples_per_frame
int samples_per_frame
Definition: oscope.c:63
post_plugin_fooviz_s::ratio
double ratio
Definition: fooviz.c:64
_x_freep
static void _x_freep(void *ptr)
Definition: xineutils.h:263
COMPUTE_V
#define COMPUTE_V(r, g, b)
Definition: xineutils.h:443
post_plugin_fooviz_s::vo_port
xine_video_port_t * vo_port
Definition: fooviz.c:58
post_plugin_fooviz_s::samples_per_frame
int samples_per_frame
Definition: fooviz.c:72
fftgraph_init_plugin
void * fftgraph_init_plugin(xine_t *xine, const void *data)
Definition: fftgraph.c:458
post_plugin_fooviz_s::data_idx
int data_idx
Definition: fooviz.c:66
MAXCHANNELS
#define MAXCHANNELS
Definition: fftscope.c:46
width
unsigned int width
Definition: gfontrle.c:4
XINE_VERSION_CODE
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
post_class_fooviz_s
Definition: fooviz.c:48
post_plugin_fftgraph_s::lines_per_channel
int lines_per_channel
Definition: fftgraph.c:79
post_out_s
Definition: post.h:146
post_plugin_fftscope_s::ratio
double ratio
Definition: fftscope.c:62
vo_frame_s::duration
int duration
Definition: video_out.h:112
post_plugin_tdaan_t::phaser_height
int phaser_height
Definition: tdaudioanalyzer.c:67
yuy2_color_t
Definition: tdaudioanalyzer.c:82
fft_window
void fft_window(fft_t *fft, complex_t wave[])
Definition: fft.c:197
post_plugin_tdaan_t::video_height
int video_height
Definition: tdaudioanalyzer.c:60
tdaan_WHITE
static const yuy2_color_t tdaan_WHITE
Definition: tdaudioanalyzer.c:103
FFT_BITS
#define FFT_BITS
Definition: fftgraph.c:49
tdaan_BLACK
static const yuy2_color_t tdaan_BLACK
Definition: tdaudioanalyzer.c:88
post_plugin_fooviz_s::sample_counter
int sample_counter
Definition: fooviz.c:71
_x_metronom_init
metronom_t * _x_metronom_init(int have_video, int have_audio, xine_t *xine)
Definition: metronom.c:1517
post_class_s::open_plugin
post_plugin_t *(* open_plugin)(post_class_t *this_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
Definition: post.h:50
post_plugin_fftgraph_s::video_output
post_out_t video_output
Definition: fftgraph.c:61
oscope_port_put_buffer
static void oscope_port_put_buffer(xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
Definition: oscope.c:214
fftgraph_port_close
static void fftgraph_port_close(xine_audio_port_t *port_gen, xine_stream_t *stream)
Definition: fftgraph.c:289
fftgraph_dispose
static void fftgraph_dispose(post_plugin_t *this_gen)
Definition: fftgraph.c:400
tdaan_DARK_GREEN
static const yuy2_color_t tdaan_DARK_GREEN
Definition: tdaudioanalyzer.c:92
draw_fftgraph
static void draw_fftgraph(post_plugin_fftgraph_t *this, vo_frame_t *frame)
Definition: fftgraph.c:123
tdaan_video_resize
static void tdaan_video_resize(post_plugin_tdaan_t *this)
Definition: tdaudioanalyzer.c:109
VO_BOTH_FIELDS
#define VO_BOTH_FIELDS
Definition: video_out.h:293
xine_audio_port_s::open
int(* open)(xine_audio_port_t *, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
Definition: audio_out.h:187
post_audio_port_s::rate
uint32_t rate
Definition: post.h:318
tdaan_rewire_video
static int tdaan_rewire_video(xine_post_out_t *output_gen, void *data)
Definition: tdaudioanalyzer.c:779
FFT_WIDTH
#define FFT_WIDTH
Definition: fftscope.c:42
visualizations.h
fftscope_port_open
static int fftscope_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
Definition: fftscope.c:263
post_plugin_oscope_s::buf
audio_buffer_t buf
Definition: oscope.c:59
post_plugin_fftgraph_s::wave
complex_t wave[6][(1<< 11)]
Definition: fftgraph.c:69
post_plugin_fftscope_s::metronom
metronom_t * metronom
Definition: fftscope.c:60
audio_buffer_s::vpts
int64_t vpts
Definition: audio_out.h:152
post_plugin_tdaan_t::phaser_y
int phaser_y
Definition: tdaudioanalyzer.c:65
FFT_HEIGHT
#define FFT_HEIGHT
Definition: fftscope.c:43
post_plugin_fftscope_s::fft
fft_t * fft
Definition: fftscope.c:81
post_plugin_oscope_s::data
short data[6][512]
Definition: oscope.c:58
tdaan_levels_draw
static void tdaan_levels_draw(post_plugin_tdaan_t *this, vo_frame_t *frame)
Definition: tdaudioanalyzer.c:496
tdaan_init_plugin
void * tdaan_init_plugin(xine_t *xine, const void *data)
Definition: tdaudioanalyzer.c:1054
tdaan_leveller_t::smax
int smax
Definition: tdaudioanalyzer.c:45
post.h
post_plugin_oscope_s::ratio
double ratio
Definition: oscope.c:55
post_out_s::xine_out
xine_post_out_t xine_out
Definition: post.h:149
post_class_fooviz_s::post_class
post_class_t post_class
Definition: fooviz.c:49
tdaan_DARK_RED
static const yuy2_color_t tdaan_DARK_RED
Definition: tdaudioanalyzer.c:90
post_plugin_fooviz_s::current_yuv_byte
unsigned char current_yuv_byte
Definition: fooviz.c:75
post_plugin_fftgraph_s::fft
fft_t * fft
Definition: fftgraph.c:76
post_audio_port_s
Definition: post.h:299
fftgraph_init_plugin
void * fftgraph_init_plugin(xine_t *xine, const void *data)
Definition: fftgraph.c:458
fft_s
Definition: fft.h:32
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)
Definition: fooviz.c:104
init_yuv_planes
void init_yuv_planes(yuv_planes_t *yuv_planes, int width, int height)
Definition: color.c:122
tdaan_GREY
static const yuy2_color_t tdaan_GREY
Definition: tdaudioanalyzer.c:95
fooviz_rewire_video
static int fooviz_rewire_video(xine_post_out_t *output_gen, void *data)
Definition: fooviz.c:87
height
unsigned int height
Definition: gfontrle.c:5
post_plugin_tdaan_t::post
post_plugin_t post
Definition: tdaudioanalyzer.c:53
post_audio_port_s::mode
uint32_t mode
Definition: post.h:319
tdaan_leveller_t::squaresum
uint64_t squaresum
Definition: tdaudioanalyzer.c:44
FFTGRAPH_WIDTH
#define FFTGRAPH_WIDTH
Definition: fftgraph.c:46
__
#define __
xine_audio_port_s
Definition: audio_out.h:172
NUMSAMPLES
#define NUMSAMPLES
Definition: oscope.c:37
mode
enable disable number of frames of telecine pattern sync required before mode change make frames evenly spaced for film mode(24 fps)" ) PARAM_ITEM( POST_PARAM_TYPE_BOOL
XINE_POST_DATA_VIDEO
#define XINE_POST_DATA_VIDEO
Definition: xine.h:828
tdaan_draw_text
static void tdaan_draw_text(vo_frame_t *frame, int x, int y, const char *s)
Definition: tdaudioanalyzer.c:138
fftscope_dispose
static void fftscope_dispose(post_plugin_t *this_gen)
Definition: fftscope.c:418
post_plugin_tdaan_t
Definition: tdaudioanalyzer.c:52
tdaan_leveller_t
Definition: tdaudioanalyzer.c:35
fft_dispose
void fft_dispose(fft_t *fft)
Definition: fft.c:184
MAXCHANNELS
#define MAXCHANNELS
Definition: oscope.c:38
NUMSAMPLES
#define NUMSAMPLES
Definition: fooviz.c:42
gen_special_info
static const post_info_t gen_special_info
Definition: visualizations.c:37
fade_out_yuv
static void fade_out_yuv(uint8_t *y, uint8_t *u, uint8_t *v, float factor)
Definition: fftscope.c:88
sat16
#define sat16(v)
Definition: tdaudioanalyzer.c:745
tdaan_LIGHT_GRAY
static const yuy2_color_t tdaan_LIGHT_GRAY
Definition: tdaudioanalyzer.c:96
post_plugin_oscope_s::u_current
unsigned char u_current
Definition: oscope.c:65
vo_frame_s::extra_info
extra_info_t * extra_info
Definition: video_out.h:135
tdaan_levels_reset
static void tdaan_levels_reset(post_plugin_tdaan_t *this)
Definition: tdaudioanalyzer.c:628
_x_post_dispose
int _x_post_dispose(post_plugin_t *this)
Definition: post.c:1044
metronom_s
Definition: metronom.h:71
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)
Definition: fooviz.c:249
post_plugin_fftgraph_s::channels
int channels
Definition: fftgraph.c:72
_x_post_init
void _x_post_init(post_plugin_t *post, int num_audio_inputs, int num_video_inputs)
Definition: post.c:292
post_plugin_fftscope_s::video_output
post_out_t video_output
Definition: fftscope.c:57
post_plugin_oscope_s::data_idx
int data_idx
Definition: oscope.c:57
tdaan_phaser_start
static void tdaan_phaser_start(post_plugin_tdaan_t *this, vo_frame_t *frame)
Definition: tdaudioanalyzer.c:686
vo_frame_s::draw
int(* draw)(vo_frame_t *vo_img, xine_stream_t *stream)
Definition: video_out.h:91
bswap.h
yuv_planes_s
Definition: xineutils.h:391
oscope_rewire_video
static int oscope_rewire_video(xine_post_out_t *output_gen, void *data)
Definition: oscope.c:150
post_plugin_oscope_s::video_output
post_out_t video_output
Definition: oscope.c:50
XINE_ANON_STREAM
#define XINE_ANON_STREAM
Definition: xine_internal.h:173
xine_audio_port_s::put_buffer
void(* put_buffer)(xine_audio_port_t *, audio_buffer_t *buf, xine_stream_t *stream)
Definition: audio_out.h:200
PLUGIN_NONE
#define PLUGIN_NONE
Definition: xine_plugin.h:29
post_plugin_fftscope_s::amp_max
int amp_max[6][512/2]
Definition: fftscope.c:66
fftgraph_rewire_video
static int fftgraph_rewire_video(xine_post_out_t *output_gen, void *data)
Definition: fftgraph.c:192
xine_internal.h
fft.h
fooviz_dispose
static void fooviz_dispose(post_plugin_t *this_gen)
Definition: fooviz.c:234
post_plugin_fftscope_s::u_direction
int u_direction
Definition: fftscope.c:79
post_plugin_fftscope_s::v_current
unsigned char v_current
Definition: fftscope.c:78
XINE_POST_TYPE_AUDIO_VISUALIZATION
#define XINE_POST_TYPE_AUDIO_VISUALIZATION
Definition: xine.h:819
tdaan_int16todb
static int tdaan_int16todb(int s)
Definition: tdaudioanalyzer.c:576
PLUGIN_POST
#define PLUGIN_POST
Definition: xine_plugin.h:37
tdaan_levels_done
static void tdaan_levels_done(post_plugin_tdaan_t *this)
Definition: tdaudioanalyzer.c:670
post_plugin_fftgraph_s::metronom
metronom_t * metronom
Definition: fftgraph.c:64
config.h
tdaan_leveller_t::age
int age
Definition: tdaudioanalyzer.c:42
post_plugin_fftgraph_s::buf
audio_buffer_t buf
Definition: fftgraph.c:70
post_plugin_fftscope_s::vo_port
xine_video_port_t * vo_port
Definition: fftscope.c:56
vo_frame_s
Definition: video_out.h:59
post_plugin_tdaan_t::samples_per_frame
int samples_per_frame
Definition: tdaudioanalyzer.c:76
post_plugin_fftgraph_s
Definition: fftgraph.c:56
fft_scale
void fft_scale(complex_t wave[], int bits)
Definition: fft.c:228
post_plugin_fftscope_s::sample_counter
int sample_counter
Definition: fftscope.c:74
post_plugin_s
Definition: post.h:80
post_plugin_tdaan_t::phaser_last_x
int phaser_last_x
Definition: tdaudioanalyzer.c:68
tdaan_dispose
static void tdaan_dispose(post_plugin_t *this_gen)
Definition: tdaudioanalyzer.c:1000
FOO_HEIGHT
#define FOO_HEIGHT
Definition: fooviz.c:40
post_audio_port_s::post
post_plugin_t * post
Definition: post.h:326
fft_compute
void fft_compute(fft_t *fft, complex_t wave[])
Definition: fft.c:75
xine_video_port_s::close
void(* close)(xine_video_port_t *self, xine_stream_t *stream)
Definition: video_out.h:230
vo_frame_s::width
int width
Definition: video_out.h:138
tdaan_init_plugin
void * tdaan_init_plugin(xine_t *xine, const void *data)
Definition: tdaudioanalyzer.c:1054
post_audio_port_s::bits
uint32_t bits
Definition: post.h:317
yuy2_color_t::bytes
uint8_t bytes[4]
Definition: tdaudioanalyzer.c:83
default_post_class_dispose
#define default_post_class_dispose
Definition: post.h:78
input
static int input(void)
Definition: goomsl_lex.c:1495
post_plugin_tdaan_t::phaser_width
int phaser_width
Definition: tdaudioanalyzer.c:66
post_plugin_fftgraph_s::map
uint32_t map[256][512/2]
Definition: fftgraph.c:77
fftgraph_open_plugin
static post_plugin_t * fftgraph_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
Definition: fftgraph.c:415
vo_frame_s::base
uint8_t * base[3]
Definition: video_out.h:116
post_plugin_fftgraph_s::yuy2_colors
uint32_t yuy2_colors[512]
Definition: fftgraph.c:81
post_plugin_fooviz_s::post
post_plugin_t post
Definition: fooviz.c:55
post_out_s::post
post_plugin_t * post
Definition: post.h:152
XINE_IMGFMT_YUY2
#define XINE_IMGFMT_YUY2
Definition: xine.h:495
fftscope_port_close
static void fftscope_port_close(xine_audio_port_t *port_gen, xine_stream_t *stream)
Definition: fftscope.c:307
plugin_info_t
Definition: xine_plugin.h:55
post_plugin_fftscope_s::channels
int channels
Definition: fftscope.c:73
bits
#define bits
post_plugin_fooviz_s::buf
audio_buffer_t buf
Definition: fooviz.c:68
fftgraph_port_open
static int fftgraph_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
Definition: fftgraph.c:209
fftgraph_port_put_buffer
static void fftgraph_port_put_buffer(xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
Definition: fftgraph.c:307
N_
#define N_(String)
Definition: xineintl.h:47
fftscope_open_plugin
static post_plugin_t * fftscope_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
Definition: fftscope.c:433
post_plugin_tdaan_t::phaser_last_y
int phaser_last_y
Definition: tdaudioanalyzer.c:69
vo_frame_s::free
void(* free)(vo_frame_t *vo_img)
Definition: video_out.h:100
post_plugin_fftscope_s
Definition: fftscope.c:52
extra_info_s::invalid
int invalid
Definition: buffer.h:329
_x_post_rewire
static void _x_post_rewire(post_plugin_t *post)
Definition: post.h:373