Debian Codegraph @

external/opusfile/opus/celt/modes.h

raw symbols SCIP
1 /* Copyright (c) 2007-2008 CSIRO
2 Copyright (c) 2007-2009 Xiph.Org Foundation
3 Copyright (c) 2008 Gregory Maxwell
4 Written by Jean-Marc Valin and Gregory Maxwell */
5 /*
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions
8 are met:
9
10 - Redistributions of source code must retain the above copyright
11 notice, this list of conditions and the following disclaimer.
12
13 - Redistributions in binary form must reproduce the above copyright
14 notice, this list of conditions and the following disclaimer in the
15 documentation and/or other materials provided with the distribution.
16
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
21 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30 #ifndef MODES_H
31 #define MODES_Hcxx . . $ `external/opusfile/opus/celt/modes.h:31:9`!
32
33 #include "opus_types.h"cxx . . $ `<file>/external/opusfile/opus/opus_types.h`/
34 #include "celt.h"cxx . . $ `<file>/external/opusfile/opus/celt/celt.h`/
35 #include "arch.h"cxx . . $ `<file>/external/opusfile/opus/celt/arch.h`/
36 #include "mdct.h"cxx . . $ `<file>/external/opusfile/opus/celt/mdct.h`/
37 #include "entenc.h"cxx . . $ `<file>/external/opusfile/opus/celt/entenc.h`/
38 #include "entdec.h"cxx . . $ `<file>/external/opusfile/opus/celt/entdec.h`/
39
40 #define MAX_PERIODcxx . . $ `external/opusfile/opus/celt/modes.h:40:9`! 1024
41
42 typedef structcxx . . $ $anonymous_type_98491fdeb727afd2_0# {
43 int sizecxx . . $ $anonymous_type_98491fdeb727afd2_0#size.;
44 const opus_int16cxx . . $ opus_int16# *indexcxx . . $ $anonymous_type_98491fdeb727afd2_0#index.;
45 const unsigned char *bitscxx . . $ $anonymous_type_98491fdeb727afd2_0#bits.;
46 const unsigned char *capscxx . . $ $anonymous_type_98491fdeb727afd2_0#caps.;
47 } PulseCachecxx . . $ PulseCache#;
48
49 /** Mode definition (opaque)
50 @brief Mode definition
51 */
52 struct OpusCustomModecxx . . $ OpusCustomMode# {
53 opus_int32cxx . . $ opus_int32# Fscxx . . $ OpusCustomMode#Fs.;
54 int overlapcxx . . $ OpusCustomMode#overlap.;
55
56 int nbEBandscxx . . $ OpusCustomMode#nbEBands.;
57 int effEBandscxx . . $ OpusCustomMode#effEBands.;
58 opus_val16cxx . . $ opus_val16# preemphcxx . . $ OpusCustomMode#preemph.[4];
59 const opus_int16cxx . . $ opus_int16# *eBandscxx . . $ OpusCustomMode#eBands.; /**< Definition for each "pseudo-critical band" */
60
61 int maxLMcxx . . $ OpusCustomMode#maxLM.;
62 int nbShortMdctscxx . . $ OpusCustomMode#nbShortMdcts.;
63 int shortMdctSizecxx . . $ OpusCustomMode#shortMdctSize.;
64
65 int nbAllocVectorscxx . . $ OpusCustomMode#nbAllocVectors.; /**< Number of lines in the matrix below */
66 const unsigned char *allocVectorscxx . . $ OpusCustomMode#allocVectors.; /**< Number of bits in each band for several rates */
67 const opus_int16cxx . . $ opus_int16# *logNcxx . . $ OpusCustomMode#logN.;
68
69 const opus_val16cxx . . $ opus_val16# *windowcxx . . $ OpusCustomMode#window.;
70 mdct_lookupcxx . . $ mdct_lookup# mdctcxx . . $ OpusCustomMode#mdct.;
71 PulseCachecxx . . $ PulseCache# cachecxx . . $ OpusCustomMode#cache.;
72 };
73
74
75 #endif