[MPlayer-cvslog] CVS: main/libvo vo_fbdev.c, 1.92, 1.93 vo_fbdev2.c, 1.7, 1.8
Alan Curry CVS
syncmail at mplayerhq.hu
Fri Feb 17 04:49:36 CET 2006
- Previous message: [MPlayer-cvslog] CVS: main/libmpdemux demux_aac.c, 1.6, 1.7 demux_asf.c, 1.43, 1.44 demux_audio.c, 1.43, 1.44 demux_avi.c, 1.72, 1.73 demux_avs.c, 1.8, 1.9 demux_demuxers.c, 1.9, 1.10 demux_film.c, 1.16, 1.17 demux_fli.c, 1.13, 1.14 demux_lavf.c, 1.27, 1.28 demux_mf.c, 1.17, 1.18 demux_mov.c, 1.138, 1.139 demux_mpc.c, 1.12, 1.13 demux_mpg.c, 1.71, 1.72 demux_nsv.c, 1.14, 1.15 demux_nuv.c, 1.18, 1.19 demux_ogg.c, 1.87, 1.88 demux_pva.c, 1.9, 1.10 demux_rawaudio.c, 1.15, 1.16 demux_rawdv.c, 1.14, 1.15 demux_rawvideo.c, 1.11, 1.12 demux_real.c, 1.88, 1.89 demux_realaud.c, 1.13, 1.14 demux_ts.c, 1.44, 1.45 demux_ty.c, 1.15, 1.16 demux_vqf.c, 1.8, 1.9 demux_xmms.c, 1.14, 1.15 demux_y4m.c, 1.12, 1.13 demuxer.c, 1.216, 1.217 demuxer.h, 1.90, 1.91
- Next message: [MPlayer-cvslog] CVS: main/postproc yuv2rgb_altivec.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Alan Curry CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv26894/libvo
Modified Files:
vo_fbdev.c vo_fbdev2.c
Log Message:
Fix colormap save/restore for directcolor fb devices
Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- vo_fbdev.c 5 Aug 2005 01:24:36 -0000 1.92
+++ vo_fbdev.c 17 Feb 2006 03:49:33 -0000 1.93
@@ -549,7 +549,8 @@
static struct fb_fix_screeninfo fb_finfo;
static struct fb_var_screeninfo fb_orig_vinfo;
static struct fb_var_screeninfo fb_vinfo;
-static struct fb_cmap fb_oldcmap;
+static unsigned short fb_ored[256], fb_ogreen[256], fb_oblue[256];
+static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue };
static int fb_cmap_changed = 0;
static int fb_pixel_size; // 32: 4 24: 3 16: 2 15: 2
static int fb_bpp; // 32: 32 24: 24 16: 16 15: 15
Index: vo_fbdev2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev2.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vo_fbdev2.c 5 Aug 2005 01:24:36 -0000 1.7
+++ vo_fbdev2.c 17 Feb 2006 03:49:33 -0000 1.8
@@ -72,7 +72,8 @@
static struct fb_fix_screeninfo fb_finfo; // fixed info
static struct fb_var_screeninfo fb_vinfo; // variable info
static struct fb_var_screeninfo fb_orig_vinfo; // variable info to restore later
-static struct fb_cmap fb_oldcmap; // cmap to restore later
+static unsigned short fb_ored[256], fb_ogreen[256], fb_oblue[256];
+static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue };
static int fb_cmap_changed = 0; // to restore map
static int fb_pixel_size; // 32: 4 24: 3 16: 2 15: 2
static int fb_bpp; // 32: 32 24: 24 16: 16 15: 15
- Previous message: [MPlayer-cvslog] CVS: main/libmpdemux demux_aac.c, 1.6, 1.7 demux_asf.c, 1.43, 1.44 demux_audio.c, 1.43, 1.44 demux_avi.c, 1.72, 1.73 demux_avs.c, 1.8, 1.9 demux_demuxers.c, 1.9, 1.10 demux_film.c, 1.16, 1.17 demux_fli.c, 1.13, 1.14 demux_lavf.c, 1.27, 1.28 demux_mf.c, 1.17, 1.18 demux_mov.c, 1.138, 1.139 demux_mpc.c, 1.12, 1.13 demux_mpg.c, 1.71, 1.72 demux_nsv.c, 1.14, 1.15 demux_nuv.c, 1.18, 1.19 demux_ogg.c, 1.87, 1.88 demux_pva.c, 1.9, 1.10 demux_rawaudio.c, 1.15, 1.16 demux_rawdv.c, 1.14, 1.15 demux_rawvideo.c, 1.11, 1.12 demux_real.c, 1.88, 1.89 demux_realaud.c, 1.13, 1.14 demux_ts.c, 1.44, 1.45 demux_ty.c, 1.15, 1.16 demux_vqf.c, 1.8, 1.9 demux_xmms.c, 1.14, 1.15 demux_y4m.c, 1.12, 1.13 demuxer.c, 1.216, 1.217 demuxer.h, 1.90, 1.91
- Next message: [MPlayer-cvslog] CVS: main/postproc yuv2rgb_altivec.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list