xine-lib 1.2.11
Data Structures | Typedefs | Functions | Variables
eq.c File Reference
#include "planar.h"
#include <xine/xine_internal.h>
#include <xine/post.h>
#include <xine/xineutils.h>
#include <pthread.h>

Data Structures

struct  eq_parameters_s
 
struct  post_plugin_eq_s
 

Typedefs

typedef struct post_plugin_eq_s post_plugin_eq_t
 
typedef struct eq_parameters_s eq_parameters_t
 

Functions

static void process_C (unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast)
 
 PARAM_ITEM (POST_PARAM_TYPE_INT, brightness, NULL, -100, 100, 0, "brightness") PARAM_ITEM(POST_PARAM_TYPE_INT
 
static int set_parameters (xine_post_t *this_gen, const void *param_gen)
 
static int get_parameters (xine_post_t *this_gen, void *param_gen)
 
static xine_post_api_descr_tget_param_descr (void)
 
static char * get_help (void)
 
static void eq_dispose (post_plugin_t *this_gen)
 
static int eq_get_property (xine_video_port_t *port_gen, int property)
 
static int eq_set_property (xine_video_port_t *port_gen, int property, int value)
 
static int eq_intercept_frame (post_video_port_t *port, vo_frame_t *frame)
 
static int eq_draw (vo_frame_t *frame, xine_stream_t *stream)
 
static post_plugin_teq_open_plugin (post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
 
void * eq_init_plugin (xine_t *xine, const void *data)
 

Variables

static void(* process )(unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast)
 
 contrast
 
 NULL
 

Typedef Documentation

◆ eq_parameters_t

◆ post_plugin_eq_t

Function Documentation

◆ eq_dispose()

static void eq_dispose ( post_plugin_t this_gen)
static

References _x_post_dispose().

Referenced by eq_open_plugin().

◆ eq_draw()

static int eq_draw ( vo_frame_t frame,
xine_stream_t stream 
)
static

◆ eq_get_property()

static int eq_get_property ( xine_video_port_t port_gen,
int  property 
)
static

◆ eq_init_plugin()

void * eq_init_plugin ( xine_t xine,
const void *  data 
)

◆ eq_intercept_frame()

static int eq_intercept_frame ( post_video_port_t port,
vo_frame_t frame 
)
static

◆ eq_open_plugin()

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

◆ eq_set_property()

static int eq_set_property ( xine_video_port_t port_gen,
int  property,
int  value 
)
static

◆ get_help()

static char * get_help ( void  )
static

References _.

Referenced by eq_open_plugin().

◆ get_param_descr()

static xine_post_api_descr_t * get_param_descr ( void  )
static

Referenced by eq_open_plugin().

◆ get_parameters()

static int get_parameters ( xine_post_t this_gen,
void *  param_gen 
)
static

Referenced by eq_open_plugin().

◆ PARAM_ITEM()

PARAM_ITEM ( POST_PARAM_TYPE_INT  ,
brightness  ,
NULL  ,
100,
100  ,
,
"brightness"   
)

◆ process_C()

static void process_C ( unsigned char *  dest,
int  dstride,
unsigned char *  src,
int  sstride,
int  w,
int  h,
int  brightness,
int  contrast 
)
static

References contrast.

Referenced by eq_open_plugin().

◆ set_parameters()

static int set_parameters ( xine_post_t this_gen,
const void *  param_gen 
)
static

Referenced by eq_open_plugin().

Variable Documentation

◆ contrast

contrast

◆ NULL

NULL

Referenced by eq_init_plugin(), and eq_open_plugin().

◆ process

void(* process) (unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast) ( unsigned char *  dest,
int  dstride,
unsigned char *  src,
int  sstride,
int  w,
int  h,
int  brightness,
int  contrast 
)
static

Referenced by eq_draw(), and eq_open_plugin().