xine-lib 1.2.11
|
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/post.h>
#include "goom.h"
Data Structures | |
struct | post_class_goom_s |
struct | post_plugin_goom_s |
Macros | |
#define | LOG_MODULE "goom" |
#define | LOG_VERBOSE |
#define | BENCHMARK 1 |
#define | NUMSAMPLES 512 /* hardcoded into goom api */ |
#define | FPS 14 |
#define | GOOM_WIDTH 320 |
#define | GOOM_HEIGHT 240 |
Typedefs | |
typedef struct post_plugin_goom_s | post_plugin_goom_t |
typedef struct post_class_goom_s | post_class_goom_t |
Functions | |
static post_plugin_t * | goom_open_plugin (post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target) |
static void | goom_class_dispose (post_class_t *class_gen) |
static void | goom_dispose (post_plugin_t *this_gen) |
static int | goom_rewire_video (xine_post_out_t *output, void *data) |
static int | goom_port_open (xine_audio_port_t *this, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode) |
static void | goom_port_close (xine_audio_port_t *this, xine_stream_t *stream) |
static void | goom_port_put_buffer (xine_audio_port_t *this, audio_buffer_t *buf, xine_stream_t *stream) |
static void | fps_changed_cb (void *data, xine_cfg_entry_t *cfg) |
static void | width_changed_cb (void *data, xine_cfg_entry_t *cfg) |
static void | height_changed_cb (void *data, xine_cfg_entry_t *cfg) |
static void | csc_method_changed_cb (void *data, xine_cfg_entry_t *cfg) |
static void * | goom_init_plugin (xine_t *xine, const void *data) |
static int | now (void) |
Variables | |
static const char *const | goom_csc_methods [] |
static const post_info_t | goom_special_info |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define BENCHMARK 1 |
#define FPS 14 |
#define GOOM_HEIGHT 240 |
#define GOOM_WIDTH 320 |
#define LOG_MODULE "goom" |
#define LOG_VERBOSE |
#define NUMSAMPLES 512 /* hardcoded into goom api */ |
typedef struct post_class_goom_s post_class_goom_t |
typedef struct post_plugin_goom_s post_plugin_goom_t |
|
static |
References post_class_goom_s::csc_method, and xine_cfg_entry_s::num_value.
Referenced by goom_init_plugin().
|
static |
References post_class_goom_s::fps, and xine_cfg_entry_s::num_value.
Referenced by goom_init_plugin().
|
static |
References NULL.
Referenced by goom_init_plugin().
|
static |
References _x_post_dispose(), goom_close(), and rgb2yuy2_free().
Referenced by goom_open_plugin().
|
static |
References _, xine_s::config, post_class_goom_s::csc_method, csc_method_changed_cb(), FPS, post_class_goom_s::fps, fps_changed_cb(), goom_class_dispose(), goom_csc_methods, GOOM_HEIGHT, goom_open_plugin(), GOOM_WIDTH, height, height_changed_cb(), N_, NULL, config_values_s::register_enum, config_values_s::register_num, width, width_changed_cb(), and post_class_goom_s::xine.
|
static |
References _x_metronom_init(), _x_post_init(), _x_post_intercept_audio_port(), xine_audio_port_s::close, xine_post_out_s::data, goom_dispose(), goom_init(), goom_port_close(), goom_port_open(), goom_port_put_buffer(), goom_rewire_video(), input(), lprintf, xine_post_out_s::name, post_audio_port_s::new_port, NULL, xine_audio_port_s::open, post_out_s::post, xine_audio_port_s::put_buffer, xine_post_out_s::rewire, rgb2yuy2_alloc(), xine_post_out_s::type, xine_list_push_back(), post_out_s::xine_out, and XINE_POST_DATA_VIDEO.
Referenced by goom_init_plugin().
|
static |
References _x_post_dec_usage, xine_audio_port_s::close, free_yuv_planes(), NULL, post_audio_port_s::original_port, post_audio_port_s::post, post_audio_port_s::stream, and XINE_ANON_STREAM.
Referenced by goom_open_plugin().
|
static |
References _x_ao_mode2channels(), _x_post_inc_usage, _x_post_rewire(), post_audio_port_s::bits, bits, init_yuv_planes(), xine_stream_s::metronom, post_audio_port_s::mode, mode(), NUMSAMPLES, xine_audio_port_s::open, post_audio_port_s::original_port, post_audio_port_s::post, post_audio_port_s::rate, post_audio_port_s::stream, and XINE_ANON_STREAM.
Referenced by goom_open_plugin().
|
static |
References _x_assert, post_audio_port_s::bits, COMPUTE_U, COMPUTE_V, COMPUTE_Y, free_yuv_planes(), goom_close(), goom_init(), goom_update(), height, init_yuv_planes(), audio_buffer_s::mem, audio_buffer_s::mem_size, MM_ACCEL_X86_MMX, now(), NULL, audio_buffer_s::num_frames, NUMSAMPLES, post_audio_port_s::original_port, post_audio_port_s::post, xine_audio_port_s::put_buffer, rgb2yuy2_slice(), VO_BOTH_FIELDS, audio_buffer_s::vpts, width, XINE_ANON_STREAM, XINE_IMGFMT_YUY2, xine_mm_accel(), XINE_VERBOSITY_DEBUG, xprintf, and yuv444_to_yuy2.
Referenced by goom_open_plugin().
|
static |
References xine_video_port_s::close, xine_post_out_s::data, post_out_s::post, and XINE_ANON_STREAM.
Referenced by goom_open_plugin().
|
static |
References post_class_goom_s::height, and xine_cfg_entry_s::num_value.
Referenced by goom_init_plugin().
|
static |
References NULL.
Referenced by ao_alsa_delay(), ao_alsa_write(), ao_file_delay(), cdda_plugin_open(), cdda_plugin_seek(), delay_usec(), demux_ts_parse_pat(), demux_ts_tbre_update(), goom_port_put_buffer(), metronom_unregister_scr(), seek_flv_file(), vdr_execute_rpc_command(), vdr_plugin_dispose(), xine_event_send(), xine_get_next_audio_frame(), and xine_get_next_video_frame().
|
static |
References xine_cfg_entry_s::num_value, and post_class_goom_s::width.
Referenced by goom_init_plugin().
const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |
Referenced by goom_init_plugin().
|
static |