xine-lib 1.2.11
Data Structures | Macros | Functions
post.c File Reference
#include <xine/post.h>
#include "xine_private.h"
#include <stdarg.h>
#include <pthread.h>

Data Structures

struct  vf_alias_t
 

Macros

#define POST_INTERNAL
 
#define HARD_DEBUG
 
#define NAILS_S(struct, nail)   memset (struct, nail, sizeof (*(struct)))
 

Functions

static void post_frame_lock (vo_frame_t *vo_img)
 
static void post_frame_proc_slice (vo_frame_t *vo_img, uint8_t **src)
 
static void post_frame_proc_frame (vo_frame_t *vo_img)
 
static void post_frame_field (vo_frame_t *vo_img, int which_field)
 
static int post_frame_draw (vo_frame_t *vo_img, xine_stream_t *stream)
 
static void post_frame_free (vo_frame_t *vo_img)
 
static void post_frame_dispose (vo_frame_t *vo_img)
 
static vf_alias_tpost_new_video_alias (post_video_port_t *port, int usage)
 
static void post_free_unused_video_alias (post_video_port_t *port, vf_alias_t *f)
 
static vo_frame_tpost_intercept_video_frame (post_video_port_t *port, vo_frame_t *frame, vf_alias_t *new_frame, int usage)
 
static vo_frame_tpost_restore_video_frame (vo_frame_t *frame, post_video_port_t *port, int usage)
 
static uint32_t post_video_get_capabilities (xine_video_port_t *port_gen)
 
static vo_frame_tpost_video_get_frame (xine_video_port_t *port_gen, uint32_t width, uint32_t height, double ratio, int format, int flags)
 
static void post_video_enable_ovl (xine_video_port_t *port_gen, int ovl_enable)
 
static video_overlay_manager_tpost_video_get_overlay_manager (xine_video_port_t *port_gen)
 
static int post_video_port_ref (xine_video_port_t *port_gen)
 
int _x_post_video_port_ref (xine_video_port_t *port_gen)
 
static int post_video_port_unref (xine_video_port_t *port_gen)
 
int _x_post_video_port_unref (xine_video_port_t *port_gen)
 
static uint32_t post_audio_get_capabilities (xine_audio_port_t *port_gen)
 
static audio_buffer_tpost_audio_get_buffer (xine_audio_port_t *port_gen)
 
static int post_audio_control (xine_audio_port_t *port_gen, int cmd,...)
 
static void post_audio_put_buffer (xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream)
 
static int post_audio_port_ref (xine_audio_port_t *port_gen)
 
int _x_post_audio_port_ref (xine_audio_port_t *port_gen)
 
static int post_audio_port_unref (xine_audio_port_t *port_gen)
 
int _x_post_audio_port_unref (xine_audio_port_t *port_gen)
 
void _x_post_init (post_plugin_t *post, int num_audio_inputs, int num_video_inputs)
 
static void post_video_open (xine_video_port_t *port_gen, xine_stream_t *stream)
 
static vo_frame_tpost_video_get_last_frame (xine_video_port_t *port_gen)
 
static xine_grab_video_frame_tpost_video_new_grab_video_frame (xine_video_port_t *port_gen)
 
static void post_video_close (xine_video_port_t *port_gen, xine_stream_t *stream)
 
static void post_video_exit (xine_video_port_t *port_gen)
 
static void post_video_flush (xine_video_port_t *port_gen)
 
static void post_video_trigger_drawing (xine_video_port_t *port_gen)
 
static int post_video_status (xine_video_port_t *port_gen, xine_stream_t *stream, int *width, int *height, int64_t *img_duration)
 
static int post_video_get_property (xine_video_port_t *port_gen, int property)
 
static int post_video_set_property (xine_video_port_t *port_gen, int property, int value)
 
static int post_video_rewire (xine_post_out_t *output_gen, void *data)
 
post_video_port_t_x_post_intercept_video_port (post_plugin_t *post, xine_video_port_t *original, post_in_t **input, post_out_t **output)
 
vo_frame_t_x_post_intercept_video_frame (vo_frame_t *frame, post_video_port_t *port)
 
vo_frame_t_x_post_restore_video_frame (vo_frame_t *frame, post_video_port_t *port)
 
void _x_post_frame_copy_down (vo_frame_t *from, vo_frame_t *to)
 
void _x_post_frame_copy_up (vo_frame_t *to, vo_frame_t *from)
 
void _x_post_frame_u_turn (vo_frame_t *frame, xine_stream_t *stream)
 
static void post_overlay_init (video_overlay_manager_t *ovl_gen)
 
static void post_overlay_dispose (video_overlay_manager_t *ovl_gen)
 
static int32_t post_overlay_get_handle (video_overlay_manager_t *ovl_gen, int object_type)
 
static void post_overlay_free_handle (video_overlay_manager_t *ovl_gen, int32_t handle)
 
static int32_t post_overlay_add_event (video_overlay_manager_t *ovl_gen, void *event)
 
static void post_overlay_flush_events (video_overlay_manager_t *ovl_gen)
 
static int post_overlay_redraw_needed (video_overlay_manager_t *ovl_gen, int64_t vpts)
 
static void post_overlay_multiple_overlay_blend (video_overlay_manager_t *ovl_gen, int64_t vpts, vo_driver_t *output, vo_frame_t *vo_img, int enabled)
 
void _x_post_intercept_overlay_manager (video_overlay_manager_t *original, post_video_port_t *port)
 
static int post_audio_get_property (xine_audio_port_t *port_gen, int property)
 
static int post_audio_set_property (xine_audio_port_t *port_gen, int property, int value)
 
static int post_audio_open (xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode)
 
static void post_audio_close (xine_audio_port_t *port_gen, xine_stream_t *stream)
 
static void post_audio_exit (xine_audio_port_t *port_gen)
 
static void post_audio_flush (xine_audio_port_t *port_gen)
 
static int post_audio_status (xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t *bits, uint32_t *rate, int *mode)
 
static int post_audio_rewire (xine_post_out_t *output_gen, void *data)
 
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)
 
int _x_post_dispose (post_plugin_t *this)
 

Macro Definition Documentation

◆ HARD_DEBUG

#define HARD_DEBUG

◆ NAILS_S

#define NAILS_S (   struct,
  nail 
)    memset (struct, nail, sizeof (*(struct)))

◆ POST_INTERNAL

#define POST_INTERNAL

Function Documentation

◆ _x_post_audio_port_ref()

int _x_post_audio_port_ref ( xine_audio_port_t port_gen)

References post_audio_port_ref().

Referenced by stream_rewire_audio().

◆ _x_post_audio_port_unref()

int _x_post_audio_port_unref ( xine_audio_port_t port_gen)

References post_audio_port_unref().

Referenced by stream_rewire_audio().

◆ _x_post_dispose()

int _x_post_dispose ( post_plugin_t this)

◆ _x_post_frame_copy_down()

void _x_post_frame_copy_down ( vo_frame_t from,
vo_frame_t to 
)

◆ _x_post_frame_copy_up()

void _x_post_frame_copy_up ( vo_frame_t to,
vo_frame_t from 
)

◆ _x_post_frame_u_turn()

void _x_post_frame_u_turn ( vo_frame_t frame,
xine_stream_t stream 
)

◆ _x_post_init()

void _x_post_init ( post_plugin_t post,
int  num_audio_inputs,
int  num_video_inputs 
)

◆ _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 
)

◆ _x_post_intercept_overlay_manager()

void _x_post_intercept_overlay_manager ( video_overlay_manager_t original,
post_video_port_t port 
)

◆ _x_post_intercept_video_frame()

vo_frame_t * _x_post_intercept_video_frame ( vo_frame_t frame,
post_video_port_t port 
)

◆ _x_post_intercept_video_port()

post_video_port_t * _x_post_intercept_video_port ( post_plugin_t post,
xine_video_port_t original,
post_in_t **  input,
post_out_t **  output 
)

References xine_video_port_s::close, xine_video_port_s::driver, xine_video_port_s::enable_ovl, xine_video_port_s::exit, xine_video_port_s::flush, xine_video_port_s::get_capabilities, xine_video_port_s::get_frame, xine_video_port_s::get_last_frame, xine_video_port_s::get_overlay_manager, xine_video_port_s::get_property, post_plugin_s::input, input(), post_video_port_s::new_frame, xine_video_port_s::new_grab_video_frame, post_video_port_s::new_manager, post_video_port_s::new_port, NULL, xine_video_port_s::open, post_video_port_s::original_port, post_plugin_s::output, post_video_port_s::post, post_video_close(), post_video_enable_ovl(), post_video_exit(), post_video_flush(), post_video_get_capabilities(), post_video_get_frame(), post_video_get_last_frame(), post_video_get_overlay_manager(), post_video_get_property(), post_video_new_grab_video_frame(), post_video_open(), post_video_port_ref(), post_video_rewire(), post_video_set_property(), post_video_status(), post_video_trigger_drawing(), xine_video_port_s::set_property, xine_video_port_s::status, xine_video_port_s::trigger_drawing, post_video_port_s::usage_lock, xine_list_push_back(), and XINE_POST_DATA_VIDEO.

Referenced by boxblur_open_plugin(), deinterlace_open_plugin(), denoise3d_open_plugin(), eq2_open_plugin(), eq_open_plugin(), expand_open_plugin(), fill_open_plugin(), invert_open_plugin(), mosaico_open_plugin(), noise_open_plugin(), pp_open_plugin(), switch_open_plugin(), unsharp_open_plugin(), and vdr_video_open_plugin().

◆ _x_post_restore_video_frame()

vo_frame_t * _x_post_restore_video_frame ( vo_frame_t frame,
post_video_port_t port 
)

◆ _x_post_video_port_ref()

int _x_post_video_port_ref ( xine_video_port_t port_gen)

References post_video_port_ref().

Referenced by stream_rewire_video().

◆ _x_post_video_port_unref()

int _x_post_video_port_unref ( xine_video_port_t port_gen)

References post_video_port_unref().

Referenced by stream_rewire_video().

◆ post_audio_close()

static void post_audio_close ( xine_audio_port_t port_gen,
xine_stream_t stream 
)
static

◆ post_audio_control()

static int post_audio_control ( xine_audio_port_t port_gen,
int  cmd,
  ... 
)
static

◆ post_audio_exit()

static void post_audio_exit ( xine_audio_port_t port_gen)
static

◆ post_audio_flush()

static void post_audio_flush ( xine_audio_port_t port_gen)
static

◆ post_audio_get_buffer()

static audio_buffer_t * post_audio_get_buffer ( xine_audio_port_t port_gen)
static

◆ post_audio_get_capabilities()

static uint32_t post_audio_get_capabilities ( xine_audio_port_t port_gen)
static

◆ post_audio_get_property()

static int post_audio_get_property ( xine_audio_port_t port_gen,
int  property 
)
static

◆ post_audio_open()

static int post_audio_open ( xine_audio_port_t port_gen,
xine_stream_t stream,
uint32_t  bits,
uint32_t  rate,
int  mode 
)
static

◆ post_audio_port_ref()

static int post_audio_port_ref ( xine_audio_port_t port_gen)
static

◆ post_audio_port_unref()

static int post_audio_port_unref ( xine_audio_port_t port_gen)
static

◆ post_audio_put_buffer()

static void post_audio_put_buffer ( xine_audio_port_t port_gen,
audio_buffer_t buf,
xine_stream_t stream 
)
static

◆ post_audio_rewire()

static int post_audio_rewire ( xine_post_out_t output_gen,
void *  data 
)
static

◆ post_audio_set_property()

static int post_audio_set_property ( xine_audio_port_t port_gen,
int  property,
int  value 
)
static

◆ post_audio_status()

static int post_audio_status ( xine_audio_port_t port_gen,
xine_stream_t stream,
uint32_t *  bits,
uint32_t *  rate,
int *  mode 
)
static

◆ post_frame_dispose()

static void post_frame_dispose ( vo_frame_t vo_img)
static

◆ post_frame_draw()

static int post_frame_draw ( vo_frame_t vo_img,
xine_stream_t stream 
)
static

◆ post_frame_field()

static void post_frame_field ( vo_frame_t vo_img,
int  which_field 
)
static

◆ post_frame_free()

static void post_frame_free ( vo_frame_t vo_img)
static

◆ post_frame_lock()

static void post_frame_lock ( vo_frame_t vo_img)
static

◆ post_frame_proc_frame()

static void post_frame_proc_frame ( vo_frame_t vo_img)
static

◆ post_frame_proc_slice()

static void post_frame_proc_slice ( vo_frame_t vo_img,
uint8_t **  src 
)
static

◆ post_free_unused_video_alias()

static void post_free_unused_video_alias ( post_video_port_t port,
vf_alias_t f 
)
static

◆ post_intercept_video_frame()

static vo_frame_t * post_intercept_video_frame ( post_video_port_t port,
vo_frame_t frame,
vf_alias_t new_frame,
int  usage 
)
static

◆ post_new_video_alias()

static vf_alias_t * post_new_video_alias ( post_video_port_t port,
int  usage 
)
static

◆ post_overlay_add_event()

static int32_t post_overlay_add_event ( video_overlay_manager_t ovl_gen,
void *  event 
)
static

◆ post_overlay_dispose()

static void post_overlay_dispose ( video_overlay_manager_t ovl_gen)
static

◆ post_overlay_flush_events()

static void post_overlay_flush_events ( video_overlay_manager_t ovl_gen)
static

◆ post_overlay_free_handle()

static void post_overlay_free_handle ( video_overlay_manager_t ovl_gen,
int32_t  handle 
)
static

◆ post_overlay_get_handle()

static int32_t post_overlay_get_handle ( video_overlay_manager_t ovl_gen,
int  object_type 
)
static

◆ post_overlay_init()

static void post_overlay_init ( video_overlay_manager_t ovl_gen)
static

◆ post_overlay_multiple_overlay_blend()

static void post_overlay_multiple_overlay_blend ( video_overlay_manager_t ovl_gen,
int64_t  vpts,
vo_driver_t output,
vo_frame_t vo_img,
int  enabled 
)
static

◆ post_overlay_redraw_needed()

static int post_overlay_redraw_needed ( video_overlay_manager_t ovl_gen,
int64_t  vpts 
)
static

◆ post_restore_video_frame()

static vo_frame_t * post_restore_video_frame ( vo_frame_t frame,
post_video_port_t port,
int  usage 
)
static

◆ post_video_close()

static void post_video_close ( xine_video_port_t port_gen,
xine_stream_t stream 
)
static

◆ post_video_enable_ovl()

static void post_video_enable_ovl ( xine_video_port_t port_gen,
int  ovl_enable 
)
static

◆ post_video_exit()

static void post_video_exit ( xine_video_port_t port_gen)
static

◆ post_video_flush()

static void post_video_flush ( xine_video_port_t port_gen)
static

◆ post_video_get_capabilities()

static uint32_t post_video_get_capabilities ( xine_video_port_t port_gen)
static

◆ post_video_get_frame()

static vo_frame_t * post_video_get_frame ( xine_video_port_t port_gen,
uint32_t  width,
uint32_t  height,
double  ratio,
int  format,
int  flags 
)
static

◆ post_video_get_last_frame()

static vo_frame_t * post_video_get_last_frame ( xine_video_port_t port_gen)
static

◆ post_video_get_overlay_manager()

static video_overlay_manager_t * post_video_get_overlay_manager ( xine_video_port_t port_gen)
static

◆ post_video_get_property()

static int post_video_get_property ( xine_video_port_t port_gen,
int  property 
)
static

◆ post_video_new_grab_video_frame()

static xine_grab_video_frame_t * post_video_new_grab_video_frame ( xine_video_port_t port_gen)
static

◆ post_video_open()

static void post_video_open ( xine_video_port_t port_gen,
xine_stream_t stream 
)
static

◆ post_video_port_ref()

static int post_video_port_ref ( xine_video_port_t port_gen)
static

◆ post_video_port_unref()

static int post_video_port_unref ( xine_video_port_t port_gen)
static

◆ post_video_rewire()

static int post_video_rewire ( xine_post_out_t output_gen,
void *  data 
)
static

◆ post_video_set_property()

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

◆ post_video_status()

static int post_video_status ( xine_video_port_t port_gen,
xine_stream_t stream,
int *  width,
int *  height,
int64_t *  img_duration 
)
static

◆ post_video_trigger_drawing()

static void post_video_trigger_drawing ( xine_video_port_t port_gen)
static