xine-lib 1.2.13-20230125hg15249
Data Structures | Typedefs | Functions | Variables
video_out_caca.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <pthread.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <caca.h>
#include "xine.h"
#include <xine/video_out.h>
#include <xine/xine_internal.h>
#include "yuv2rgb.h"
#include <xine/xineutils.h>

Data Structures

struct  caca_frame_s
 
struct  caca_driver_t
 
struct  caca_class_t
 

Typedefs

typedef struct caca_frame_s caca_frame_t
 

Functions

static uint32_t caca_get_capabilities (vo_driver_t *this)
 
static void caca_dispose_frame (vo_frame_t *vo_img)
 
static void caca_frame_field (vo_frame_t *vo_img, int which_field)
 
static vo_frame_tcaca_alloc_frame (vo_driver_t *this_gen)
 
static void caca_update_frame_format (vo_driver_t *this_gen, vo_frame_t *img, uint32_t width, uint32_t height, double ratio, int format, int flags)
 
static void caca_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen)
 
static int caca_get_property (vo_driver_t *this_gen, int property)
 
static int caca_set_property (vo_driver_t *this_gen, int property, int value)
 
static void caca_get_property_min_max (vo_driver_t *this_gen, int property, int *min, int *max)
 
static void caca_dispose_driver (vo_driver_t *this_gen)
 
static int caca_redraw_needed (vo_driver_t *this_gen)
 
static vo_driver_topen_plugin (video_driver_class_t *class_gen, const void *visual_gen)
 
static void * init_class (xine_t *xine, const void *visual_gen)
 

Variables

static const vo_info_t vo_info_caca
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Typedef Documentation

◆ caca_frame_t

typedef struct caca_frame_s caca_frame_t

Function Documentation

◆ caca_alloc_frame()

static vo_frame_t * caca_alloc_frame ( vo_driver_t * this_gen)
static

◆ caca_display_frame()

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

◆ caca_dispose_driver()

static void caca_dispose_driver ( vo_driver_t * this_gen)
static

Referenced by open_plugin().

◆ caca_dispose_frame()

static void caca_dispose_frame ( vo_frame_t * vo_img)
static

◆ caca_frame_field()

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

Referenced by caca_alloc_frame().

◆ caca_get_capabilities()

static uint32_t caca_get_capabilities ( vo_driver_t * this)
static

References VO_CAP_YUY2, and VO_CAP_YV12.

Referenced by open_plugin().

◆ caca_get_property()

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

◆ caca_get_property_min_max()

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

Referenced by open_plugin().

◆ caca_redraw_needed()

static int caca_redraw_needed ( vo_driver_t * this_gen)
static

Referenced by open_plugin().

◆ caca_set_property()

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

◆ caca_update_frame_format()

static void caca_update_frame_format ( vo_driver_t * this_gen,
vo_frame_t * img,
uint32_t width,
uint32_t height,
double ratio,
int format,
int flags )
static

◆ init_class()

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

◆ open_plugin()

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

Variable Documentation

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
static const vo_info_t vo_info_caca
Definition video_out_caca.c:347
static void * init_class(xine_t *xine, const void *visual_gen)
Definition video_out_caca.c:328
#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_caca

const vo_info_t vo_info_caca
static
Initial value:
= {
.priority = 6,
.visual_type = XINE_VISUAL_TYPE_CACA,
}
#define XINE_VISUAL_TYPE_CACA
Definition xine.h:162