HomeSort by relevance Sort by last modified time
    Searched refs:Word16 (Results 151 - 175 of 456) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
qpisf_2s.tab 42 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] = {
    [all...]
wb_vad_c.h 33 #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.0 - 0.95)*MAX_16) /* Update downwards *
    [all...]
bits.h 45 #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_ft
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
amrencode.h 108 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
spstproc.cpp 101 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 Array -- Filtered fixed codebook excitatio
    [all...]
pre_big.cpp 96 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_12k2[],/* i : spectral exp. factor 1 for EFR *
    [all...]
lag_wind.cpp 94 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_l = &lag_l[0]
    [all...]
ton_stab.h 95 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 */
lpc.h 113 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 */
ol_ltp.h 108 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 */
spreproc.cpp 103 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 array -- history of weighted synth. filte
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
bit_cnt.h 94 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 bitCountScalefactorDelta(Word16 delta)
    [all...]
block_switch.h 39 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 *timeSignal
    [all...]
bitenc.h 33 Word16 nChannels;
36 Word16 profile;
41 Word16 WriteBitstream (HANDLE_BIT_BUF hBitstream,
45 Word16 *globUsedBits,
47 Word16 samplerate
pre_echo_control.h 29 Word16 numPb,
34 Word16 numPb,
36 Word16 minRemainingThresholdFactor,
38 Word16 mdctScale,
39 Word16 mdctScalenm1);
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
bits2prm.cpp 118 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_bit
    [all...]
shr_r.cpp 48 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 var1, register Word16 var2, Flag *pOverflow
    [all...]
weight_a.cpp 100 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_exp[] /* (o) : Spectral expanded LPC coefficients *
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
cnst_vad.h 56 #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.6 * MAX_16) /* threshold for adapt stopping high *
    [all...]
vad2.h 155 Word16 pre_emp_mem;
156 Word16 update_cnt;
157 Word16 hyster_cnt;
158 Word16 last_update_cnt;
159 Word16 ch_enrg_long_db[NUM_CHAN]; /* scaled as 7,8 */
165 Word16 last_normb_shift; /* last block norm shift count */
167 Word16 tsnr; /* total signal-to-noise ratio in dB (scaled as 7,8) */
168 Word16 hangover;
169 Word16 burstcount;
170 Word16 fupdate_flag; /* forced update flag from previous frame *
    [all...]
d_gain_c.h 113 Word16 index, /* i : received quantization index */
114 Word16 code[], /* i : innovation codevector */
115 Word16 *gain_code, /* o : decoded innovation gain */
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
dec_amr.h 117 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 state
    [all...]
dec_gain.h 110 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. */
preemph.h 106 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/
pit_shrp.c 28 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;

Completed in 1114 milliseconds

1 2 3 4 5 67 8 91011>>