xine-lib 1.2.13-20230125hg15249
|
#include <stdio.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/post.h>
#include "visualizations.h"
Data Structures | |
struct | post_plugin_oscope_s |
Macros | |
#define | FPS 20 |
#define | NUMSAMPLES 512 |
#define | MAXCHANNELS 6 |
#define | OSCOPE_WIDTH NUMSAMPLES |
#define | OSCOPE_HEIGHT 256 |
Typedefs | |
typedef struct post_plugin_oscope_s | post_plugin_oscope_t |
Functions | |
static void | draw_oscope_dots (post_plugin_oscope_t *this) |
static int | oscope_rewire_video (xine_post_out_t *output_gen, void *data) |
static int | oscope_port_open (xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode) |
static void | oscope_port_close (xine_audio_port_t *port_gen, xine_stream_t *stream) |
static void | oscope_port_put_buffer (xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream) |
static void | oscope_dispose (post_plugin_t *this_gen) |
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) |
void * | oscope_init_plugin (xine_t *xine, const void *data) |
#define FPS 20 |
Referenced by oscope_port_open().
#define MAXCHANNELS 6 |
Referenced by oscope_port_open().
#define NUMSAMPLES 512 |
Referenced by draw_oscope_dots(), and oscope_port_put_buffer().
#define OSCOPE_HEIGHT 256 |
Referenced by draw_oscope_dots(), oscope_port_open(), and oscope_port_put_buffer().
#define OSCOPE_WIDTH NUMSAMPLES |
Referenced by draw_oscope_dots(), oscope_port_open(), and oscope_port_put_buffer().
typedef struct post_plugin_oscope_s post_plugin_oscope_t |
|
static |
References NUMSAMPLES, OSCOPE_HEIGHT, and OSCOPE_WIDTH.
Referenced by oscope_port_put_buffer().
|
static |
References _x_freep(), and _x_post_dispose().
Referenced by oscope_open_plugin().
void * oscope_init_plugin | ( | xine_t * | xine, |
const void * | data ) |
References post_plugin_s::dispose, N_, NULL, post_class_s::open_plugin, and oscope_open_plugin().
|
static |
References _x_post_init(), _x_post_intercept_audio_port(), xine_audio_port_s::close, xine_post_out_s::data, input(), xine_post_out_s::name, post_audio_port_s::new_port, NULL, xine_audio_port_s::open, oscope_dispose(), oscope_port_close(), oscope_port_open(), oscope_port_put_buffer(), oscope_rewire_video(), post_out_s::post, xine_audio_port_s::put_buffer, xine_post_out_s::rewire, xine_post_out_s::type, xine_list_push_back(), post_out_s::xine_out, and XINE_POST_DATA_VIDEO.
Referenced by oscope_init_plugin().
|
static |
References _x_post_dec_usage, xine_audio_port_s::close, NULL, post_audio_port_s::original_port, post_audio_port_s::post, post_audio_port_s::stream, and XINE_ANON_STREAM.
Referenced by oscope_open_plugin().
|
static |
References _x_ao_mode2channels(), _x_metronom_init(), _x_post_inc_usage, _x_post_rewire(), post_audio_port_s::bits, bits, FPS, init_yuv_planes(), MAXCHANNELS, xine_stream_s::metronom, post_audio_port_s::mode, mode(), xine_audio_port_s::open, post_audio_port_s::original_port, OSCOPE_HEIGHT, OSCOPE_WIDTH, post_audio_port_s::post, post_audio_port_s::rate, post_audio_port_s::stream, xine_stream_s::xine, and XINE_ANON_STREAM.
Referenced by oscope_open_plugin().
|
static |
References vo_frame_s::bad_frame, vo_frame_s::base, post_audio_port_s::bits, vo_frame_s::draw, draw_oscope_dots(), vo_frame_s::duration, vo_frame_s::extra_info, vo_frame_s::free, extra_info_s::invalid, audio_buffer_s::mem, audio_buffer_s::mem_size, audio_buffer_s::num_frames, NUMSAMPLES, post_audio_port_s::original_port, OSCOPE_HEIGHT, OSCOPE_WIDTH, vo_frame_s::pitches, post_audio_port_s::post, vo_frame_s::pts, xine_audio_port_s::put_buffer, post_audio_port_s::rate, VO_BOTH_FIELDS, audio_buffer_s::vpts, XINE_ANON_STREAM, XINE_IMGFMT_YUY2, and yuv444_to_yuy2.
Referenced by oscope_open_plugin().
|
static |
References xine_video_port_s::close, xine_post_out_s::data, xine_video_port_s::open, post_out_s::post, and XINE_ANON_STREAM.
Referenced by oscope_open_plugin().