xine-lib 1.2.11
Data Structures | Macros | Typedefs | Functions | Variables
video_out_vidix.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <unistd.h>
#include "xine.h"
#include "vidixlib.h"
#include "fourcc.h"
#include <xine/video_out.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/vo_scale.h>

Data Structures

struct  vidix_property_s
 
struct  vidix_frame_s
 
struct  vidix_driver_s
 
struct  vidix_class_s
 

Macros

#define LOG_MODULE   "video_out_vidix"
 
#define LOG_VERBOSE
 
#define NUM_FRAMES   3
 

Typedefs

typedef struct vidix_driver_s vidix_driver_t
 
typedef struct vidix_property_s vidix_property_t
 
typedef struct vidix_frame_s vidix_frame_t
 
typedef struct vidix_class_s vidix_class_t
 

Functions

static void free_framedata (vidix_frame_t *frame)
 
static void write_frame_YUV420P2 (vidix_driver_t *this, vidix_frame_t *frame)
 
static void write_frame_sfb (vidix_driver_t *this, vidix_frame_t *frame)
 
static void vidix_clean_output_area (vidix_driver_t *this)
 
static void vidix_update_colourkey (vidix_driver_t *this)
 
static uint32_t vidix_get_capabilities (vo_driver_t *this_gen)
 
static void vidix_frame_field (vo_frame_t *vo_img, int which_field)
 
static void vidix_frame_dispose (vo_frame_t *vo_img)
 
static vo_frame_tvidix_alloc_frame (vo_driver_t *this_gen)
 
static void vidix_compute_ideal_size (vidix_driver_t *this)
 
static void vidix_config_playback (vidix_driver_t *this)
 
static void vidix_update_frame_format (vo_driver_t *this_gen, vo_frame_t *frame_gen, uint32_t width, uint32_t height, double ratio, int format, int flags)
 
static void vidix_overlay_begin (vo_driver_t *this_gen, vo_frame_t *frame_gen, int changed)
 
static void vidix_overlay_end (vo_driver_t *this_gen, vo_frame_t *vo_img)
 
static void vidix_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_overlay_t *overlay)
 
static int vidix_redraw_needed (vo_driver_t *this_gen)
 
static void vidix_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen)
 
static int vidix_get_property (vo_driver_t *this_gen, int property)
 
static int vidix_set_property (vo_driver_t *this_gen, int property, int value)
 
static void vidix_ckey_callback (vo_driver_t *this_gen, xine_cfg_entry_t *entry)
 
static void vidix_db_callback (vo_driver_t *this_gen, xine_cfg_entry_t *entry)
 
static void vidix_rgb_callback (vo_driver_t *this_gen, xine_cfg_entry_t *entry)
 
static void vidix_get_property_min_max (vo_driver_t *this_gen, int property, int *min, int *max)
 
static int vidix_gui_data_exchange (vo_driver_t *this_gen, int data_type, void *data)
 
static void vidix_exit (vo_driver_t *this_gen)
 
static vidix_driver_topen_plugin (video_driver_class_t *class_gen)
 
static void query_fourccs (vidix_driver_t *this)
 
static void * init_class (xine_t *xine, const void *visual_gen)
 

Variables

const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "video_out_vidix"

◆ LOG_VERBOSE

#define LOG_VERBOSE

◆ NUM_FRAMES

#define NUM_FRAMES   3

Typedef Documentation

◆ vidix_class_t

typedef struct vidix_class_s vidix_class_t

◆ vidix_driver_t

◆ vidix_frame_t

typedef struct vidix_frame_s vidix_frame_t

◆ vidix_property_t

Function Documentation

◆ free_framedata()

static void free_framedata ( vidix_frame_t frame)
static

◆ init_class()

static void * init_class ( xine_t xine,
const void *  visual_gen 
)
static

◆ open_plugin()

static vidix_driver_t * open_plugin ( video_driver_class_t class_gen)
static

◆ query_fourccs()

static void query_fourccs ( vidix_driver_t this)
static

◆ vidix_alloc_frame()

static vo_frame_t * vidix_alloc_frame ( vo_driver_t this_gen)
static

◆ vidix_ckey_callback()

static void vidix_ckey_callback ( vo_driver_t this_gen,
xine_cfg_entry_t entry 
)
static

◆ vidix_clean_output_area()

static void vidix_clean_output_area ( vidix_driver_t this)
static

◆ vidix_compute_ideal_size()

static void vidix_compute_ideal_size ( vidix_driver_t this)
static

◆ vidix_config_playback()

static void vidix_config_playback ( vidix_driver_t this)
static

◆ vidix_db_callback()

static void vidix_db_callback ( vo_driver_t this_gen,
xine_cfg_entry_t entry 
)
static

References xine_cfg_entry_s::num_value.

Referenced by open_plugin().

◆ vidix_display_frame()

static void vidix_display_frame ( vo_driver_t this_gen,
vo_frame_t frame_gen 
)
static

◆ vidix_exit()

static void vidix_exit ( vo_driver_t this_gen)
static

◆ vidix_frame_dispose()

static void vidix_frame_dispose ( vo_frame_t vo_img)
static

References free_framedata().

Referenced by vidix_alloc_frame().

◆ vidix_frame_field()

static void vidix_frame_field ( vo_frame_t vo_img,
int  which_field 
)
static

Referenced by vidix_alloc_frame().

◆ vidix_get_capabilities()

static uint32_t vidix_get_capabilities ( vo_driver_t this_gen)
static

Referenced by open_plugin().

◆ vidix_get_property()

static int vidix_get_property ( vo_driver_t this_gen,
int  property 
)
static

◆ vidix_get_property_min_max()

static void vidix_get_property_min_max ( vo_driver_t this_gen,
int  property,
int *  min,
int *  max 
)
static

References VO_NUM_PROPERTIES.

Referenced by open_plugin().

◆ vidix_gui_data_exchange()

static int vidix_gui_data_exchange ( vo_driver_t this_gen,
int  data_type,
void *  data 
)
static

◆ vidix_overlay_begin()

static void vidix_overlay_begin ( vo_driver_t this_gen,
vo_frame_t frame_gen,
int  changed 
)
static

◆ vidix_overlay_blend()

static void vidix_overlay_blend ( vo_driver_t this_gen,
vo_frame_t frame_gen,
vo_overlay_t overlay 
)
static

◆ vidix_overlay_end()

static void vidix_overlay_end ( vo_driver_t this_gen,
vo_frame_t vo_img 
)
static

References x11osd_expose().

Referenced by open_plugin().

◆ vidix_redraw_needed()

static int vidix_redraw_needed ( vo_driver_t this_gen)
static

◆ vidix_rgb_callback()

static void vidix_rgb_callback ( vo_driver_t this_gen,
xine_cfg_entry_t entry 
)
static

◆ vidix_set_property()

static int vidix_set_property ( vo_driver_t this_gen,
int  property,
int  value 
)
static

◆ vidix_update_colourkey()

static void vidix_update_colourkey ( vidix_driver_t this)
static

◆ vidix_update_frame_format()

static void vidix_update_frame_format ( vo_driver_t this_gen,
vo_frame_t frame_gen,
uint32_t  width,
uint32_t  height,
double  ratio,
int  format,
int  flags 
)
static

◆ write_frame_sfb()

static void write_frame_sfb ( vidix_driver_t this,
vidix_frame_t frame 
)
static

◆ write_frame_YUV420P2()

static void write_frame_YUV420P2 ( vidix_driver_t this,
vidix_frame_t frame 
)
static

Variable Documentation

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
NULL
Definition: xine_plugin.c:78
#define PLUGIN_NONE
Definition: xine_plugin.h:29