From f030f9e939d8949d43a6a4c11fc1e7c16617ca8d Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 16 Feb 2002 22:43:24 +0000 Subject: beginning of video_out_driver changes - driver will ask gui for output size on every frame - shm driver has a seperate yuv2rgb converter instance for every frame - all drivers disabled except xshm, until they're fixed I'm planning to introduce a queue of video_out_events in video_out.c, so events are delivered by video_out_loop which means that all driver functions are called from the same thread (no locking necessary, should help the opengl driver) CVS patchset: 1499 CVS date: 2002/02/16 22:43:24 --- src/xine-engine/video_out.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/xine-engine/video_out.h') diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index a75547236..4a7f28644 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.h,v 1.40 2002/02/09 07:13:24 guenter Exp $ + * $Id: video_out.h,v 1.41 2002/02/16 22:43:24 guenter Exp $ * * * xine version of video_out.h @@ -58,8 +58,6 @@ extern "C" { #endif #endif -#define VIDEO_OUT_PLUGIN_IFACE_VERSION 1 - typedef struct vo_frame_s vo_frame_t; typedef struct vo_driver_s vo_driver_t ; typedef struct vo_instance_s vo_instance_t; @@ -233,9 +231,8 @@ struct vo_instance_s { rgb buffers in the private fields of image buffer) */ #define VO_CAP_COPIES_IMAGE 0x00000001 -#define VO_CAP_RGB 0x00000002 /* driver can handle 24bit rgb pictures */ -#define VO_CAP_YV12 0x00000004 /* driver can handle YUV 4:2:0 pictures */ -#define VO_CAP_YUY2 0x00000008 /* driver can handle YUY2 pictures */ +#define VO_CAP_YV12 0x00000002 /* driver can handle YUV 4:2:0 pictures */ +#define VO_CAP_YUY2 0x00000004 /* driver can handle YUY2 pictures */ #define VO_CAP_HUE 0x00000010 /* driver can set HUE value */ #define VO_CAP_SATURATION 0x00000020 /* driver can set SATURATION value */ @@ -253,7 +250,7 @@ struct vo_instance_s { * from generic vo functions. */ -#define VIDEO_OUT_IFACE_VERSION 3 +#define VIDEO_OUT_DRIVER_IFACE_VERSION 4 struct vo_driver_s { -- cgit v1.2.3