xine-lib 1.2.13-20230125hg15249
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include <pthread.h>
#include <SDL.h>
#include "xine.h"
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/xineutils.h>
#include <xine/vo_scale.h>
Data Structures | |
struct | sdl_frame_s |
struct | sdl_driver_s |
struct | sdl_class_t |
Macros | |
#define | LOG_MODULE "video_out_sdl" |
#define | LOG_VERBOSE |
Typedefs | |
typedef struct sdl_driver_s | sdl_driver_t |
typedef struct sdl_frame_s | sdl_frame_t |
Functions | |
static uint32_t | sdl_get_capabilities (vo_driver_t *this_gen) |
static void | sdl_frame_field (vo_frame_t *vo_img, int which_field) |
static void | sdl_frame_dispose (vo_frame_t *vo_img) |
static vo_frame_t * | sdl_alloc_frame (vo_driver_t *this_gen) |
static void | sdl_compute_ideal_size (sdl_driver_t *this) |
static void | sdl_compute_output_size (sdl_driver_t *this) |
static void | sdl_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 | sdl_overlay_blend (vo_driver_t *this_gen, vo_frame_t *frame_gen, vo_overlay_t *overlay) |
static void | sdl_check_events (sdl_driver_t *this) |
static int | sdl_redraw_needed (vo_driver_t *this_gen) |
static void | sdl_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) |
static int | sdl_get_property (vo_driver_t *this_gen, int property) |
static int | sdl_set_property (vo_driver_t *this_gen, int property, int value) |
static void | sdl_get_property_min_max (vo_driver_t *this_gen, int property, int *min, int *max) |
static int | sdl_gui_data_exchange (vo_driver_t *this_gen, int data_type, void *data) |
static void | sdl_dispose (vo_driver_t *this_gen) |
static vo_driver_t * | open_plugin (video_driver_class_t *class_gen, const void *visual_gen) |
static void * | init_class (xine_t *xine, const void *visual_gen) |
static void * | init_class_fb (xine_t *xine, const void *visual_gen) |
Variables | |
static const vo_info_t | vo_info_sdl |
static const vo_info_t | vo_info_sdl_fb |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define LOG_MODULE "video_out_sdl" |
#define LOG_VERBOSE |
typedef struct sdl_driver_s sdl_driver_t |
typedef struct sdl_frame_s sdl_frame_t |
|
static |
Class Functions
References default_video_driver_class_dispose, video_driver_class_s::description, video_driver_class_s::dispose, sdl_class_t::driver_class, video_driver_class_s::identifier, N_, NULL, open_plugin(), video_driver_class_s::open_plugin, sdl_class_t::visual_type, sdl_class_t::xine, XINE_VERBOSITY_DEBUG, XINE_VISUAL_TYPE_X11, and xprintf.
Referenced by init_class_fb().
|
static |
References init_class(), sdl_class_t::visual_type, sdl_class_t::xine, and XINE_VISUAL_TYPE_FB.
|
static |
References _, _x_alphablend_init(), _x_vo_scale_init(), xine_s::config, sdl_class_t::config, x11_visual_t::d, x11_visual_t::display, vo_frame_s::dispose, x11_visual_t::frame_output_cb, fb_visual_t::frame_output_cb, NULL, config_values_s::register_bool, sdl_alloc_frame(), sdl_display_frame(), sdl_dispose(), sdl_get_capabilities(), sdl_get_property(), sdl_get_property_min_max(), sdl_gui_data_exchange(), sdl_overlay_blend(), sdl_redraw_needed(), sdl_set_property(), sdl_update_frame_format(), x11_visual_t::user_data, fb_visual_t::user_data, VO_CAP_YUY2, VO_CAP_YV12, config_values_s::xine, sdl_class_t::xine, xine_setenv, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, XINE_VISUAL_TYPE_X11, and xprintf.
Referenced by init_class().
|
static |
References vo_frame_s::dispose, vo_frame_s::field, vo_frame_s::mutex, NULL, vo_frame_s::proc_frame, vo_frame_s::proc_slice, sdl_frame_dispose(), sdl_frame_field(), and sdl_frame_s::vo_frame.
Referenced by open_plugin().
|
static |
References sdl_compute_output_size().
Referenced by sdl_display_frame().
|
static |
References _x_vo_scale_compute_ideal_size().
Referenced by sdl_display_frame(), and sdl_set_property().
|
static |
References _x_vo_scale_compute_output_size(), and lprintf.
Referenced by sdl_check_events(), and sdl_redraw_needed().
|
static |
|
static |
References _x_alphablend_free(), and _x_vo_scale_cleanup().
Referenced by open_plugin().
|
static |
References sdl_frame_s::overlay.
Referenced by sdl_alloc_frame().
|
static |
Referenced by sdl_alloc_frame().
|
static |
Referenced by open_plugin().
|
static |
References VO_PROP_ASPECT_RATIO, VO_PROP_OUTPUT_HEIGHT, VO_PROP_OUTPUT_WIDTH, VO_PROP_OUTPUT_XOFFSET, VO_PROP_OUTPUT_YOFFSET, VO_PROP_WINDOW_HEIGHT, and VO_PROP_WINDOW_WIDTH.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
|
static |
|
static |
References _x_vo_scale_redraw_needed(), and sdl_compute_output_size().
Referenced by open_plugin(), and sdl_display_frame().
|
static |
References _x_vo_scale_aspect_ratio_name_table, sdl_compute_ideal_size(), VO_PROP_ASPECT_RATIO, XINE_VERBOSITY_DEBUG, XINE_VO_ASPECT_AUTO, XINE_VO_ASPECT_NUM_RATIOS, and xprintf.
Referenced by open_plugin().
|
static |
References vo_frame_s::base, sdl_frame_s::format, height, sdl_frame_s::height, lprintf, NULL, sdl_frame_s::overlay, vo_frame_s::pitches, sdl_frame_s::ratio, sdl_frame_s::vo_frame, width, sdl_frame_s::width, XINE_IMGFMT_YUY2, and XINE_IMGFMT_YV12.
Referenced by open_plugin().
const plugin_info_t xine_plugin_info [] EXPORTED |
|
static |
|
static |