xine-lib 1.2.13-20230125hg15249
Data Structures | Typedefs | Functions
boxblur.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  boxblur_parameters_s
 

Typedefs

typedef struct post_plugin_boxblur_s post_plugin_boxblur_t
 
typedef struct boxblur_parameters_s boxblur_parameters_t
 

Functions

 PARAM_ITEM (PARAM_ITEM(POST_PARAM_TYPE_INT, luma_radius, PARAM_ITEM(NULL, PARAM_ITEM(0, PARAM_ITEM(10, PARAM_ITEM(0, "radius of luma blur")
 
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 boxblur_dispose (post_plugin_t *this_gen)
 
static int boxblur_intercept_frame (post_video_port_t *port, vo_frame_t *frame)
 
static void blur (uint8_t *dst, uint8_t *src, int w, int radius, int dstStep, int srcStep)
 
static void blur2 (uint8_t *dst, uint8_t *src, int w, int radius, int power, int dstStep, int srcStep)
 
static void hBlur (uint8_t *dst, uint8_t *src, int w, int h, int dstStride, int srcStride, int radius, int power)
 
static void vBlur (uint8_t *dst, uint8_t *src, int w, int h, int dstStride, int srcStride, int radius, int power)
 
static int boxblur_draw (vo_frame_t *frame, xine_stream_t *stream)
 
static post_plugin_tboxblur_open_plugin (post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target)
 
void * boxblur_init_plugin (xine_t *xine, const void *data)
 

Typedef Documentation

◆ boxblur_parameters_t

◆ post_plugin_boxblur_t

typedef struct post_plugin_boxblur_s post_plugin_boxblur_t

Function Documentation

◆ blur()

static void blur ( uint8_t * dst,
uint8_t * src,
int w,
int radius,
int dstStep,
int srcStep )
inlinestatic

Referenced by blur2().

◆ blur2()

static void blur2 ( uint8_t * dst,
uint8_t * src,
int w,
int radius,
int power,
int dstStep,
int srcStep )
inlinestatic

References blur().

Referenced by hBlur(), and vBlur().

◆ boxblur_dispose()

static void boxblur_dispose ( post_plugin_t * this_gen)
static

References _x_post_dispose().

Referenced by boxblur_open_plugin().

◆ boxblur_draw()

static int boxblur_draw ( vo_frame_t * frame,
xine_stream_t * stream )
static

◆ boxblur_init_plugin()

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

◆ boxblur_intercept_frame()

static int boxblur_intercept_frame ( post_video_port_t * port,
vo_frame_t * frame )
static

◆ boxblur_open_plugin()

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

◆ get_help()

static char * get_help ( void )
static

References _.

Referenced by boxblur_open_plugin().

◆ get_param_descr()

static xine_post_api_descr_t * get_param_descr ( void )
static

Referenced by boxblur_open_plugin().

◆ get_parameters()

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

Referenced by boxblur_open_plugin().

◆ hBlur()

static void hBlur ( uint8_t * dst,
uint8_t * src,
int w,
int h,
int dstStride,
int srcStride,
int radius,
int power )
static

References blur2().

Referenced by boxblur_draw().

◆ PARAM_ITEM()

PARAM_ITEM ( PARAM_ITEM( POST_PARAM_TYPE_INT,
luma_radius ,
PARAM_ITEM( NULL,
PARAM_ITEM( 0,
PARAM_ITEM( 10,
PARAM_ITEM( 0,
"radius of luma blur"  )

◆ set_parameters()

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

Referenced by boxblur_open_plugin().

◆ vBlur()

static void vBlur ( uint8_t * dst,
uint8_t * src,
int w,
int h,
int dstStride,
int srcStride,
int radius,
int power )
static

References blur2().

Referenced by boxblur_draw().