summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-02-16 22:43:24 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-02-16 22:43:24 +0000
commitf030f9e939d8949d43a6a4c11fc1e7c16617ca8d (patch)
tree75216b2ea75f8ca2a12c6960571ea8a03e216d93 /src/xine-engine/video_out.h
parent0068b2d4877b794ed7112e4c49ee0deb214193d2 (diff)
downloadxine-lib-f030f9e939d8949d43a6a4c11fc1e7c16617ca8d.tar.gz
xine-lib-f030f9e939d8949d43a6a4c11fc1e7c16617ca8d.tar.bz2
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
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h11
1 files changed, 4 insertions, 7 deletions
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 {