Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2007-12-04 17:31:49 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2007-12-04 17:31:49 +0300
commitecb36a3323b0d222224546f818e7c701f67c2de7 (patch)
tree66c1e2c4404115f97f343b04749a51b32a346a60 /libcelt/modes.h
parent1e7087e4cf7894dd42577b780367c1d44793bfc2 (diff)
Adding mode infrastructure (still incomplete)
Diffstat (limited to 'libcelt/modes.h')
-rw-r--r--libcelt/modes.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/libcelt/modes.h b/libcelt/modes.h
new file mode 100644
index 0000000..44cd563
--- /dev/null
+++ b/libcelt/modes.h
@@ -0,0 +1,49 @@
+/* (C) 2007 Jean-Marc Valin, CSIRO
+*/
+/*
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ - Neither the name of the Xiph.org Foundation nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+#ifndef MODES_H
+#define MODES_H
+
+typedef struct {
+ int frameSize;
+ int mdctSize;
+ int nbMdctBlocks;
+
+ int nbEBands;
+ int nbPBands;
+ int pitchEnd;
+
+ const int *eBands;
+ const int *pBands;
+ const int *pulses;
+} CELTMode;
+
+#endif