tables.h

00001 /*
00002  * tables.h
00003  * Copyright (C) 2004 Gildas Bazin <[email protected]>
00004  *
00005  * This file is part of dtsdec, a free DTS Coherent Acoustics stream decoder.
00006  * See http://www.videolan.org/dtsdec.html for updates.
00007  *
00008  * dtsdec is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * dtsdec is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  */
00022 
00023 static const int dts_sample_rates[] =
00024 {
00025     0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
00026     12000, 24000, 48000, 96000, 192000
00027 };
00028 
00029 static const int dts_bit_rates[] =
00030 {
00031     32000, 56000, 64000, 96000, 112000, 128000,
00032     192000, 224000, 256000, 320000, 384000,
00033     448000, 512000, 576000, 640000, 768000,
00034     896000, 1024000, 1152000, 1280000, 1344000,
00035     1408000, 1411200, 1472000, 1536000, 1920000,
00036     2048000, 3072000, 3840000, 1/*open*/, 2/*variable*/, 3/*lossless*/
00037 };
00038 
00039 static const uint8_t dts_channels[] =
00040 {
00041     1, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8
00042 };
00043 
00044 static uint8_t dts_bits_per_sample[] =
00045 {
00046     16, 16, 20, 20, 0, 24, 24
00047 };

Generated on Tue Dec 13 14:47:27 2005 for guliverkli by  doxygen 1.4.5