Debian Codegraph @

external/opusfile/opus/silk/structs.h

raw symbols SCIP
1 /***********************************************************************
2 Copyright (c) 2006-2011, Skype Limited. All rights reserved.
3 Redistribution and use in source and binary forms, with or without
4 modification, are permitted provided that the following conditions
5 are met:
6 - Redistributions of source code must retain the above copyright notice,
7 this list of conditions and the following disclaimer.
8 - Redistributions in binary form must reproduce the above copyright
9 notice, this list of conditions and the following disclaimer in the
10 documentation and/or other materials provided with the distribution.
11 - Neither the name of Internet Society, IETF or IETF Trust, nor the
12 names of specific contributors, may be used to endorse or promote
13 products derived from this software without specific prior written
14 permission.
15 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
19 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 POSSIBILITY OF SUCH DAMAGE.
26 ***********************************************************************/
27
28 #ifndef SILK_STRUCTS_H
29 #define SILK_STRUCTS_Hcxx . . $ `external/opusfile/opus/silk/structs.h:29:9`!
30
31 #include "typedef.h"cxx . . $ `<file>/external/opusfile/opus/silk/typedef.h`/
32 #include "SigProc_FIX.h"cxx . . $ `<file>/external/opusfile/opus/silk/SigProc_FIX.h`/
33 #include "define.h"cxx . . $ `<file>/external/opusfile/opus/silk/define.h`/
34 #include "entenc.h"cxx . . $ `<file>/external/opusfile/opus/celt/entenc.h`/
35 #include "entdec.h"cxx . . $ `<file>/external/opusfile/opus/celt/entdec.h`/
36
37 #ifdef __cplusplus
38 extern "C"
39 {
40 #endif
41
42 /************************************/
43 /* Noise shaping quantization state */
44 /************************************/
45 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_0# {
46 opus_int16cxx . . $ opus_int16# xqcxx . . $ $anonymous_type_c9846ade8c67dd67_0#xq.[ 2 * MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! ]; /* Buffer for quantized output signal */
47 opus_int32cxx . . $ opus_int32# sLTP_shp_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_0#sLTP_shp_Q14.[ 2 * MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! ];
48 opus_int32cxx . . $ opus_int32# sLPC_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_0#sLPC_Q14.[ MAX_SUB_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:95:9`! + NSQ_LPC_BUF_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:180:10`! ];
49 opus_int32cxx . . $ opus_int32# sAR2_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_0#sAR2_Q14.[ MAX_SHAPE_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:155:9`! ];
50 opus_int32cxx . . $ opus_int32# sLF_AR_shp_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_0#sLF_AR_shp_Q14.;
51 opus_int32cxx . . $ opus_int32# sDiff_shp_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_0#sDiff_shp_Q14.;
52 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! lagPrevcxx . . $ $anonymous_type_c9846ade8c67dd67_0#lagPrev.;
53 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! sLTP_buf_idxcxx . . $ $anonymous_type_c9846ade8c67dd67_0#sLTP_buf_idx.;
54 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! sLTP_shp_buf_idxcxx . . $ $anonymous_type_c9846ade8c67dd67_0#sLTP_shp_buf_idx.;
55 opus_int32cxx . . $ opus_int32# rand_seedcxx . . $ $anonymous_type_c9846ade8c67dd67_0#rand_seed.;
56 opus_int32cxx . . $ opus_int32# prev_gain_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_0#prev_gain_Q16.;
57 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! rewhite_flagcxx . . $ $anonymous_type_c9846ade8c67dd67_0#rewhite_flag.;
58 } silk_nsq_statecxx . . $ silk_nsq_state#;
59
60 /********************************/
61 /* VAD state */
62 /********************************/
63 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_1# {
64 opus_int32cxx . . $ opus_int32# AnaStatecxx . . $ $anonymous_type_c9846ade8c67dd67_1#AnaState.[ 2 ]; /* Analysis filterbank state: 0-8 kHz */
65 opus_int32cxx . . $ opus_int32# AnaState1cxx . . $ $anonymous_type_c9846ade8c67dd67_1#AnaState1.[ 2 ]; /* Analysis filterbank state: 0-4 kHz */
66 opus_int32cxx . . $ opus_int32# AnaState2cxx . . $ $anonymous_type_c9846ade8c67dd67_1#AnaState2.[ 2 ]; /* Analysis filterbank state: 0-2 kHz */
67 opus_int32cxx . . $ opus_int32# XnrgSubfrcxx . . $ $anonymous_type_c9846ade8c67dd67_1#XnrgSubfr.[ VAD_N_BANDScxx . . $ `external/opusfile/opus/silk/define.h:185:9`! ]; /* Subframe energies */
68 opus_int32cxx . . $ opus_int32# NrgRatioSmth_Q8cxx . . $ $anonymous_type_c9846ade8c67dd67_1#NrgRatioSmth_Q8.[ VAD_N_BANDScxx . . $ `external/opusfile/opus/silk/define.h:185:9`! ]; /* Smoothed energy level in each band */
69 opus_int16cxx . . $ opus_int16# HPstatecxx . . $ $anonymous_type_c9846ade8c67dd67_1#HPstate.; /* State of differentiator in the lowest band */
70 opus_int32cxx . . $ opus_int32# NLcxx . . $ $anonymous_type_c9846ade8c67dd67_1#NL.[ VAD_N_BANDScxx . . $ `external/opusfile/opus/silk/define.h:185:9`! ]; /* Noise energy level in each band */
71 opus_int32cxx . . $ opus_int32# inv_NLcxx . . $ $anonymous_type_c9846ade8c67dd67_1#inv_NL.[ VAD_N_BANDScxx . . $ `external/opusfile/opus/silk/define.h:185:9`! ]; /* Inverse noise energy level in each band */
72 opus_int32cxx . . $ opus_int32# NoiseLevelBiascxx . . $ $anonymous_type_c9846ade8c67dd67_1#NoiseLevelBias.[ VAD_N_BANDScxx . . $ `external/opusfile/opus/silk/define.h:185:9`! ]; /* Noise level estimator bias/offset */
73 opus_int32cxx . . $ opus_int32# countercxx . . $ $anonymous_type_c9846ade8c67dd67_1#counter.; /* Frame counter used in the initial phase */
74 } silk_VAD_statecxx . . $ silk_VAD_state#;
75
76 /* Variable cut-off low-pass filter state */
77 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_2# {
78 opus_int32cxx . . $ opus_int32# In_LP_Statecxx . . $ $anonymous_type_c9846ade8c67dd67_2#In_LP_State.[ 2 ]; /* Low pass filter state */
79 opus_int32cxx . . $ opus_int32# transition_frame_nocxx . . $ $anonymous_type_c9846ade8c67dd67_2#transition_frame_no.; /* Counter which is mapped to a cut-off frequency */
80 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! modecxx . . $ $anonymous_type_c9846ade8c67dd67_2#mode.; /* Operating mode, <0: switch down, >0: switch up; 0: do nothing */
81 opus_int32cxx . . $ opus_int32# saved_fs_kHzcxx . . $ $anonymous_type_c9846ade8c67dd67_2#saved_fs_kHz.; /* If non-zero, holds the last sampling rate before a bandwidth switching reset. */
82 } silk_LP_statecxx . . $ silk_LP_state#;
83
84 /* Structure containing NLSF codebook */
85 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_3# {
86 const opus_int16cxx . . $ opus_int16# nVectorscxx . . $ $anonymous_type_c9846ade8c67dd67_3#nVectors.;
87 const opus_int16cxx . . $ opus_int16# ordercxx . . $ $anonymous_type_c9846ade8c67dd67_3#order.;
88 const opus_int16cxx . . $ opus_int16# quantStepSize_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_3#quantStepSize_Q16.;
89 const opus_int16cxx . . $ opus_int16# invQuantStepSize_Q6cxx . . $ $anonymous_type_c9846ade8c67dd67_3#invQuantStepSize_Q6.;
90 const opus_uint8cxx . . $ opus_uint8# *CB1_NLSF_Q8cxx . . $ $anonymous_type_c9846ade8c67dd67_3#CB1_NLSF_Q8.;
91 const opus_int16cxx . . $ opus_int16# *CB1_Wght_Q9cxx . . $ $anonymous_type_c9846ade8c67dd67_3#CB1_Wght_Q9.;
92 const opus_uint8cxx . . $ opus_uint8# *CB1_iCDFcxx . . $ $anonymous_type_c9846ade8c67dd67_3#CB1_iCDF.;
93 const opus_uint8cxx . . $ opus_uint8# *pred_Q8cxx . . $ $anonymous_type_c9846ade8c67dd67_3#pred_Q8.;
94 const opus_uint8cxx . . $ opus_uint8# *ec_selcxx . . $ $anonymous_type_c9846ade8c67dd67_3#ec_sel.;
95 const opus_uint8cxx . . $ opus_uint8# *ec_iCDFcxx . . $ $anonymous_type_c9846ade8c67dd67_3#ec_iCDF.;
96 const opus_uint8cxx . . $ opus_uint8# *ec_Rates_Q5cxx . . $ $anonymous_type_c9846ade8c67dd67_3#ec_Rates_Q5.;
97 const opus_int16cxx . . $ opus_int16# *deltaMin_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_3#deltaMin_Q15.;
98 } silk_NLSF_CB_structcxx . . $ silk_NLSF_CB_struct#;
99
100 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_4# {
101 opus_int16cxx . . $ opus_int16# pred_prev_Q13cxx . . $ $anonymous_type_c9846ade8c67dd67_4#pred_prev_Q13.[ 2 ];
102 opus_int16cxx . . $ opus_int16# sMidcxx . . $ $anonymous_type_c9846ade8c67dd67_4#sMid.[ 2 ];
103 opus_int16cxx . . $ opus_int16# sSidecxx . . $ $anonymous_type_c9846ade8c67dd67_4#sSide.[ 2 ];
104 opus_int32cxx . . $ opus_int32# mid_side_amp_Q0cxx . . $ $anonymous_type_c9846ade8c67dd67_4#mid_side_amp_Q0.[ 4 ];
105 opus_int16cxx . . $ opus_int16# smth_width_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_4#smth_width_Q14.;
106 opus_int16cxx . . $ opus_int16# width_prev_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_4#width_prev_Q14.;
107 opus_int16cxx . . $ opus_int16# silent_side_lencxx . . $ $anonymous_type_c9846ade8c67dd67_4#silent_side_len.;
108 opus_int8cxx . . $ opus_int8# predIxcxx . . $ $anonymous_type_c9846ade8c67dd67_4#predIx.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ][ 2 ][ 3 ];
109 opus_int8cxx . . $ opus_int8# mid_only_flagscxx . . $ $anonymous_type_c9846ade8c67dd67_4#mid_only_flags.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ];
110 } stereo_enc_statecxx . . $ stereo_enc_state#;
111
112 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_5# {
113 opus_int16cxx . . $ opus_int16# pred_prev_Q13cxx . . $ $anonymous_type_c9846ade8c67dd67_5#pred_prev_Q13.[ 2 ];
114 opus_int16cxx . . $ opus_int16# sMidcxx . . $ $anonymous_type_c9846ade8c67dd67_5#sMid.[ 2 ];
115 opus_int16cxx . . $ opus_int16# sSidecxx . . $ $anonymous_type_c9846ade8c67dd67_5#sSide.[ 2 ];
116 } stereo_dec_statecxx . . $ stereo_dec_state#;
117
118 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_6# {
119 opus_int8cxx . . $ opus_int8# GainsIndicescxx . . $ $anonymous_type_c9846ade8c67dd67_6#GainsIndices.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
120 opus_int8cxx . . $ opus_int8# LTPIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_6#LTPIndex.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
121 opus_int8cxx . . $ opus_int8# NLSFIndicescxx . . $ $anonymous_type_c9846ade8c67dd67_6#NLSFIndices.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! + 1 ];
122 opus_int16cxx . . $ opus_int16# lagIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_6#lagIndex.;
123 opus_int8cxx . . $ opus_int8# contourIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_6#contourIndex.;
124 opus_int8cxx . . $ opus_int8# signalTypecxx . . $ $anonymous_type_c9846ade8c67dd67_6#signalType.;
125 opus_int8cxx . . $ opus_int8# quantOffsetTypecxx . . $ $anonymous_type_c9846ade8c67dd67_6#quantOffsetType.;
126 opus_int8cxx . . $ opus_int8# NLSFInterpCoef_Q2cxx . . $ $anonymous_type_c9846ade8c67dd67_6#NLSFInterpCoef_Q2.;
127 opus_int8cxx . . $ opus_int8# PERIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_6#PERIndex.;
128 opus_int8cxx . . $ opus_int8# LTP_scaleIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_6#LTP_scaleIndex.;
129 opus_int8cxx . . $ opus_int8# Seedcxx . . $ $anonymous_type_c9846ade8c67dd67_6#Seed.;
130 } SideInfoIndicescxx . . $ SideInfoIndices#;
131
132 /********************************/
133 /* Encoder state */
134 /********************************/
135 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_7# {
136 opus_int32cxx . . $ opus_int32# In_HP_Statecxx . . $ $anonymous_type_c9846ade8c67dd67_7#In_HP_State.[ 2 ]; /* High pass filter state */
137 opus_int32cxx . . $ opus_int32# variable_HP_smth1_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_7#variable_HP_smth1_Q15.; /* State of first smoother */
138 opus_int32cxx . . $ opus_int32# variable_HP_smth2_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_7#variable_HP_smth2_Q15.; /* State of second smoother */
139 silk_LP_statecxx . . $ silk_LP_state# sLPcxx . . $ $anonymous_type_c9846ade8c67dd67_7#sLP.; /* Low pass filter state */
140 silk_VAD_statecxx . . $ silk_VAD_state# sVADcxx . . $ $anonymous_type_c9846ade8c67dd67_7#sVAD.; /* Voice activity detector state */
141 silk_nsq_statecxx . . $ silk_nsq_state# sNSQcxx . . $ $anonymous_type_c9846ade8c67dd67_7#sNSQ.; /* Noise Shape Quantizer State */
142 opus_int16cxx . . $ opus_int16# prev_NLSFq_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_7#prev_NLSFq_Q15.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ]; /* Previously quantized NLSF vector */
143 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! speech_activity_Q8cxx . . $ $anonymous_type_c9846ade8c67dd67_7#speech_activity_Q8.; /* Speech activity */
144 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! allow_bandwidth_switchcxx . . $ $anonymous_type_c9846ade8c67dd67_7#allow_bandwidth_switch.; /* Flag indicating that switching of internal bandwidth is allowed */
145 opus_int8cxx . . $ opus_int8# LBRRprevLastGainIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_7#LBRRprevLastGainIndex.;
146 opus_int8cxx . . $ opus_int8# prevSignalTypecxx . . $ $anonymous_type_c9846ade8c67dd67_7#prevSignalType.;
147 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! prevLagcxx . . $ $anonymous_type_c9846ade8c67dd67_7#prevLag.;
148 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! pitch_LPC_win_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_7#pitch_LPC_win_length.;
149 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! max_pitch_lagcxx . . $ $anonymous_type_c9846ade8c67dd67_7#max_pitch_lag.; /* Highest possible pitch lag (samples) */
150 opus_int32cxx . . $ opus_int32# API_fs_Hzcxx . . $ $anonymous_type_c9846ade8c67dd67_7#API_fs_Hz.; /* API sampling frequency (Hz) */
151 opus_int32cxx . . $ opus_int32# prev_API_fs_Hzcxx . . $ $anonymous_type_c9846ade8c67dd67_7#prev_API_fs_Hz.; /* Previous API sampling frequency (Hz) */
152 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! maxInternal_fs_Hzcxx . . $ $anonymous_type_c9846ade8c67dd67_7#maxInternal_fs_Hz.; /* Maximum internal sampling frequency (Hz) */
153 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! minInternal_fs_Hzcxx . . $ $anonymous_type_c9846ade8c67dd67_7#minInternal_fs_Hz.; /* Minimum internal sampling frequency (Hz) */
154 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! desiredInternal_fs_Hzcxx . . $ $anonymous_type_c9846ade8c67dd67_7#desiredInternal_fs_Hz.; /* Soft request for internal sampling frequency (Hz) */
155 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! fs_kHzcxx . . $ $anonymous_type_c9846ade8c67dd67_7#fs_kHz.; /* Internal sampling frequency (kHz) */
156 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nb_subfrcxx . . $ $anonymous_type_c9846ade8c67dd67_7#nb_subfr.; /* Number of 5 ms subframes in a frame */
157 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! frame_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_7#frame_length.; /* Frame length (samples) */
158 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! subfr_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_7#subfr_length.; /* Subframe length (samples) */
159 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! ltp_mem_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_7#ltp_mem_length.; /* Length of LTP memory */
160 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! la_pitchcxx . . $ $anonymous_type_c9846ade8c67dd67_7#la_pitch.; /* Look-ahead for pitch analysis (samples) */
161 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! la_shapecxx . . $ $anonymous_type_c9846ade8c67dd67_7#la_shape.; /* Look-ahead for noise shape analysis (samples) */
162 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! shapeWinLengthcxx . . $ $anonymous_type_c9846ade8c67dd67_7#shapeWinLength.; /* Window length for noise shape analysis (samples) */
163 opus_int32cxx . . $ opus_int32# TargetRate_bpscxx . . $ $anonymous_type_c9846ade8c67dd67_7#TargetRate_bps.; /* Target bitrate (bps) */
164 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! PacketSize_mscxx . . $ $anonymous_type_c9846ade8c67dd67_7#PacketSize_ms.; /* Number of milliseconds to put in each packet */
165 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! PacketLoss_perccxx . . $ $anonymous_type_c9846ade8c67dd67_7#PacketLoss_perc.; /* Packet loss rate measured by farend */
166 opus_int32cxx . . $ opus_int32# frameCountercxx . . $ $anonymous_type_c9846ade8c67dd67_7#frameCounter.;
167 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! Complexitycxx . . $ $anonymous_type_c9846ade8c67dd67_7#Complexity.; /* Complexity setting */
168 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nStatesDelayedDecisioncxx . . $ $anonymous_type_c9846ade8c67dd67_7#nStatesDelayedDecision.; /* Number of states in delayed decision quantization */
169 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! useInterpolatedNLSFscxx . . $ $anonymous_type_c9846ade8c67dd67_7#useInterpolatedNLSFs.; /* Flag for using NLSF interpolation */
170 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! shapingLPCOrdercxx . . $ $anonymous_type_c9846ade8c67dd67_7#shapingLPCOrder.; /* Filter order for noise shaping filters */
171 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! predictLPCOrdercxx . . $ $anonymous_type_c9846ade8c67dd67_7#predictLPCOrder.; /* Filter order for prediction filters */
172 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! pitchEstimationComplexitycxx . . $ $anonymous_type_c9846ade8c67dd67_7#pitchEstimationComplexity.; /* Complexity level for pitch estimator */
173 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! pitchEstimationLPCOrdercxx . . $ $anonymous_type_c9846ade8c67dd67_7#pitchEstimationLPCOrder.; /* Whitening filter order for pitch estimator */
174 opus_int32cxx . . $ opus_int32# pitchEstimationThreshold_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_7#pitchEstimationThreshold_Q16.; /* Threshold for pitch estimator */
175 opus_int32cxx . . $ opus_int32# sum_log_gain_Q7cxx . . $ $anonymous_type_c9846ade8c67dd67_7#sum_log_gain_Q7.; /* Cumulative max prediction gain */
176 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! NLSF_MSVQ_Survivorscxx . . $ $anonymous_type_c9846ade8c67dd67_7#NLSF_MSVQ_Survivors.; /* Number of survivors in NLSF MSVQ */
177 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! first_frame_after_resetcxx . . $ $anonymous_type_c9846ade8c67dd67_7#first_frame_after_reset.; /* Flag for deactivating NLSF interpolation, pitch prediction */
178 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! controlled_since_last_payloadcxx . . $ $anonymous_type_c9846ade8c67dd67_7#controlled_since_last_payload.; /* Flag for ensuring codec_control only runs once per packet */
179 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! warping_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_7#warping_Q16.; /* Warping parameter for warped noise shaping */
180 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! useCBRcxx . . $ $anonymous_type_c9846ade8c67dd67_7#useCBR.; /* Flag to enable constant bitrate */
181 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! prefillFlagcxx . . $ $anonymous_type_c9846ade8c67dd67_7#prefillFlag.; /* Flag to indicate that only buffers are prefilled, no coding */
182 const opus_uint8cxx . . $ opus_uint8# *pitch_lag_low_bits_iCDFcxx . . $ $anonymous_type_c9846ade8c67dd67_7#pitch_lag_low_bits_iCDF.; /* Pointer to iCDF table for low bits of pitch lag index */
183 const opus_uint8cxx . . $ opus_uint8# *pitch_contour_iCDFcxx . . $ $anonymous_type_c9846ade8c67dd67_7#pitch_contour_iCDF.; /* Pointer to iCDF table for pitch contour index */
184 const silk_NLSF_CB_structcxx . . $ silk_NLSF_CB_struct# *psNLSF_CBcxx . . $ $anonymous_type_c9846ade8c67dd67_7#psNLSF_CB.; /* Pointer to NLSF codebook */
185 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! input_quality_bands_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_7#input_quality_bands_Q15.[ VAD_N_BANDScxx . . $ `external/opusfile/opus/silk/define.h:185:9`! ];
186 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! input_tilt_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_7#input_tilt_Q15.;
187 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! SNR_dB_Q7cxx . . $ $anonymous_type_c9846ade8c67dd67_7#SNR_dB_Q7.; /* Quality setting */
188
189 opus_int8cxx . . $ opus_int8# VAD_flagscxx . . $ $anonymous_type_c9846ade8c67dd67_7#VAD_flags.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ];
190 opus_int8cxx . . $ opus_int8# LBRR_flagcxx . . $ $anonymous_type_c9846ade8c67dd67_7#LBRR_flag.;
191 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LBRR_flagscxx . . $ $anonymous_type_c9846ade8c67dd67_7#LBRR_flags.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ];
192
193 SideInfoIndicescxx . . $ SideInfoIndices# indicescxx . . $ $anonymous_type_c9846ade8c67dd67_7#indices.;
194 opus_int8cxx . . $ opus_int8# pulsescxx . . $ $anonymous_type_c9846ade8c67dd67_7#pulses.[ MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! ];
195
196 int archcxx . . $ $anonymous_type_c9846ade8c67dd67_7#arch.;
197
198 /* Input/output buffering */
199 opus_int16cxx . . $ opus_int16# inputBufcxx . . $ $anonymous_type_c9846ade8c67dd67_7#inputBuf.[ MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! + 2 ]; /* Buffer containing input signal */
200 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! inputBufIxcxx . . $ $anonymous_type_c9846ade8c67dd67_7#inputBufIx.;
201 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nFramesPerPacketcxx . . $ $anonymous_type_c9846ade8c67dd67_7#nFramesPerPacket.;
202 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nFramesEncodedcxx . . $ $anonymous_type_c9846ade8c67dd67_7#nFramesEncoded.; /* Number of frames analyzed in current packet */
203
204 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nChannelsAPIcxx . . $ $anonymous_type_c9846ade8c67dd67_7#nChannelsAPI.;
205 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nChannelsInternalcxx . . $ $anonymous_type_c9846ade8c67dd67_7#nChannelsInternal.;
206 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! channelNbcxx . . $ $anonymous_type_c9846ade8c67dd67_7#channelNb.;
207
208 /* Parameters For LTP scaling Control */
209 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! frames_since_onsetcxx . . $ $anonymous_type_c9846ade8c67dd67_7#frames_since_onset.;
210
211 /* Specifically for entropy coding */
212 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! ec_prevSignalTypecxx . . $ $anonymous_type_c9846ade8c67dd67_7#ec_prevSignalType.;
213 opus_int16cxx . . $ opus_int16# ec_prevLagIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_7#ec_prevLagIndex.;
214
215 silk_resampler_state_structcxx . . $ silk_resampler_state_struct# resampler_statecxx . . $ $anonymous_type_c9846ade8c67dd67_7#resampler_state.;
216
217 /* DTX */
218 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! useDTXcxx . . $ $anonymous_type_c9846ade8c67dd67_7#useDTX.; /* Flag to enable DTX */
219 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! inDTXcxx . . $ $anonymous_type_c9846ade8c67dd67_7#inDTX.; /* Flag to signal DTX period */
220 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! noSpeechCountercxx . . $ $anonymous_type_c9846ade8c67dd67_7#noSpeechCounter.; /* Counts concecutive nonactive frames, used by DTX */
221
222 /* Inband Low Bitrate Redundancy (LBRR) data */
223 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! useInBandFECcxx . . $ $anonymous_type_c9846ade8c67dd67_7#useInBandFEC.; /* Saves the API setting for query */
224 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LBRR_enabledcxx . . $ $anonymous_type_c9846ade8c67dd67_7#LBRR_enabled.; /* Depends on useInBandFRC, bitrate and packet loss rate */
225 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LBRR_GainIncreasescxx . . $ $anonymous_type_c9846ade8c67dd67_7#LBRR_GainIncreases.; /* Gains increment for coding LBRR frames */
226 SideInfoIndicescxx . . $ SideInfoIndices# indices_LBRRcxx . . $ $anonymous_type_c9846ade8c67dd67_7#indices_LBRR.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ];
227 opus_int8cxx . . $ opus_int8# pulses_LBRRcxx . . $ $anonymous_type_c9846ade8c67dd67_7#pulses_LBRR.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ][ MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! ];
228 } silk_encoder_statecxx . . $ silk_encoder_state#;
229
230
231 /* Struct for Packet Loss Concealment */
232 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_8# {
233 opus_int32cxx . . $ opus_int32# pitchL_Q8cxx . . $ $anonymous_type_c9846ade8c67dd67_8#pitchL_Q8.; /* Pitch lag to use for voiced concealment */
234 opus_int16cxx . . $ opus_int16# LTPCoef_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_8#LTPCoef_Q14.[ LTP_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:146:9`! ]; /* LTP coeficients to use for voiced concealment */
235 opus_int16cxx . . $ opus_int16# prevLPC_Q12cxx . . $ $anonymous_type_c9846ade8c67dd67_8#prevLPC_Q12.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ];
236 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! last_frame_lostcxx . . $ $anonymous_type_c9846ade8c67dd67_8#last_frame_lost.; /* Was previous frame lost */
237 opus_int32cxx . . $ opus_int32# rand_seedcxx . . $ $anonymous_type_c9846ade8c67dd67_8#rand_seed.; /* Seed for unvoiced signal generation */
238 opus_int16cxx . . $ opus_int16# randScale_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_8#randScale_Q14.; /* Scaling of unvoiced random signal */
239 opus_int32cxx . . $ opus_int32# conc_energycxx . . $ $anonymous_type_c9846ade8c67dd67_8#conc_energy.;
240 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! conc_energy_shiftcxx . . $ $anonymous_type_c9846ade8c67dd67_8#conc_energy_shift.;
241 opus_int16cxx . . $ opus_int16# prevLTP_scale_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_8#prevLTP_scale_Q14.;
242 opus_int32cxx . . $ opus_int32# prevGain_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_8#prevGain_Q16.[ 2 ];
243 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! fs_kHzcxx . . $ $anonymous_type_c9846ade8c67dd67_8#fs_kHz.;
244 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nb_subfrcxx . . $ $anonymous_type_c9846ade8c67dd67_8#nb_subfr.;
245 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! subfr_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_8#subfr_length.;
246 } silk_PLC_structcxx . . $ silk_PLC_struct#;
247
248 /* Struct for CNG */
249 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_9# {
250 opus_int32cxx . . $ opus_int32# CNG_exc_buf_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_9#CNG_exc_buf_Q14.[ MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! ];
251 opus_int16cxx . . $ opus_int16# CNG_smth_NLSF_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_9#CNG_smth_NLSF_Q15.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ];
252 opus_int32cxx . . $ opus_int32# CNG_synth_statecxx . . $ $anonymous_type_c9846ade8c67dd67_9#CNG_synth_state.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ];
253 opus_int32cxx . . $ opus_int32# CNG_smth_Gain_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_9#CNG_smth_Gain_Q16.;
254 opus_int32cxx . . $ opus_int32# rand_seedcxx . . $ $anonymous_type_c9846ade8c67dd67_9#rand_seed.;
255 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! fs_kHzcxx . . $ $anonymous_type_c9846ade8c67dd67_9#fs_kHz.;
256 } silk_CNG_structcxx . . $ silk_CNG_struct#;
257
258 /********************************/
259 /* Decoder state */
260 /********************************/
261 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_10# {
262 opus_int32cxx . . $ opus_int32# prev_gain_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_10#prev_gain_Q16.;
263 opus_int32cxx . . $ opus_int32# exc_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_10#exc_Q14.[ MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! ];
264 opus_int32cxx . . $ opus_int32# sLPC_Q14_bufcxx . . $ $anonymous_type_c9846ade8c67dd67_10#sLPC_Q14_buf.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ];
265 opus_int16cxx . . $ opus_int16# outBufcxx . . $ $anonymous_type_c9846ade8c67dd67_10#outBuf.[ MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! + 2 * MAX_SUB_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:95:9`! ]; /* Buffer for output signal */
266 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! lagPrevcxx . . $ $anonymous_type_c9846ade8c67dd67_10#lagPrev.; /* Previous Lag */
267 opus_int8cxx . . $ opus_int8# LastGainIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_10#LastGainIndex.; /* Previous gain index */
268 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! fs_kHzcxx . . $ $anonymous_type_c9846ade8c67dd67_10#fs_kHz.; /* Sampling frequency in kHz */
269 opus_int32cxx . . $ opus_int32# fs_API_hzcxx . . $ $anonymous_type_c9846ade8c67dd67_10#fs_API_hz.; /* API sample frequency (Hz) */
270 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nb_subfrcxx . . $ $anonymous_type_c9846ade8c67dd67_10#nb_subfr.; /* Number of 5 ms subframes in a frame */
271 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! frame_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_10#frame_length.; /* Frame length (samples) */
272 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! subfr_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_10#subfr_length.; /* Subframe length (samples) */
273 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! ltp_mem_lengthcxx . . $ $anonymous_type_c9846ade8c67dd67_10#ltp_mem_length.; /* Length of LTP memory */
274 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LPC_ordercxx . . $ $anonymous_type_c9846ade8c67dd67_10#LPC_order.; /* LPC order */
275 opus_int16cxx . . $ opus_int16# prevNLSF_Q15cxx . . $ $anonymous_type_c9846ade8c67dd67_10#prevNLSF_Q15.[ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ]; /* Used to interpolate LSFs */
276 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! first_frame_after_resetcxx . . $ $anonymous_type_c9846ade8c67dd67_10#first_frame_after_reset.; /* Flag for deactivating NLSF interpolation */
277 const opus_uint8cxx . . $ opus_uint8# *pitch_lag_low_bits_iCDFcxx . . $ $anonymous_type_c9846ade8c67dd67_10#pitch_lag_low_bits_iCDF.; /* Pointer to iCDF table for low bits of pitch lag index */
278 const opus_uint8cxx . . $ opus_uint8# *pitch_contour_iCDFcxx . . $ $anonymous_type_c9846ade8c67dd67_10#pitch_contour_iCDF.; /* Pointer to iCDF table for pitch contour index */
279
280 /* For buffering payload in case of more frames per packet */
281 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nFramesDecodedcxx . . $ $anonymous_type_c9846ade8c67dd67_10#nFramesDecoded.;
282 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nFramesPerPacketcxx . . $ $anonymous_type_c9846ade8c67dd67_10#nFramesPerPacket.;
283
284 /* Specifically for entropy coding */
285 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! ec_prevSignalTypecxx . . $ $anonymous_type_c9846ade8c67dd67_10#ec_prevSignalType.;
286 opus_int16cxx . . $ opus_int16# ec_prevLagIndexcxx . . $ $anonymous_type_c9846ade8c67dd67_10#ec_prevLagIndex.;
287
288 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! VAD_flagscxx . . $ $anonymous_type_c9846ade8c67dd67_10#VAD_flags.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ];
289 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LBRR_flagcxx . . $ $anonymous_type_c9846ade8c67dd67_10#LBRR_flag.;
290 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LBRR_flagscxx . . $ $anonymous_type_c9846ade8c67dd67_10#LBRR_flags.[ MAX_FRAMES_PER_PACKETcxx . . $ `external/opusfile/opus/silk/define.h:44:9`! ];
291
292 silk_resampler_state_structcxx . . $ silk_resampler_state_struct# resampler_statecxx . . $ $anonymous_type_c9846ade8c67dd67_10#resampler_state.;
293
294 const silk_NLSF_CB_structcxx . . $ silk_NLSF_CB_struct# *psNLSF_CBcxx . . $ $anonymous_type_c9846ade8c67dd67_10#psNLSF_CB.; /* Pointer to NLSF codebook */
295
296 /* Quantization indices */
297 SideInfoIndicescxx . . $ SideInfoIndices# indicescxx . . $ $anonymous_type_c9846ade8c67dd67_10#indices.;
298
299 /* CNG state */
300 silk_CNG_structcxx . . $ silk_CNG_struct# sCNGcxx . . $ $anonymous_type_c9846ade8c67dd67_10#sCNG.;
301
302 /* Stuff used for PLC */
303 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! lossCntcxx . . $ $anonymous_type_c9846ade8c67dd67_10#lossCnt.;
304 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! prevSignalTypecxx . . $ $anonymous_type_c9846ade8c67dd67_10#prevSignalType.;
305 int archcxx . . $ $anonymous_type_c9846ade8c67dd67_10#arch.;
306
307 silk_PLC_structcxx . . $ silk_PLC_struct# sPLCcxx . . $ $anonymous_type_c9846ade8c67dd67_10#sPLC.;
308
309 } silk_decoder_statecxx . . $ silk_decoder_state#;
310
311 /************************/
312 /* Decoder control */
313 /************************/
314 typedef structcxx . . $ $anonymous_type_c9846ade8c67dd67_11# {
315 /* Prediction and coding parameters */
316 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! pitchLcxx . . $ $anonymous_type_c9846ade8c67dd67_11#pitchL.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
317 opus_int32cxx . . $ opus_int32# Gains_Q16cxx . . $ $anonymous_type_c9846ade8c67dd67_11#Gains_Q16.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
318 /* Holds interpolated and final coefficients, 4-byte aligned */
319 silk_DWORD_ALIGNcxx . . $ `external/opusfile/opus/silk/SigProc_FIX.h:416:9`! opus_int16cxx . . $ opus_int16# PredCoef_Q12cxx . . $ $anonymous_type_c9846ade8c67dd67_11#PredCoef_Q12.[ 2 ][ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ];
320 opus_int16cxx . . $ opus_int16# LTPCoef_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_11#LTPCoef_Q14.[ LTP_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:146:9`! * MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
321 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! LTP_scale_Q14cxx . . $ $anonymous_type_c9846ade8c67dd67_11#LTP_scale_Q14.;
322 } silk_decoder_controlcxx . . $ silk_decoder_control#;
323
324
325 #ifdef __cplusplus
326 }
327 #endif
328
329 #endif