/* $Id: drv_X11.c,v 1.16 2006/02/08 04:55:05 reinelt Exp $ * * new style X11 Driver for LCD4Linux * * Copyright (C) 2003 Michael Reinelt * Copyright (C) 2004 The LCD4Linux Team * * based on the old XWindow.c which is * Copyright (C) 2000 Herbert Rosmanith * * This file is part of LCD4Linux. * * LCD4Linux is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * LCD4Linux is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * * $Log: drv_X11.c,v $ * Revision 1.16 2006/02/08 04:55:05 reinelt * moved widget registration to drv_generic_graphic * * Revision 1.15 2006/01/30 06:25:54 reinelt * added CVS Revision * * Revision 1.14 2006/01/30 06:17:17 reinelt * added CVS Revision * * Revision 1.13 2006/01/30 05:47:38 reinelt * graphic subsystem changed to full-color RGBA * * Revision 1.12 2006/01/22 09:16:11 reinelt * Image Widget framework added * * Revision 1.11 2005/05/08 04:32:44 reinelt * CodingStyle added and applied * * Revision 1.10 2005/01/18 06:30:23 reinelt * added (C) to all copyright statements * * Revision 1.9 2004/11/29 04:42:07 reinelt * removed the 99999 msec limit on widget update time (thanks to Petri Damsten) * * Revision 1.8 2004/06/26 12:04:59 reinelt * * uh-oh... the last CVS log message messed up things a lot... * * Revision 1.7 2004/06/26 09:27:21 reinelt * * added '-W' to CFLAGS * changed all C++ comments to C ones * cleaned up a lot of signed/unsigned mistakes * * Revision 1.6 2004/06/20 10:09:54 reinelt * * 'const'ified the whole source * * Revision 1.5 2004/06/08 21:46:38 reinelt * * splash screen for X11 driver (and generic graphic driver) * * Revision 1.4 2004/06/06 06:51:59 reinelt * * do not display end splash screen if quiet=1 * * Revision 1.3 2004/06/02 09:41:19 reinelt * * prepared support for startup splash screen * * Revision 1.2 2004/05/25 14:26:29 reinelt * * added "Image" driver (was: Raster.c) for PPM and PNG creation * fixed some glitches in the X11 driver * * Revision 1.1 2004/02/24 05:55:04 reinelt * * X11 driver ported * */ /* * * exported fuctions: * * struct DRIVER drv_X11 * */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include "debug.h" #include "cfg.h" #include "qprintf.h" #include "timer.h" #include "plugin.h" #include "drv.h" #include "drv_generic_graphic.h" #ifdef WITH_DMALLOC #include #endif static char Name[] = "X11"; static int pixel = -1; /* pointsize in pixel */ static int pgap = 0; /* gap between points */ static int rgap = 0; /* row gap between lines */ static int cgap = 0; /* column gap between characters */ static int border = 0; /* window border */
# Cable conf for NEFtv
# (Nuernberg, Erlangen, Fuerth and Herzogenaurach)

# freq sr fec mod
C 346000000 6875000 NONE QAM64
C 354000000 6875000 NONE QAM64
C 362000000 6875000 NONE QAM64
C 370000000 6875000 NONE QAM64
C 378000000 6875000 NONE QAM64
C 386000000 6875000 NONE QAM64
C 394000000 6875000 NONE QAM64
C 402000000 6875000 NONE QAM64
C 410000000 6875000 NONE QAM64
C 418000000 6875000 NONE QAM64
C 426000000 6875000 NONE QAM64
C 434000000 6875000 NONE QAM64
C 450000000 6875000 NONE QAM64
C 458000000 6875000 NONE QAM64
C 474000000 6875000 NONE QAM64
C 490000000 6875000 NONE QAM64
C 498000000 6875000 NONE QAM64
C 514000000 6875000 NONE QAM64
C 546000000 6875000 NONE QAM64
*/ drv_generic_graphic_real_blit = drv_X11_blit; /* initialize generic graphic driver */ if ((ret = drv_generic_graphic_init(section, Name)) != 0) return ret; drv_generic_graphic_clear(); /* initially expose window */ drv_X11_expose(0, 0, dimx + 2 * border, dimy + 2 * border); if (!quiet) { char buffer[40]; qprintf(buffer, sizeof(buffer), "%s %dx%d", Name, DCOLS, DROWS); if (drv_generic_graphic_greet(buffer, NULL)) { sleep(3); drv_generic_graphic_clear(); } } /* register plugins */ /* none at the moment... */ return 0; } /* close driver & display */ int drv_X11_quit(const __attribute__ ((unused)) int quiet) { info("%s: shutting down.", Name); drv_generic_graphic_quit(); if (drv_X11_FB) { free(drv_X11_FB); drv_X11_FB = NULL; } return (0); } DRIVER drv_X11 = { name:Name, list:drv_X11_list, init:drv_X11_init, quit:drv_X11_quit, };