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@csiro.au>2008-02-19 04:21:32 +0300
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-02-19 04:21:32 +0300
commit25358cd407bf159aab845390f8855217e7fbb610 (patch)
tree5200576feeeb66870c9d0c77c2cb5971c6566ef5 /libcelt/rate.h
parent224d2dab9c60d1e26ac80b7317151bad3c1b502d (diff)
Merged the rate allocation atruct directly into the mode struct.
Diffstat (limited to 'libcelt/rate.h')
-rw-r--r--libcelt/rate.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/libcelt/rate.h b/libcelt/rate.h
index 4ec1a73..6e4d3d9 100644
--- a/libcelt/rate.h
+++ b/libcelt/rate.h
@@ -32,18 +32,9 @@
#ifndef RATE_H
#define RATE_H
-struct alloc_data {
- const CELTMode *mode;
- int len;
- const int *bands;
- int **bits;
-};
-void alloc_init(struct alloc_data *alloc, const CELTMode *m);
+void compute_alloc_cache(CELTMode *m);
-void alloc_clear(struct alloc_data *alloc);
-
-
-int compute_allocation(const struct alloc_data *alloc, int *offsets, int total, int *pulses);
+int compute_allocation(const CELTMode *m, int *offsets, int total, int *pulses);
#endif