xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Functions | Variables
video_out_raw.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <errno.h>
#include <ctype.h>
#include <pthread.h>
#include <xine.h>
#include <xine/video_out.h>
#include <xine/xine_internal.h>
#include "yuv2rgb.h"
#include <xine/xineutils.h>

Data Structures

struct  raw_frame_t
 
struct  raw_driver_t
 
struct  raw_class_t
 

Macros

#define LOG_MODULE   "video_out_raw"
 
#define NUM_FRAMES_BACKLOG   4
 
#define BYTES_PER_PIXEL   3
 

Functions

static int raw_process_ovl (raw_driver_t *this_gen, vo_overlay_t *overlay)
 
static void raw_overlay_begin (vo_driver_t *this_gen, vo_frame_t *frame_gen, int changed)
 
static void raw_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_overlay_t *overlay)
 
static void raw_overlay_end (vo_driver_t *this_gen, vo_frame_t *vo_img)
 
static void raw_frame_proc_slice (vo_frame_t *vo_img, uint8_t **src)
 
static void raw_frame_field (vo_frame_t *vo_img, int which_field)
 
static void raw_frame_dispose (vo_frame_t *vo_img)
 
static vo_frame_traw_alloc_frame (vo_driver_t *this_gen)
 
static void raw_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 int raw_redraw_needed (vo_driver_t *this_gen)
 
static void raw_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen)
 
static int raw_get_property (vo_driver_t *this_gen, int property)
 
static int raw_set_property (vo_driver_t *this_gen, int property, int value)
 
static void raw_get_property_min_max (vo_driver_t *this_gen, int property, int *min, int *max)
 
static int raw_gui_data_exchange (vo_driver_t *this_gen, int data_type, void *data)
 
static uint32_t raw_get_capabilities (vo_driver_t *this_gen)
 
static void raw_dispose (vo_driver_t *this_gen)
 
static vo_driver_traw_open_plugin (video_driver_class_t *class_gen, const void *visual_gen)
 
static void * raw_init_class (xine_t *xine, const void *visual_gen)
 

Variables

static const vo_info_t vo_info_raw
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ BYTES_PER_PIXEL

#define BYTES_PER_PIXEL   3

◆ LOG_MODULE

#define LOG_MODULE   "video_out_raw"

Referenced by raw_open_plugin().

◆ NUM_FRAMES_BACKLOG

#define NUM_FRAMES_BACKLOG   4

Function Documentation

◆ raw_alloc_frame()

static vo_frame_t * raw_alloc_frame ( vo_driver_t * this_gen)
static

◆ raw_display_frame()

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

◆ raw_dispose()

static void raw_dispose ( vo_driver_t * this_gen)
static

References NUM_FRAMES_BACKLOG, and XINE_VORAW_MAX_OVL.

Referenced by raw_open_plugin().

◆ raw_frame_dispose()

static void raw_frame_dispose ( vo_frame_t * vo_img)
static

◆ raw_frame_field()

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

◆ raw_frame_proc_slice()

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

◆ raw_get_capabilities()

static uint32_t raw_get_capabilities ( vo_driver_t * this_gen)
static

References VO_CAP_CROP, VO_CAP_YUY2, and VO_CAP_YV12.

Referenced by raw_open_plugin().

◆ raw_get_property()

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

◆ raw_get_property_min_max()

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

Referenced by raw_open_plugin().

◆ raw_gui_data_exchange()

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

Referenced by raw_open_plugin().

◆ raw_init_class()

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

◆ raw_open_plugin()

static vo_driver_t * raw_open_plugin ( video_driver_class_t * class_gen,
const void * visual_gen )
static

◆ raw_overlay_begin()

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

Referenced by raw_open_plugin().

◆ raw_overlay_blend()

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

◆ raw_overlay_end()

static void raw_overlay_end ( vo_driver_t * this_gen,
vo_frame_t * vo_img )
static

References user_data().

Referenced by raw_open_plugin().

◆ raw_process_ovl()

static int raw_process_ovl ( raw_driver_t * this_gen,
vo_overlay_t * overlay )
static

◆ raw_redraw_needed()

static int raw_redraw_needed ( vo_driver_t * this_gen)
static

Referenced by raw_open_plugin().

◆ raw_set_property()

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

◆ raw_update_frame_format()

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

Variable Documentation

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
static void * raw_init_class(xine_t *xine, const void *visual_gen)
Definition video_out_raw.c:529
static const vo_info_t vo_info_raw
Definition video_out_raw.c:550
#define XINE_VERSION_CODE
Definition xine_internal.h:57
NULL
Definition xine_plugin.c:78
#define PLUGIN_NONE
Definition xine_plugin.h:29
#define PLUGIN_VIDEO_OUT
Definition xine_plugin.h:36

◆ vo_info_raw

const vo_info_t vo_info_raw
static
Initial value:
= {
.priority = 7,
.visual_type = XINE_VISUAL_TYPE_RAW,
}
#define XINE_VISUAL_TYPE_RAW
Definition xine.h:165