xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Functions | Variables
video_out_macosx.m File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "xine.h"
#include "xine/video_out.h"
#include "xine/vo_scale.h"
#include "xine/xine_internal.h"
#include "xine/xineutils.h"
#include "macosx/video_window.h"

Data Structures

struct  macosx_frame_t
 
struct  macosx_driver_t
 
struct  macosx_class_t
 

Macros

#define LOG_MODULE   "video_out_macosx"
 
#define LOG_VERBOSE
 

Functions

static void free_framedata (macosx_frame_t *frame)
 
static void macosx_frame_dispose (vo_frame_t *vo_frame)
 
static void macosx_frame_field (vo_frame_t *vo_frame, int which_field)
 
static uint32_t macosx_get_capabilities (vo_driver_t *vo_driver)
 
static vo_frame_tmacosx_alloc_frame (vo_driver_t *vo_driver)
 
static void macosx_update_frame_format (vo_driver_t *vo_driver, vo_frame_t *vo_frame, uint32_t width, uint32_t height, double ratio, int format, int flags)
 
static void macosx_display_frame (vo_driver_t *vo_driver, vo_frame_t *vo_frame)
 
static void macosx_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_overlay_t *overlay)
 
static int macosx_get_property (vo_driver_t *vo_driver, int property)
 
static int macosx_set_property (vo_driver_t *vo_driver, int property, int value)
 
static void macosx_get_property_min_max (vo_driver_t *vo_driver, int property, int *min, int *max)
 
static int macosx_gui_data_exchange (vo_driver_t *vo_driver, int data_type, void *data)
 
static void macosx_dispose (vo_driver_t *vo_driver)
 
static int macosx_redraw_needed (vo_driver_t *vo_driver)
 
static vo_driver_topen_plugin (video_driver_class_t *driver_class, const void *visual)
 
static void * init_class (xine_t *xine, void *visual)
 

Variables

static const vo_info_t vo_info_macosx
 
plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "video_out_macosx"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Function Documentation

◆ free_framedata()

static void free_framedata ( macosx_frame_t * frame)
static

◆ init_class()

static void * init_class ( xine_t * xine,
void * visual )
static

◆ macosx_alloc_frame()

static vo_frame_t * macosx_alloc_frame ( vo_driver_t * vo_driver)
static

◆ macosx_display_frame()

static void macosx_display_frame ( vo_driver_t * vo_driver,
vo_frame_t * vo_frame )
static

◆ macosx_dispose()

static void macosx_dispose ( vo_driver_t * vo_driver)
static

References _x_alphablend_free().

Referenced by open_plugin().

◆ macosx_frame_dispose()

static void macosx_frame_dispose ( vo_frame_t * vo_frame)
static

References free_framedata().

Referenced by macosx_alloc_frame().

◆ macosx_frame_field()

static void macosx_frame_field ( vo_frame_t * vo_frame,
int which_field )
static

Referenced by macosx_alloc_frame().

◆ macosx_get_capabilities()

static uint32_t macosx_get_capabilities ( vo_driver_t * vo_driver)
static

◆ macosx_get_property()

static int macosx_get_property ( vo_driver_t * vo_driver,
int property )
static

◆ macosx_get_property_min_max()

static void macosx_get_property_min_max ( vo_driver_t * vo_driver,
int property,
int * min,
int * max )
static

Referenced by open_plugin().

◆ macosx_gui_data_exchange()

static int macosx_gui_data_exchange ( vo_driver_t * vo_driver,
int data_type,
void * data )
static

◆ macosx_overlay_blend()

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

◆ macosx_redraw_needed()

static int macosx_redraw_needed ( vo_driver_t * vo_driver)
static

Referenced by open_plugin().

◆ macosx_set_property()

static int macosx_set_property ( vo_driver_t * vo_driver,
int property,
int value )
static

◆ macosx_update_frame_format()

static void macosx_update_frame_format ( vo_driver_t * vo_driver,
vo_frame_t * vo_frame,
uint32_t width,
uint32_t height,
double ratio,
int format,
int flags )
static

◆ open_plugin()

static vo_driver_t * open_plugin ( video_driver_class_t * driver_class,
const void * visual )
static

Variable Documentation

◆ EXPORTED

plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
static void * init_class(xine_t *xine, void *visual)
Definition video_out_macosx.m:353
static const vo_info_t vo_info_macosx
Definition video_out_macosx.m:369
#define XINE_VERSION_CODE
Definition xine_internal.h:57
NULL
Definition xine_plugin.c:78
#define PLUGIN_NO_UNLOAD
Definition xine_plugin.h:51
#define PLUGIN_NONE
Definition xine_plugin.h:29
#define PLUGIN_VIDEO_OUT
Definition xine_plugin.h:36

◆ vo_info_macosx

const vo_info_t vo_info_macosx
static
Initial value:
= {
1,
}
#define XINE_VISUAL_TYPE_MACOSX
Definition xine.h:163