00001 /* 00002 * Musepack audio compression 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 */ 00018 00019 #pragma once 00020 00021 // mpcenc.h 00022 #define CENTER 448 // offset for centering current data in Main-array 00023 #define BLOCK 1152 // blocksize 00024 #define ANABUFFER (BLOCK + CENTER) // size of PCM-data array for analysis 00025 00026 00027 typedef struct { 00028 float L [36]; 00029 float R [36]; 00030 } SubbandFloatTyp; 00031 00032 typedef struct { 00033 float L [ANABUFFER]; 00034 float R [ANABUFFER]; 00035 float M [ANABUFFER]; 00036 float S [ANABUFFER]; 00037 } PCMDataTyp; 00038