Searched refs:Word16 (Results 151 - 175 of 453) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dqpisf_2s.tab42 static Word16 mean_isf[ORDER] = {
66 static Word16 dico1_isf[SIZE_BK1*9] = {
329 static Word16 dico2_isf[SIZE_BK2*7] = {
593 static Word16 dico21_isf[SIZE_BK21*3] = {
667 static Word16 dico22_isf[SIZE_BK22*3] = {
804 static Word16 dico23_isf[SIZE_BK23*3] = {
940 static Word16 dico24_isf[SIZE_BK24*3] = {
980 static Word16 dico25_isf[SIZE_BK25*4] = {
1031 static Word16 dico21_isf_36b[SIZE_BK21_36b*5] = {
1162 static Word16 dico22_isf_36
[all...]
H A Dwb_vad_c.h33 #define TONE_THR (Word16)(0.65*MAX_16) /* Threshold for tone detection */
38 #define ALPHA_SP_UP (Word16)((1.0 - 0.85)*MAX_16)
39 #define ALPHA_SP_DOWN (Word16)((1.0 - 0.85)*MAX_16)
43 #define MIN_SPEECH_LEVEL1 (Word16)(NOM_LEVEL * 0.063) /* NOM_LEVEL -24 dB */
44 #define MIN_SPEECH_LEVEL2 (Word16)(NOM_LEVEL * 0.2) /* NOM_LEVEL -14 dB */
48 #define ALPHA_UP1 (Word16)((1.0 - 0.95)*MAX_16) /* Normal update, upwards: */
49 #define ALPHA_DOWN1 (Word16)((1.0 - 0.936)*MAX_16) /* Normal update, downwards */
50 #define ALPHA_UP2 (Word16)((1.0 - 0.985)*MAX_16) /* Forced update, upwards */
51 #define ALPHA_DOWN2 (Word16)((1.0 - 0.943)*MAX_16) /* Forced update, downwards */
52 #define ALPHA3 (Word16)((1.
[all...]
H A Dbits.h45 #define BIT_0 (Word16)-127
46 #define BIT_1 (Word16)127
47 #define BIT_0_ITU (Word16)0x007F
48 #define BIT_1_ITU (Word16)0x0081
51 #define TX_FRAME_TYPE (Word16)0x6b21
52 #define RX_FRAME_TYPE (Word16)0x6b20
54 static const Word16 nb_of_bits[NUM_OF_MODES] = {
69 Word16 sid_update_counter;
70 Word16 sid_handover_debt;
71 Word16 prev_f
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Damrencode.h108 extern const Word16 WmfEncBytesPerFrame[];
109 extern const Word16 If2EncBytesPerFrame[];
127 Word16 AMREncodeInit(
132 Word16 AMREncodeReset(
140 Word16 AMREncode(
144 Word16 *pEncInput,
147 Word16 output_format
H A Dspstproc.cpp101 speech -- Pointer to Word16 -- speech segment
103 i_subfr -- Word16 -- Subframe nr
104 gain_pit -- Word16 -- Pitch gain Q14
105 gain_code -- Word16 -- Decoded innovation gain
106 Aq -- Pointer to Word16 -- A(z) quantized for the 4 subframes
107 synth -- Word16 Array -- Local synthesis
108 xn -- Word16 Array -- Target vector for pitch search
109 code -- Word16 Array -- Fixed codebook exitation
110 y1 -- Word16 Array -- Filtered adaptive exitation
111 y2 -- Word16 Arra
[all...]
H A Dpre_big.cpp96 gamma1 = array of type const Word16 -- spectral exp. factor 1
97 gamma1_12k2 = array of type const Word16 -- spectral exp. factor 1 for EFR
98 gamma2 = array of type const Word16 -- spectral exp. factor 2
99 A_t = array of type Word16 -- A(z) unquantized, for 4 subframes, Q12
100 frameOffset = Word16 -- Start position in speech vector, Q0
101 speech[] = array of type Word16 -- speech, Q0
104 mem_w = array of type Word16 -- synthesis filter memory state, Q0
105 wsp = array of type Word16 -- weighted speech Q0
160 const Word16 gamma1[], /* i : spectral exp. factor 1 */
161 const Word16 gamma1_12k
[all...]
H A Dlag_wind.cpp94 m = LPC order of type Word16
95 r_h[] = pointer to autocorrelations (msb) of type Word16
96 r_l[] = pointer to autocorrelations (lsb) of type Word16
140 Word16 i;
173 Word16 m, /* (i) : LPC order */
174 Word16 r_h[], /* (i/o) : Autocorrelations (msb) */
175 Word16 r_l[], /* (i/o) : Autocorrelations (lsb) */
179 Word16 i;
181 const Word16 *p_lag_h = &lag_h[0];
182 const Word16 *p_lag_
[all...]
H A Dton_stab.h95 Word16 count;
97 Word16 gp[N_FRAME];
112 Word16 ton_stab_init(tonStabState **st);
119 Word16 ton_stab_reset(tonStabState *st);
129 Word16 check_lsp(tonStabState *st, /* i/o : State struct */
130 Word16 *lsp, /* i : unquantized LSP's */
134 Word16 check_gp_clipping(tonStabState *st, /* i/o : State struct */
135 Word16 g_pitch, /* i : pitch gain */
140 Word16 g_pitch, /* i : pitch gain */
H A Dlpc.h113 Word16 lpc_init(lpcState **st);
120 Word16 lpc_reset(lpcState *st);
132 Word16 x[], /* i : Input signal Q15 */
133 Word16 x_12k2[], /* i : Input signal (EFR) Q15 */
134 Word16 a[], /* o : predictor coefficients Q12 */
H A Dol_ltp.h108 Word16 wsp[], /* i : signal used to compute the OL pitch, Q0 */
110 Word16 *T_op, /* o : open loop pitch lag, Q0 */
111 Word16 old_lags[], /* i : history with old stored Cl lags */
112 Word16 ol_gain_flg[], /* i : OL gain flag */
113 Word16 idx, /* i : index */
H A Dspreproc.cpp103 gamma1 -- const Word16 array -- spectral exp. factor 1
104 gamma1_12k2 -- const Word16 array -- spectral exp. factor 1 for EFR
105 gamma2 -- const Word16 array -- spectral exp. factor 2
106 A -- Pointer to Word16 -- A(z) unquantized for the 4 subframes
107 Aq -- Pointer to Word16 -- A(z) quantized for the 4 subframes
108 speech -- Pointer to Word16 -- speech segment
109 mem_err -- Pointer to Word16 -- pointer to error signal
110 mem_w0 -- Pointer to Word16 -- memory of weighting filter
111 zero -- Pointer to Word16 -- pointer to zero vector
114 ai_zero -- Word16 arra
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbit_cnt.h94 Word16 bitCount(const Word16 *aQuantSpectrum,
95 const Word16 noOfSpecLines,
96 Word16 maxVal,
97 Word16 *bitCountLut);
99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream);
101 Word16 bitCountScalefactorDelt
[all...]
H A Dblock_switch.h39 Word16 windowSequence;
40 Word16 nextwindowSequence;
43 Word16 attackIndex;
44 Word16 lastAttackIndex;
45 Word16 noOfGroups;
46 Word16 groupLen[TRANS_FAC];
58 Word16 InitBlockSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl,
59 const Word32 bitRate, const Word16 nChannels);
61 Word16 BlockSwitching(BLOCK_SWITCHING_CONTROL *blockSwitchingControl,
62 Word16 *timeSigna
[all...]
H A Dbitenc.h33 Word16 nChannels;
36 Word16 profile;
41 Word16 WriteBitstream (HANDLE_BIT_BUF hBitstream,
45 Word16 *globUsedBits,
47 Word16 samplerate
H A Dpre_echo_control.h29 Word16 numPb,
34 Word16 numPb,
36 Word16 minRemainingThresholdFactor,
38 Word16 mdctScale,
39 Word16 mdctScalenm1);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dbits2prm.cpp118 static Word16 Bin2int ( // Reconstructed parameter
119 Word16 no_of_bits, // input : number of bits associated with value
120 Word16 *bitstream // output: address where bits are written
123 Word16 value, i, bit;
162 static Word16 Bin2int( /* Reconstructed parameter */
163 Word16 no_of_bits, /* input : number of bits associated with value */
164 Word16 *bitstream /* input: address where bits are read from */
167 Word16 value;
168 Word16 i;
169 Word16 single_bi
[all...]
H A Dshr_r.cpp48 var1 = 16 bit short signed integer (Word16) whose value falls in
50 var2 = 16 bit short signed integer (Word16) whose value falls in
60 var_out = shifted input w/ rounding (Word16)
102 Word16 shr_r (Word16 var1, Word16 var2)
104 Word16 var_out;
119 if ((var1 & ((Word16) 1 << (var2 - 1))) != 0)
196 Word16 shr_r(register Word16 var
[all...]
H A Dweight_a.cpp100 a = LPC coefficients (Word16)
101 fac = Spectral expansion factors (Word16)
102 a_exp = Spectral expanded LPC coefficients (Word16)
137 Word16 a[], // (i) : a[M+1] LPC coefficients (M=10)
138 const Word16 fac[], // (i) : Spectral expansion factors.
139 Word16 a_exp[] // (o) : Spectral expanded LPC coefficients
142 Word16 i;
176 Word16 a[], /* (i) : a[M+1] LPC coefficients (M=10) */
177 const Word16 fac[], /* (i) : Spectral expansion factors. */
178 Word16 a_ex
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dcnst_vad.h56 #define TONE_THR (Word16)(0.65*MAX_16) /* Threshold for tone detection */
59 #define ALPHA_UP1 (Word16)((1.0 - 0.95)*MAX_16) /* Normal update, upwards: */
60 #define ALPHA_DOWN1 (Word16)((1.0 - 0.936)*MAX_16) /* Normal update, downwards */
61 #define ALPHA_UP2 (Word16)((1.0 - 0.985)*MAX_16) /* Forced update, upwards */
62 #define ALPHA_DOWN2 (Word16)((1.0 - 0.943)*MAX_16) /* Forced update, downwards */
63 #define ALPHA3 (Word16)((1.0 - 0.95)*MAX_16) /* Update downwards */
64 #define ALPHA4 (Word16)((1.0 - 0.9)*MAX_16) /* For stationary estimation */
65 #define ALPHA5 (Word16)((1.0 - 0.5)*MAX_16) /* For stationary estimation */
72 #define VAD_SLOPE (Word16)(MAX_16*(float)(VAD_THR_LOW-VAD_THR_HIGH)/(float)(VAD_P2-VAD_P1))
115 #define CVAD_THRESH_ADAPT_HIGH (Word16)(0.
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.h117 Word16 old_exc[L_SUBFR + PIT_MAX + L_INTERPOL];
118 Word16 *exc;
121 /* Word16 lsp[M]; */ /* Used by CN codec */
122 Word16 lsp_old[M];
125 Word16 mem_syn[M];
128 Word16 sharp;
129 Word16 old_T0;
132 Word16 prev_bf;
133 Word16 prev_pdf;
134 Word16 stat
[all...]
H A Ddec_gain.h110 Word16 index, /* i : index of quantization. */
111 Word16 code[], /* i : Innovative vector. */
112 Word16 evenSubfr, /* i : Flag for even subframes */
113 Word16 * gain_pit, /* o : Pitch gain. */
114 Word16 * gain_cod, /* o : Code gain. */
H A Dgsmamr_dec.h69 of types UWord8, Word8, Word16
135 Word16 GSMInitDecode(void **state_data,
143 Word16 AMRDecode(
147 Word16 *raw_pcm_buffer,
148 Word16 input_format
155 Word16 Speech_Decode_Frame_reset(void *state_data);
H A Dpreemph.h106 Word16 mem_pre; /* filter state */
114 Word16 preemphasis_reset(preemphasisState *st);
125 Word16 *signal, /* (i/o): input signal overwritten by the output */
126 Word16 g, /* (i) : preemphasis coefficient */
127 Word16 L, /* (i) : size of filtering */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpit_shrp.c28 Word16 * x, /* in/out: impulse response (or algebraic code) */
29 Word16 pit_lag, /* input : pitch lag */
30 Word16 sharp, /* input : pitch sharpening factor (Q15) */
31 Word16 L_subfr /* input : subframe size */
36 Word16 *x_ptr = x + pit_lag;
H A Dupdt_tar.c28 Word16 * x, /* (i) Q0 : old target (for pitch search) */
29 Word16 * x2, /* (o) Q0 : new target (for codebook search) */
30 Word16 * y, /* (i) Q0 : filtered adaptive codebook vector */
31 Word16 gain, /* (i) Q14 : adaptive codebook gain */
32 Word16 L /* (i) : subframe size */

Completed in 4511 milliseconds

1234567891011>>