Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

xdvshow-info.c

Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 1999, 2000, 2001, 2002 WIDE Project 00003 * All rights reserved. 00004 * 00005 * Author : Akimichi OGAWA (akimichi@sfc.wide.ad.jp) 00006 * 00007 * Redistribution and use in source and binary forms, with or without 00008 * modification, are permitted provided that the following conditions 00009 * are met: 00010 * 1. Redistributions of source code MUST retain the above copyright 00011 * notice, this list of conditions and the following disclaimer. 00012 * 2. Redistributions in binary form MUST reproduce the above copyright 00013 * notice, this list of conditions and the following disclaimer in the 00014 * documentation and/or other materials provided with the distribution. 00015 * 3. All advertising materials mentioning features or use of this software 00016 * MUST display the following acknowledgement: 00017 * This product includes software developed by Akimichi OGAWA. 00018 * 4. The name of the author MAY NOT be used to endorse or promote products 00019 * derived from this software without specific prior written permission. 00020 * 00021 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 00022 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00023 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00024 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 00025 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00026 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00027 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00028 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 00029 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 00030 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00031 * POSSIBILITY OF SUCH DAMAGE. 00032 * 00033 */ 00034 00051 #ifdef HAVE_CONFIG_H 00052 #include <config.h> 00053 #endif /* HAVE_CONFIG_H */ 00054 00055 #include <stdio.h> 00056 00057 #include "xdvshow-info.h" 00058 00061 void 00062 show_version(void) 00063 { 00064 printf("xdvshow version %s\n", VERSION); 00065 printf("2003, 2004 Milos Liska (xliska@fi.muni.cz)\n"); 00066 printf("This product includes software developed by Akimichi OGAWA.\n"); 00067 } 00068 00069 00072 void 00073 show_usage(char *argv0) 00074 { 00075 printf("Usage : %s [options]\n\n", argv0); 00076 00077 printf("<options>\n"); 00078 printf("-v : show version number\n"); 00079 printf("-h : show this help message\n"); 00080 printf("-f file : input from file\n"); 00081 printf("-A device : enable audio using device\n"); 00082 #if (HAVE_SDL || HAVE_SDL11) 00083 printf("-F : enable fullscreen\n"); 00084 printf("-z : enable zoom (change display resolution)\n"); 00085 printf("-Z : enable zoom (scale video)\n"); 00086 printf("-D : enable deinterlace\n"); 00087 printf("-o : disable hw overlay with SDL\n"); 00088 #endif /* HAVE_SDL || HAVE_SDL11*/ 00089 printf("-4 : use IPv4\n"); 00090 #ifdef ENABLE_INET6 00091 printf("-6 : use IPv6\n"); 00092 #endif /* ENABLE_INET6 */ 00093 printf("-j addr : join multicast group\n"); 00094 printf("-r host : packet reflector name/address\n"); 00095 printf("-P port : set UDP port number\n"); 00096 printf("-S : stereo\n"); 00097 #if (LINUX && HAVE_LIBRAW1394) || FREEBSD_5 00098 printf("-i : use ieee1394 interface for DV acquisition\n"); 00099 #endif /* (DLINUX && HAVE_LIBRAW1394) || DFREEBSD_5 */ 00100 printf("\n"); 00101 printf("-d : dump displayed dv data\n"); 00102 printf("\n"); 00103 #if (HAVE_SDL || HAVE_SDL11) 00104 printf("-s : use SDL for display (default)\n"); 00105 printf("-x : use X11 for display (no fs available)\n"); 00106 #else /* HAVE_SDL */ 00107 printf("-x : use X11 for display (no fs available, default)\n"); 00108 #endif 00109 00110 }

Generated on Wed Nov 3 19:19:02 2004 for xdvshow by doxygen 1.3.7