Debian Codegraph @

external/opusfile/opus/silk/float/structs_FLP.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_FLP_H
29 #define SILK_STRUCTS_FLP_Hcxx . . $ `external/opusfile/opus/silk/float/structs_FLP.h:29:9`!
30
31 #include "typedef.h"cxx . . $ `<file>/external/opusfile/opus/silk/typedef.h`/
32 #include "main.h"cxx . . $ `<file>/external/opusfile/opus/silk/main.h`/
33 #include "structs.h"cxx . . $ `<file>/external/opusfile/opus/silk/structs.h`/
34
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif
39
40 /********************************/
41 /* Noise shaping analysis state */
42 /********************************/
43 typedef structcxx . . $ $anonymous_type_f1d9da68e5821ba3_0# {
44 opus_int8cxx . . $ opus_int8# LastGainIndexcxx . . $ $anonymous_type_f1d9da68e5821ba3_0#LastGainIndex.;
45 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! HarmShapeGain_smthcxx . . $ $anonymous_type_f1d9da68e5821ba3_0#HarmShapeGain_smth.;
46 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! Tilt_smthcxx . . $ $anonymous_type_f1d9da68e5821ba3_0#Tilt_smth.;
47 } silk_shape_state_FLPcxx . . $ silk_shape_state_FLP#;
48
49 /********************************/
50 /* Encoder state FLP */
51 /********************************/
52 typedef structcxx . . $ $anonymous_type_f1d9da68e5821ba3_1# {
53 silk_encoder_statecxx . . $ silk_encoder_state# sCmncxx . . $ $anonymous_type_f1d9da68e5821ba3_1#sCmn.; /* Common struct, shared with fixed-point code */
54 silk_shape_state_FLPcxx . . $ silk_shape_state_FLP# sShapecxx . . $ $anonymous_type_f1d9da68e5821ba3_1#sShape.; /* Noise shaping state */
55
56 /* Buffer for find pitch and noise shape analysis */
57 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! x_bufcxx . . $ $anonymous_type_f1d9da68e5821ba3_1#x_buf.[ 2 * MAX_FRAME_LENGTHcxx . . $ `external/opusfile/opus/silk/define.h:97:9`! + LA_SHAPE_MAXcxx . . $ `external/opusfile/opus/silk/define.h:113:9`! ];/* Buffer for find pitch and noise shape analysis */
58 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! LTPCorrcxx . . $ $anonymous_type_f1d9da68e5821ba3_1#LTPCorr.; /* Normalized correlation from pitch lag estimator */
59 } silk_encoder_state_FLPcxx . . $ silk_encoder_state_FLP#;
60
61 /************************/
62 /* Encoder control FLP */
63 /************************/
64 typedef structcxx . . $ $anonymous_type_f1d9da68e5821ba3_2# {
65 /* Prediction and coding parameters */
66 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! Gainscxx . . $ $anonymous_type_f1d9da68e5821ba3_2#Gains.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
67 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! PredCoefcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#PredCoef.[ 2 ][ MAX_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:142:9`! ]; /* holds interpolated and final coefficients */
68 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! LTPCoefcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#LTPCoef.[LTP_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:146:9`! * MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`!];
69 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! LTP_scalecxx . . $ $anonymous_type_f1d9da68e5821ba3_2#LTP_scale.;
70 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! pitchLcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#pitchL.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
71
72 /* Noise shaping parameters */
73 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! ARcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#AR.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! * MAX_SHAPE_LPC_ORDERcxx . . $ `external/opusfile/opus/silk/define.h:155:9`! ];
74 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! LF_MA_shpcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#LF_MA_shp.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
75 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! LF_AR_shpcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#LF_AR_shp.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
76 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! Tiltcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#Tilt.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
77 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! HarmShapeGaincxx . . $ $anonymous_type_f1d9da68e5821ba3_2#HarmShapeGain.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
78 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! Lambdacxx . . $ $anonymous_type_f1d9da68e5821ba3_2#Lambda.;
79 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! input_qualitycxx . . $ $anonymous_type_f1d9da68e5821ba3_2#input_quality.;
80 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! coding_qualitycxx . . $ $anonymous_type_f1d9da68e5821ba3_2#coding_quality.;
81
82 /* Measures */
83 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! predGaincxx . . $ $anonymous_type_f1d9da68e5821ba3_2#predGain.;
84 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! LTPredCodGaincxx . . $ $anonymous_type_f1d9da68e5821ba3_2#LTPredCodGain.;
85 silk_floatcxx . . $ `external/opusfile/opus/silk/typedef.h:36:10`! ResNrgcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#ResNrg.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ]; /* Residual energy per subframe */
86
87 /* Parameters for CBR mode */
88 opus_int32cxx . . $ opus_int32# GainsUnq_Q16cxx . . $ $anonymous_type_f1d9da68e5821ba3_2#GainsUnq_Q16.[ MAX_NB_SUBFRcxx . . $ `external/opusfile/opus/silk/define.h:90:9`! ];
89 opus_int8cxx . . $ opus_int8# lastGainIndexPrevcxx . . $ $anonymous_type_f1d9da68e5821ba3_2#lastGainIndexPrev.;
90 } silk_encoder_control_FLPcxx . . $ silk_encoder_control_FLP#;
91
92 /************************/
93 /* Encoder Super Struct */
94 /************************/
95 typedef structcxx . . $ $anonymous_type_f1d9da68e5821ba3_3# {
96 silk_encoder_state_FLPcxx . . $ silk_encoder_state_FLP# state_Fxxcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#state_Fxx.[ ENCODER_NUM_CHANNELScxx . . $ `external/opusfile/opus/silk/define.h:40:9`! ];
97 stereo_enc_statecxx . . $ stereo_enc_state# sStereocxx . . $ $anonymous_type_f1d9da68e5821ba3_3#sStereo.;
98 opus_int32cxx . . $ opus_int32# nBitsUsedLBRRcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#nBitsUsedLBRR.;
99 opus_int32cxx . . $ opus_int32# nBitsExceededcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#nBitsExceeded.;
100 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nChannelsAPIcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#nChannelsAPI.;
101 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nChannelsInternalcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#nChannelsInternal.;
102 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! nPrevChannelsInternalcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#nPrevChannelsInternal.;
103 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! timeSinceSwitchAllowed_mscxx . . $ $anonymous_type_f1d9da68e5821ba3_3#timeSinceSwitchAllowed_ms.;
104 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! allowBandwidthSwitchcxx . . $ $anonymous_type_f1d9da68e5821ba3_3#allowBandwidthSwitch.;
105 opus_intcxx . . $ `external/opusfile/opus/opus_types.h:36:9`! prev_decode_only_middlecxx . . $ $anonymous_type_f1d9da68e5821ba3_3#prev_decode_only_middle.;
106 } silk_encodercxx . . $ silk_encoder#;
107
108 #ifdef __cplusplus
109 }
110 #endif
111
112 #endif