xine-lib 1.2.13-20230125hg15249
Macros | Functions
video_out_dxr3.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <fcntl.h>
#include <errno.h>
#include <math.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/video_out.h>
#include "dxr3.h"
#include "video_out_dxr3.h"
#include "group_dxr3.h"
#include <libavutil/mem.h>

Macros

#define LOG_MODULE   "video_out_dxr3"
 
#define LOG_VID   0
 
#define LOG_OVR   0
 
#define DECODE_PIPE_PREBUFFER   10000
 

Functions

static vo_driver_tdxr3_vo_open_plugin (video_driver_class_t *class_gen, const void *visual)
 
static uint32_t dxr3_get_capabilities (vo_driver_t *this_gen)
 
static vo_frame_tdxr3_alloc_frame (vo_driver_t *this_gen)
 
static void dxr3_frame_proc_frame (vo_frame_t *frame_gen)
 
static void dxr3_frame_proc_slice (vo_frame_t *frame_gen, uint8_t **src)
 
static void dxr3_frame_field (vo_frame_t *vo_img, int which_field)
 
static void dxr3_frame_dispose (vo_frame_t *frame_gen)
 
static void dxr3_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 dxr3_overlay_begin (vo_driver_t *this_gen, vo_frame_t *frame_gen, int changed)
 
static void dxr3_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_overlay_t *overlay)
 
static void dxr3_overlay_end (vo_driver_t *this_gen, vo_frame_t *frame_gen)
 
static void dxr3_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen)
 
static int dxr3_redraw_needed (vo_driver_t *this_gen)
 
static int dxr3_get_property (vo_driver_t *this_gen, int property)
 
static int dxr3_set_property (vo_driver_t *this_gen, int property, int value)
 
static void dxr3_get_property_min_max (vo_driver_t *this_gen, int property, int *min, int *max)
 
static int dxr3_gui_data_exchange (vo_driver_t *this_gen, int data_type, void *data)
 
static void dxr3_dispose (vo_driver_t *this_gen)
 
static void gather_screen_vars (dxr3_driver_t *this, const x11_visual_t *vis)
 
static int dxr3_overlay_read_state (dxr3_overlay_t *this)
 
static int dxr3_overlay_set_keycolor (dxr3_overlay_t *this)
 
static int dxr3_overlay_set_attributes (dxr3_overlay_t *this)
 
static void dxr3_overlay_update (dxr3_driver_t *this)
 
static void dxr3_zoomTV (dxr3_driver_t *this)
 
static void dxr3_update_add_bars (void *data, xine_cfg_entry_t *entry)
 
static void dxr3_update_swap_fields (void *data, xine_cfg_entry_t *entry)
 
static void dxr3_update_enhanced_mode (void *this_gen, xine_cfg_entry_t *entry)
 
int dxr3_present (xine_stream_t *stream)
 
static dxr3_driver_class_tdxr3_vo_init_plugin (xine_t *xine, const void *visual_gen)
 
void * dxr3_aa_init_plugin (xine_t *xine, const void *visual_gen)
 

Macro Definition Documentation

◆ DECODE_PIPE_PREBUFFER

#define DECODE_PIPE_PREBUFFER   10000

◆ LOG_MODULE

#define LOG_MODULE   "video_out_dxr3"

◆ LOG_OVR

#define LOG_OVR   0

◆ LOG_VID

#define LOG_VID   0

Function Documentation

◆ dxr3_aa_init_plugin()

void * dxr3_aa_init_plugin ( xine_t * xine,
const void * visual_gen )

◆ dxr3_alloc_frame()

static vo_frame_t * dxr3_alloc_frame ( vo_driver_t * this_gen)
static

◆ dxr3_display_frame()

static void dxr3_display_frame ( vo_driver_t * this_gen,
vo_frame_t * frame_gen )
static

◆ dxr3_dispose()

static void dxr3_dispose ( vo_driver_t * this_gen)
static

◆ dxr3_frame_dispose()

static void dxr3_frame_dispose ( vo_frame_t * frame_gen)
static

References dxr3_frame_s::mem, and vo_frame_s::mutex.

Referenced by dxr3_alloc_frame().

◆ dxr3_frame_field()

static void dxr3_frame_field ( vo_frame_t * vo_img,
int which_field )
static

Referenced by dxr3_alloc_frame().

◆ dxr3_frame_proc_frame()

static void dxr3_frame_proc_frame ( vo_frame_t * frame_gen)
static

◆ dxr3_frame_proc_slice()

static void dxr3_frame_proc_slice ( vo_frame_t * frame_gen,
uint8_t ** src )
static

◆ dxr3_get_capabilities()

static uint32_t dxr3_get_capabilities ( vo_driver_t * this_gen)
static

References VO_CAP_YUY2, and VO_CAP_YV12.

Referenced by dxr3_vo_open_plugin().

◆ dxr3_get_property()

static int dxr3_get_property ( vo_driver_t * this_gen,
int property )
static

◆ dxr3_get_property_min_max()

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

◆ dxr3_gui_data_exchange()

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

◆ dxr3_overlay_begin()

static void dxr3_overlay_begin ( vo_driver_t * this_gen,
vo_frame_t * frame_gen,
int changed )
static

◆ dxr3_overlay_blend()

static void dxr3_overlay_blend ( vo_driver_t * this_gen,
vo_frame_t * frame_gen,
vo_overlay_t * overlay )
static

◆ dxr3_overlay_end()

static void dxr3_overlay_end ( vo_driver_t * this_gen,
vo_frame_t * frame_gen )
static

◆ dxr3_overlay_read_state()

static int dxr3_overlay_read_state ( dxr3_overlay_t * this)
static

Referenced by dxr3_vo_open_plugin().

◆ dxr3_overlay_set_attributes()

static int dxr3_overlay_set_attributes ( dxr3_overlay_t * this)
static

Referenced by dxr3_vo_open_plugin().

◆ dxr3_overlay_set_keycolor()

static int dxr3_overlay_set_keycolor ( dxr3_overlay_t * this)
static

Referenced by dxr3_vo_open_plugin().

◆ dxr3_overlay_update()

static void dxr3_overlay_update ( dxr3_driver_t * this)
static

◆ dxr3_present()

int dxr3_present ( xine_stream_t * stream)

◆ dxr3_redraw_needed()

static int dxr3_redraw_needed ( vo_driver_t * this_gen)
static

References dxr3_overlay_update().

Referenced by dxr3_vo_open_plugin().

◆ dxr3_set_property()

static int dxr3_set_property ( vo_driver_t * this_gen,
int property,
int value )
static

◆ dxr3_update_add_bars()

static void dxr3_update_add_bars ( void * data,
xine_cfg_entry_t * entry )
static

◆ dxr3_update_enhanced_mode()

static void dxr3_update_enhanced_mode ( void * this_gen,
xine_cfg_entry_t * entry )
static

◆ dxr3_update_frame_format()

static void dxr3_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

◆ dxr3_update_swap_fields()

static void dxr3_update_swap_fields ( void * data,
xine_cfg_entry_t * entry )
static

◆ dxr3_vo_init_plugin()

static dxr3_driver_class_t * dxr3_vo_init_plugin ( xine_t * xine,
const void * visual_gen )
static

◆ dxr3_vo_open_plugin()

static vo_driver_t * dxr3_vo_open_plugin ( video_driver_class_t * class_gen,
const void * visual )
static

◆ dxr3_zoomTV()

static void dxr3_zoomTV ( dxr3_driver_t * this)
static

◆ gather_screen_vars()

static void gather_screen_vars ( dxr3_driver_t * this,
const x11_visual_t * vis )
static

Referenced by dxr3_vo_open_plugin().