package net.sourceforge.jaad.aac.syntax;
import java.util.logging.Logger;
/**
* This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed
* under the Public Domain license. Code changes provided by the JCodec project
* are distributed under FreeBSD license.
*
* @author in-somnia
*/
public interface SyntaxConstants {
Logger LOGGER = Logger.getLogger("jaad"); //for debugging
int MAX_ELEMENTS = 16;
int BYTE_MASK = 0xFF;
int MIN_INPUT_SIZE = 768; //6144 bits/channel
//frame length
int WINDOW_LEN_LONG = 1024;
int WINDOW_LEN_SHORT = WINDOW_LEN_LONG/8;
int WINDOW_SMALL_LEN_LONG = 960;
int WINDOW_SMALL_LEN_SHORT = WINDOW_SMALL_LEN_LONG/8;
//element types
int ELEMENT_SCE = 0;
int ELEMENT_CPE = 1;
int ELEMENT_CCE = 2;
int ELEMENT_LFE = 3;
int ELEMENT_DSE = 4;
int ELEMENT_PCE = 5;
int ELEMENT_FIL = 6;
int ELEMENT_END = 7;
//maximum numbers
int MAX_WINDOW_COUNT = 8;
int MAX_WINDOW_GROUP_COUNT = MAX_WINDOW_COUNT;
int MAX_LTP_SFB = 40;
int MAX_SECTIONS = 120;
int MAX_MS_MASK = 128;
float SQRT2 = 1.414213562f;
}