HomeSort by relevance Sort by last modified time
    Searched full:word16 (Results 51 - 75 of 468) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
p_med_ol.c 31 Word16 Pitch_med_ol(
32 Word16 wsp[], /* i: signal used to compute the open loop pitch*/
35 Word16 L_frame /* i: length of frame to compute pitch */
38 Word16 Tm;
39 Word16 hi, lo;
40 Word16 *ww, *we, *hp_wsp;
41 Word16 exp_R0, exp_R1, exp_R2;
43 Word16 *p1, *p2;
44 Word16 L_min = 17; /* minimum pitch lag: PIT_MIN / OPL_DECIM */
45 Word16 L_max = 115; /* maximum pitch lag: PIT_MAX / OPL_DECIM *
    [all...]
g_pitch.c 29 Word16 G_pitch( /* (o) Q14 : Gain of pitch lag saturated to 1.2 */
30 Word16 xn[], /* (i) : Pitch target. */
31 Word16 y1[], /* (i) : filtered adaptive codebook. */
32 Word16 g_coeff[], /* : Correlations need for gain quantization. */
33 Word16 L_subfr /* : Length of subframe. */
37 Word16 xy, yy, exp_xy, exp_yy, gain;
58 return ((Word16) 0);
homing.c 30 Word16 encoder_homing_frame_test(Word16 input_frame[])
33 Word16 j = 0;
38 j = (Word16) (input_frame[i] ^ EHF_MASK);
44 return (Word16) (!j);
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;
updt_tar.c 28 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 */
util.c 33 Word16 x[], /* (o) : vector to clear */
34 Word16 L /* (i) : length of vector */
51 Word16 x[], /* (i) : input vector */
52 Word16 y[], /* (o) : output vector */
53 Word16 L /* (i) : vector length */
hp400.c 33 * Word16 b[3] = {3660, -7320, 3660}; in Q12 *
34 * Word16 a[3] = {4096, 7320, -3540}; in Q12 *
47 static Word16 b[3] = {915, -1830, 915}; /* Q12 (/4) */
48 static Word16 a[3] = {16384, 29280, -14160}; /* Q12 (x4) */
51 void Init_HP400_12k8(Word16 mem[])
58 Word16 signal[], /* input signal / output is divided by 16 */
59 Word16 lg, /* lenght of signal */
60 Word16 mem[] /* filter memory [6] */
63 Word16 x2;
64 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1
    [all...]
hp50.c 33 * Word16 b[3] = {4053, -8106, 4053}; in Q12 *
34 * Word16 a[3] = {8192, 16211, -8021}; in Q12 *
47 static Word16 b[3] = {4053, -8106, 4053}; /* Q12 */
48 static Word16 a[3] = {8192, 16211, -8021}; /* Q12 (x2) */
52 void Init_HP50_12k8(Word16 mem[])
59 Word16 signal[], /* input/output signal */
60 Word16 lg, /* lenght of signal */
61 Word16 mem[] /* filter memory [6] */
64 Word16 x2;
65 Word16 y2_hi, y2_lo, y1_hi, y1_lo, x0, x1
    [all...]
int_lpc.c 33 Word16 isp_old[], /* input : isps from past frame */
34 Word16 isp_new[], /* input : isps from present frame */
35 Word16 frac[], /* input : fraction for 3 first subfr (Q15) */
36 Word16 Az[] /* output: LP coefficients in 4 subframes */
40 Word16 fac_old, fac_new;
41 Word16 isp[M];
voicefac.c 28 Word16 voice_factor( /* (o) Q15 : factor (-1=unvoiced to 1=voiced) */
29 Word16 exc[], /* (i) Q_exc : pitch excitation */
30 Word16 Q_exc, /* (i) : exc format */
31 Word16 gain_pit, /* (i) Q14 : gain of pitch */
32 Word16 code[], /* (i) Q9 : Fixed codebook excitation */
33 Word16 gain_code, /* (i) Q0 : gain of code */
34 Word16 L_subfr /* (i) : subframe length */
37 Word16 tmp, exp, ener1, exp1, ener2, exp2;
hp_wsp.c 45 static Word16 a[4] = {8192, 21663, -19258, 5734};
46 static Word16 b[4] = {-3432, +10280, -10280, +3432};
49 void Init_Hp_wsp(Word16 mem[])
56 void scale_mem_Hp_wsp(Word16 mem[], Word16 exp)
81 Word16 wsp[], /* i : wsp[] signal */
82 Word16 hp_wsp[], /* o : hypass wsp[] */
83 Word16 lg, /* i : lenght of signal */
84 Word16 mem[] /* i/o : filter memory [9] */
87 Word16 x0, x1, x2, x3
    [all...]
oper_32b.c 57 __inline void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo)
59 *hi = (Word16)(L_32 >> 16);
60 *lo = (Word16)((L_32 & 0xffff) >> 1);
85 Word32 L_Comp (Word16 hi, Word16 lo)
114 __inline Word32 Mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
homing.tab 34 static const Word16 dfh_M7k[PRMN_7k] =
41 static const Word16 dfh_M9k[PRMN_9k] =
48 static const Word16 dfh_M12k[PRMN_12k] =
57 static const Word16 dfh_M14k[PRMN_14k] =
66 static const Word16 dfh_M16k[PRMN_16k] =
76 static const Word16 dfh_M18k[PRMN_18k] =
87 static const Word16 dfh_M20k[PRMN_20k] =
98 static const Word16 dfh_M23k[PRMN_23k] =
110 static const Word16 dfh_M24k[PRMN_24k] =
log2.h 49 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
50 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/
55 Word16 exp, /* (i) : norm_l (L_x) */
56 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
57 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
main.h 29 Word16 * mode, /* input : used mode */
30 Word16 speech16k[], /* input : 320 new speech samples (at 16 kHz) */
31 Word16 prms[], /* output: output parameters */
32 Word16 * ser_size, /* output: bit rate of the used mode */
34 Word16 allow_dtx /* input : DTX ON/OFF */
39 void Reset_encoder(void *st, Word16 reset_all);
42 Word16 encoder_homing_frame_test(Word16 input_frame[]);
math_op.h 33 Word16 * exp /* (i/o) : exponent (value = frac x 2^exponent) */
37 Word16 exponant, /* (i) Q0 : Integer part. (range: 0<=val<=30) */
38 Word16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */
42 Word16 x[], /* (i) 12bits: x vector */
43 Word16 y[], /* (i) 12bits: y vector */
44 Word16 lg, /* (i) : vector length */
45 Word16 * exp /* (o) : exponent of result (0..+30) */
49 Word16 x[], /* (i) 12bits: x vector */
50 Word16 y[], /* (i) 12bits: y vector */
51 Word16 lg, /* (i) : vector length *
    [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...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
tns.c 56 Word16 weightedSpectrum[],
58 const Word16* sfbOffset, Word16 lpcStartLine,
59 Word16 lpcStopLine, Word16 lpcStartBand,Word16 lpcStopBand,
64 void AutoCorrelation(const Word16 input[], Word32 corr[],
65 Word16 samples, Word16 corrCoeff);
66 static Word16 AutoToParcor(Word32 workBuffer[], Word32 reflCoeff[], Word16 numOfCoeff)
    [all...]
adj_thr.c 59 Word16 bits2pe(const Word16 bits) {
72 const Word16 nChannels)
74 Word16 ch, sfb, sfbGrp;
95 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB],
97 const Word16 nChannels)
99 Word16 ch, sfb, sfbOffs, shift;
101 Word16 log_avgEn = 0;
130 Word16 dbRatio, minSnrRed;
132 Word16 newMinSnr
    [all...]
qc_main.c 42 static const Word16 maxFillElemBits = 7 + 270*8;
46 static Word16 calcMaxValueInSfb(Word16 sfbCnt,
47 Word16 maxSfbPerGroup,
48 Word16 sfbPerGroup,
49 Word16 sfbOffset[MAX_GROUPED_SFB],
50 Word16 quantSpectrum[FRAME_LEN_LONG],
60 static Word16 calcFrameLen(Word32 bitRate,
89 static Word16 framePadding(Word32 bitRate,
93 Word16 paddingOn
    [all...]
pre_echo_control.c 37 Word16 numPb,
40 Word16 pb;
56 Word16 numPb,
58 Word16 minRemainingThresholdFactor,
60 Word16 mdctScale,
61 Word16 mdctScalenm1)
sf_estim.c 30 static const Word16 MAX_SCF_DELTA = 60;
95 CalcFormFactorChannel(Word16 *logSfbFormFactor,
96 Word16 *sfbNRelevantLines,
97 Word16 *logSfbEnergy,
144 static Word16 improveScf(Word32 *spec,
145 Word16 sfbWidth,
147 Word16 scf,
148 Word16 minScf,
150 Word16 *minScfCalculated)
233 static Word16 countSingleScfBits(Word16 scf, Word16 scfLeft, Word16 scfRight
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
spreading.h 28 void SpreadingMax(const Word16 pbCnt,
29 const Word16 *maskLowFactor,
30 const Word16 *maskHighFactor,
stat_bits.h 29 Word16 countStaticBitdemand(PSY_OUT_CHANNEL psyOutChannel[MAX_CHANNELS],
31 Word16 nChannels,
32 Word16 adtsUsed);
aacenc_core.h 42 Word16 nChannelsIn; /* number of channels on input (1,2) */
43 Word16 nChannelsOut; /* number of channels on output (1,2) */
44 Word16 bandWidth; /* targeted audio bandwidth in Hz */
45 Word16 adtsUsed; /* whether write adts header */
51 AACENC_CONFIG config; /* Word16 size: 8 */
53 ELEMENT_INFO elInfo; /* Word16 size: 4 */
55 QC_STATE qcKernel; /* Word16 size: 6 + 5(PADDING) + 7(ELEMENT_BITS) + 54(ADJ_THR_STATE) = 72 */
56 QC_OUT qcOut; /* Word16 size: MAX_CHANNELS*920(QC_OUT_CHANNEL) + 5(QC_OUT_ELEMENT) + 7 = 932 / 1852 */
58 PSY_OUT psyOut; /* Word16 size: MAX_CHANNELS*186 + 2 = 188 / 374 */
59 PSY_KERNEL psyKernel; /* Word16 size: 2587 / 4491 *
    [all...]

Completed in 84 milliseconds

1 23 4 5 6 7 8 91011>>