view libmpdemux/dvb_defaults.h @ 17216:0fd3e0cc4fd0

1.1180: [does not apply] 1.1179: Removing obsolete, and until recently, misdocumented option -verbose. 1.1178: make -o mandatory and add a warning when the extension does not match the container format, patch by Reynaldo Pinochet 1.1177: Another examples showing how to play raw YUV video samples 1.1176: Make -really-quiet a common option. 1.1175: Fix -v/-verbose description. 1.1174: 10l: \ needs to be escaped in roff. 1.1173: 1/4l 1.1172: Formatting fix 1.1171: Give an example about how to use the famous cqif video samples
author ranma
date Sat, 17 Dec 2005 20:02:47 +0000
parents 8dd7a656eaf8
children 0783dd397f74
line wrap: on
line source

/* dvb_defaults.h

   Provided by Tomi Ollila

   Copyright (C) Dave Chapman 2002

   Modified for use with MPlayer, for details see the CVS changelog at
   http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
   $Id$

   This program 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
   of the License, or (at your option) any later version.

   This program 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   Or, point your browser to http://www.gnu.org/copyleft/gpl.html

*/

#ifndef _DVB_DEFAULTS_H
#define _DVB_DEFAULTS_H

/* DVB-S */

// With a diseqc system you may need different values per LNB.  I hope
// no-one ever asks for that :-)

#define SLOF (11700*1000UL)
#define LOF1 (9750*1000UL)
#define LOF2 (10600*1000UL)



#ifdef FINLAND
    /* FINLAND settings 1 */
    #define DVB_T_LOCATION		"Suomessa"
    #define BANDWIDTH_DEFAULT           BANDWIDTH_8_MHZ
    #define HP_CODERATE_DEFAULT         FEC_2_3
    #define CONSTELLATION_DEFAULT       QAM_64
    #define TRANSMISSION_MODE_DEFAULT   TRANSMISSION_MODE_8K
    #define GUARD_INTERVAL_DEFAULT	GUARD_INTERVAL_1_8
    #define HIERARCHY_DEFAULT           HIERARCHY_NONE
#endif


#ifdef FINLAND2
    /* FINLAND settings 2 (someone verify there is such environment) */
    #define DVB_T_LOCATION		    "Suomessa II"
    #define BANDWIDTH_DEFAULT           BANDWIDTH_8_MHZ
    #define HP_CODERATE_DEFAULT         FEC_1_2
    #define CONSTELLATION_DEFAULT       QAM_64
    #define TRANSMISSION_MODE_DEFAULT   TRANSMISSION_MODE_2K
    #define GUARD_INTERVAL_DEFAULT      GUARD_INTERVAL_1_8
    #define HIERARCHY_DEFAULT           HIERARCHY_NONE
#endif

#if defined (UK) && defined (HP_CODERATE_DEFAULT)
    #error Multible countries defined
#endif



#ifndef DVB_T_LOCATION
    #ifndef UK
	#warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
    #endif

    /* UNITED KINGDOM settings */
    #define DVB_T_LOCATION		"in United Kingdom"
    #define BANDWIDTH_DEFAULT           BANDWIDTH_8_MHZ
    #define HP_CODERATE_DEFAULT         FEC_2_3
    #define CONSTELLATION_DEFAULT       QAM_64
    #define TRANSMISSION_MODE_DEFAULT   TRANSMISSION_MODE_2K
    #define GUARD_INTERVAL_DEFAULT      GUARD_INTERVAL_1_32
    #define HIERARCHY_DEFAULT           HIERARCHY_NONE
#endif


#if HIERARCHY_DEFAULT == HIERARCHY_NONE && !defined (LP_CODERATE_DEFAULT)
    #define LP_CODERATE_DEFAULT (0) /* unused if HIERARCHY_NONE */
#endif

#endif