xine-lib  1.2.10
group_dxr3.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2018 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  */
20 
21 #ifndef HAVE_GROUP_DXR3_H
22 #define HAVE_GROUP_DXR3_H
23 
24 #include <xine/xine_internal.h>
25 
26 void *dxr3_spudec_init_plugin(xine_t *xine, const void* data);
27 void *dxr3_video_init_plugin(xine_t *xine, const void *data);
28 void *dxr3_aa_init_plugin(xine_t *xine, const void *visual_gen);
29 #ifdef HAVE_X11
30 void *dxr3_x11_init_plugin(xine_t *xine, const void *visual_gen);
31 #endif
32 
33 #endif /* HAVE_GROUP_DXR3_H */
xine_s
Definition: xine_internal.h:80
dxr3_spudec_init_plugin
void * dxr3_spudec_init_plugin(xine_t *xine, const void *data)
Definition: dxr3_decode_spu.c:166
vo_frame_s::pitches
int pitches[3]
Definition: video_out.h:117
vo_info_t::priority
int priority
Definition: xine_plugin.h:67
dxr3_frame_s
Definition: video_out_dxr3.h:129
dxr3_frame_s::oheight
uint32_t oheight
Definition: video_out_dxr3.h:131
XFF_ALLOC_CONTEXT
#define XFF_ALLOC_CONTEXT()
Definition: ffmpeg_compat.h:209
DEFAULT_BUFFER_SIZE
#define DEFAULT_BUFFER_SIZE
Definition: ffmpeg_encoder.c:58
PLUGIN_SPU_DECODER
#define PLUGIN_SPU_DECODER
Definition: xine_plugin.h:34
lavc_on_unneeded
static int lavc_on_unneeded(dxr3_driver_t *drv)
Definition: ffmpeg_encoder.c:337
dxr3_driver_s::enc
encoder_data_t * enc
Definition: video_out_dxr3.h:104
xine_plugin.h
BUF_SPU_DVD
#define BUF_SPU_DVD
Definition: buffer.h:286
lavc_on_display_frame
static int lavc_on_display_frame(dxr3_driver_t *drv, dxr3_frame_t *frame)
Definition: ffmpeg_encoder.c:256
XFF_AVCODEC_REGISTER_ALL
#define XFF_AVCODEC_REGISTER_ALL()
Definition: ffmpeg_compat.h:254
lavc_data_s::encoder_data
encoder_data_t encoder_data
Definition: ffmpeg_encoder.c:69
dxr3_spudec_init_plugin
void * dxr3_spudec_init_plugin(xine_t *xine, const void *data)
Definition: dxr3_decode_spu.c:166
encoder_data_s
Definition: video_out_dxr3.h:138
dxr3_aa_init_plugin
void * dxr3_aa_init_plugin(xine_t *xine, const void *visual_gen)
Definition: video_out_dxr3.c:167
video_out_dxr3.h
lavc_data_s::width
int width
Definition: ffmpeg_encoder.c:71
lavc_data_s::context
AVCodecContext * context
Definition: ffmpeg_encoder.c:70
lprintf
#define lprintf(...)
Definition: xineutils.h:620
encoder_data_s::on_close
int(* on_close)(dxr3_driver_t *)
Definition: video_out_dxr3.h:144
dxr3_driver_s::class
dxr3_driver_class_t * class
Definition: video_out_dxr3.h:82
dxr3_video_init_plugin
void * dxr3_video_init_plugin(xine_t *xine, const void *data)
Definition: dxr3_decode_video.c:156
supported_types_video
static const uint32_t supported_types_video[]
Definition: group_dxr3.c:46
dxr3_driver_class_s::xine
xine_t * xine
Definition: video_out_dxr3.h:72
vo_frame_s::height
int height
Definition: video_out.h:138
lavc_data_s::out
uint8_t * out[3]
Definition: ffmpeg_encoder.c:76
dxr3_frame_s::real_base
uint8_t * real_base[3]
Definition: video_out_dxr3.h:134
NULL
NULL
Definition: xine_plugin.c:78
XINE_VERBOSITY_LOG
#define XINE_VERBOSITY_LOG
Definition: xine.h:425
vo_info_dxr3_aa
static const vo_info_t vo_info_dxr3_aa
Definition: group_dxr3.c:63
dxr3_lavc_init
int dxr3_lavc_init(dxr3_driver_t *drv, plugin_node_t *plugin)
Definition: ffmpeg_encoder.c:89
vo_frame_s::bad_frame
int bad_frame
Definition: video_out.h:111
dxr3_frame_s::vo_frame
vo_frame_t vo_frame
Definition: video_out_dxr3.h:130
XINE_VISUAL_TYPE_AA
#define XINE_VISUAL_TYPE_AA
Definition: xine.h:156
lavc_data_s::buf
uint8_t * buf
Definition: ffmpeg_encoder.c:77
decoder_info_t
Definition: xine_plugin.h:77
xine_s::config
config_values_t * config
Definition: xine_internal.h:82
XFF_ALLOC_FRAME
#define XFF_ALLOC_FRAME()
Definition: ffmpeg_compat.h:227
width
unsigned int width
Definition: gfontrle.c:4
XINE_VERSION_CODE
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
_
#define _(String)
Definition: vcdplayer.h:39
vo_frame_s::duration
int duration
Definition: video_out.h:112
dxr3_driver_s
Definition: video_out_dxr3.h:80
lavc_data_t
struct lavc_data_s lavc_data_t
decoder_info_t::supported_types
const uint32_t * supported_types
Definition: xine_plugin.h:78
XFF_AVCODEC_INIT
#define XFF_AVCODEC_INIT()
Definition: ffmpeg_compat.h:203
group_dxr3.h
config_values_s::register_range
int(* register_range)(config_values_t *self, const char *key, int def_value, int min, int max, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:125
lavc_data_s::ffmpeg_buffer
uint8_t * ffmpeg_buffer
Definition: ffmpeg_encoder.c:73
PLUGIN_VIDEO_DECODER
#define PLUGIN_VIDEO_DECODER
Definition: xine_plugin.h:33
lavc_data_s
Definition: ffmpeg_encoder.c:68
encoder_data_s::on_unneeded
int(* on_unneeded)(dxr3_driver_t *)
Definition: video_out_dxr3.h:143
supported_types_spu
static const uint32_t supported_types_spu[]
Definition: group_dxr3.c:36
EXPORTED
const plugin_info_t xine_plugin_info[] EXPORTED
Definition: group_dxr3.c:68
PLUGIN_VIDEO_OUT
#define PLUGIN_VIDEO_OUT
Definition: xine_plugin.h:36
dxr3_video_init_plugin
void * dxr3_video_init_plugin(xine_t *xine, const void *data)
Definition: dxr3_decode_video.c:156
lavc_on_update_format
static int lavc_on_update_format(dxr3_driver_t *drv, dxr3_frame_t *frame)
Definition: ffmpeg_encoder.c:117
vo_frame_s::format
int format
Definition: video_out.h:140
height
unsigned int height
Definition: gfontrle.c:5
dxr3_driver_s::top_bar
int top_bar
Definition: video_out_dxr3.h:113
XFF_FREE_CONTEXT
#define XFF_FREE_CONTEXT(pp)
Definition: ffmpeg_compat.h:221
lavc_data_s::height
int height
Definition: ffmpeg_encoder.c:71
BUF_VIDEO_MPEG
#define BUF_VIDEO_MPEG
Definition: buffer.h:90
PLUGIN_NONE
#define PLUGIN_NONE
Definition: xine_plugin.h:29
XINE_VISUAL_TYPE_X11
#define XINE_VISUAL_TYPE_X11
Definition: xine.h:154
xine_internal.h
dxr3_lavc_close
static int dxr3_lavc_close(dxr3_driver_t *drv)
Definition: ffmpeg_encoder.c:81
config.h
plugin_node_s
Definition: plugin_catalog.h:44
dxr3_driver_s::fd_video
int fd_video
Definition: video_out_dxr3.h:87
XFF_AVCODEC_OPEN
#define XFF_AVCODEC_OPEN(ctx, codec)
Definition: ffmpeg_compat.h:215
lavc_data_s::picture
AVFrame * picture
Definition: ffmpeg_encoder.c:75
dxr3_video_decoder_info
static const decoder_info_t dxr3_video_decoder_info
Definition: group_dxr3.c:51
vo_frame_s::base
uint8_t * base[3]
Definition: video_out.h:116
lavc_prepare_frame
static int lavc_prepare_frame(lavc_data_t *this, dxr3_driver_t *drv, dxr3_frame_t *frame)
Definition: ffmpeg_encoder.c:351
XINE_IMGFMT_YUY2
#define XINE_IMGFMT_YUY2
Definition: xine.h:495
ENC_LAVC
@ ENC_LAVC
Definition: video_out_dxr3.h:42
plugin_info_t
Definition: xine_plugin.h:55
xprintf
#define xprintf(xine, verbose,...)
Definition: xineutils.h:664
dxr3_spudec_info
static const decoder_info_t dxr3_spudec_info
Definition: group_dxr3.c:41
vo_info_t
Definition: xine_plugin.h:66
vo_frame_s::free
void(* free)(vo_frame_t *vo_img)
Definition: video_out.h:100
config_values_s::register_bool
int(* register_bool)(config_values_t *self, const char *key, int def_value, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:154