[Mplayer-cvslog] CVS: main/libvo img_format.h,1.3,1.4
Alex Beregszaszi
alex at mplayer.dev.hu
Sat Nov 10 00:49:05 CET 2001
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux tv.c,NONE,1.1 tv.h,NONE,1.1 tvi_def.h,NONE,1.1 tvi_dummy.c,NONE,1.1 tvi_v4l.c,NONE,1.1 Makefile,1.8,1.9 demuxer.c,1.39,1.40 demuxer.h,1.18,1.19 open.c,1.17,1.18 stream.c,1.21,1.22 stream.h,1.12,1.13
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux demux_viv.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv16935
Modified Files:
img_format.h
Log Message:
added some macros for rgb/bgr
Index: img_format.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/img_format.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- img_format.h 3 Nov 2001 21:01:12 -0000 1.3
+++ img_format.h 9 Nov 2001 23:49:03 -0000 1.4
@@ -20,6 +20,12 @@
#define IMGFMT_BGR24 (IMGFMT_BGR|24)
#define IMGFMT_BGR32 (IMGFMT_BGR|32)
+#define IMGFMT_IS_RGB(fmt) ((fmt&IMGFMT_RGB_MASK)==IMGFMT_RGB)
+#define IMGFMT_IS_BGR(fmt) ((fmt&IMGFMT_BGR_MASK)==IMGFMT_BGR)
+
+#define IMGFMT_RGB_DEPTH(fmt) (fmt&~IMGFMT_RGB)
+#define IMGFMT_BGR_DEPTH(fmt) (fmt&~IMGFMT_BGR)
+
/* Planar YUV Formats */
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux tv.c,NONE,1.1 tv.h,NONE,1.1 tvi_def.h,NONE,1.1 tvi_dummy.c,NONE,1.1 tvi_v4l.c,NONE,1.1 Makefile,1.8,1.9 demuxer.c,1.39,1.40 demuxer.h,1.18,1.19 open.c,1.17,1.18 stream.c,1.21,1.22 stream.h,1.12,1.13
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux demux_viv.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list