/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | isp_isf.tab | 24 const static Word16 table[129] = {
45 const static Word16 slope[128] = {
|
H A D | log2_tab.h | 28 static const Word16 table[33] =
|
H A D | acelp.h | 33 Word16 median5(Word16 x[]);
36 Word16 x[], /* (i) : Input signal */
37 Word16 m, /* (i) : LPC order */
38 Word16 r_h[], /* (o) : Autocorrelations (msb) */
39 Word16 r_l[] /* (o) : Autocorrelations (lsb) */
43 Word16 r_h[], /* (i/o) : Autocorrelations (msb) */
44 Word16 r_l[] /* (i/o) : Autocorrelations (lsb) */
48 Word16 * mem /* output :static memory (18 words) */
52 Word16 R [all...] |
H A D | p_med_o.h | 26 Word16 Pitch_med_ol( /* output: open loop pitch lag */
27 Word16 wsp[], /* input : signal used to compute the open loop pitch */
29 Word16 L_min, /* input : minimum pitch lag */
30 Word16 L_max, /* input : maximum pitch lag */
31 Word16 L_frame, /* input : length of frame to compute pitch */
32 Word16 L_0, /* input : old_ open-loop pitch */
33 Word16 * gain, /* output: normalize correlation of hp_wsp for the Lag */
34 Word16 * hp_wsp_mem, /* i:o : memory of the hypass filter for hp_wsp[] (lg=9) */
35 Word16 * old_hp_wsp, /* i:o : hypass wsp[] */
36 Word16 wght_fl [all...] |
H A D | q_pulse.h | 31 Word16 pos, /* (i) position of the pulse */
32 Word16 N); /* (i) number of bits for position */
35 Word16 pos1, /* (i) position of the pulse 1 */
36 Word16 pos2, /* (i) position of the pulse 2 */
37 Word16 N); /* (i) number of bits for position */
40 Word16 pos1, /* (i) position of the pulse 1 */
41 Word16 pos2, /* (i) position of the pulse 2 */
42 Word16 pos3, /* (i) position of the pulse 3 */
43 Word16 N); /* (i) number of bits for position */
46 Word16 pos [all...] |
H A D | oper_32b.h | 24 void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo);
25 Word32 L_Comp (Word16 hi, Word16 lo);
26 Word32 Mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2);
27 Word32 Mpy_32_16 (Word16 hi, Word16 l [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | ph_disp_tab.cpp | 84 extern const Word16 ph_imp_low_MR795[40] = 91 extern const Word16 ph_imp_mid_MR795[40] = 99 extern const Word16 ph_imp_low[40] = 106 extern const Word16 ph_imp_mid[40] =
|
H A D | lsp_lsf_tbl.cpp | 80 extern const Word16 table[65] = 90 (Word16) 0x8000 97 extern const Word16 slope[64] =
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | spreproc.h | 110 const Word16 gamma1[], /* i : spectral exp. factor 1 */ 111 const Word16 gamma1_12k2[],/* i : spectral exp. factor 1 for EFR */ 112 const Word16 gamma2[], /* i : spectral exp. factor 2 */ 113 Word16 *A, /* i : A(z) unquantized for the 4 subframes */ 114 Word16 *Aq, /* i : A(z) quantized for the 4 subframes */ 115 Word16 *speech, /* i : speech segment */ 116 Word16 *mem_err, /* i : pointer to error signal */ 117 Word16 *mem_w0, /* i : memory of weighting filter */ 118 Word16 *zero, /* i : pointer to zero vector */ 119 Word16 ai_zer [all...] |
H A D | spstproc.h | 110 Word16 *speech, /* i : speech segment */ 112 Word16 i_subfr, /* i : Subframe nr */ 113 Word16 gain_pit, /* i : Pitch gain Q14 */ 114 Word16 gain_code, /* i : Decoded innovation gain */ 115 Word16 *Aq, /* i : A(z) quantized for the 4 subframes */ 116 Word16 synth[], /* i : Local snthesis */ 117 Word16 xn[], /* i : Target vector for pitch search */ 118 Word16 code[], /* i : Fixed codebook exitation */ 119 Word16 y1[], /* i : Filtered adaptive exitation */ 120 Word16 y [all...] |
H A D | calc_en.h | 118 Word16 res[], /* i : LP residual, Q0 */ 119 Word16 exc[], /* i : LTP excitation (unfiltered), Q0 */ 120 Word16 code[], /* i : CB innovation (unfiltered), Q13 */ 121 Word16 gain_pit, /* i : pitch gain, Q14 */ 122 Word16 L_subfr, /* i : Subframe length */ 124 Word16 frac_en[], /* o : energy coefficients (3), fraction part, Q15 */ 125 Word16 exp_en[], /* o : energy coefficients (3), exponent part, Q0 */ 126 Word16 *ltpg, /* o : LTP coding gain (log2()), Q13 */ 154 Word16 xn[], /* i : LTP target vector, Q0 */ 155 Word16 xn [all...] |
H A D | set_sign.h | 104 void set_sign(Word16 dn[], /* i/o : correlation between target and h[] */ 105 Word16 sign[], /* o : sign of dn[] */ 106 Word16 dn2[], /* o : maximum of correlation in each track. */ 107 Word16 n /* i : # of maximum correlations in dn2[] */ 111 Word16 dn[], /* i/o : correlation between target and h[] */ 112 Word16 cn[], /* i : residual after long term prediction */ 113 Word16 sign[], /* o : sign of d[n] */ 114 Word16 pos_max[], /* o : position of maximum correlation */ 115 Word16 nb_track, /* i : number of tracks tracks */ 116 Word16 ipo [all...] |
H A D | qgain795.h | 109 Word16 res[], /* i : LP residual, Q0 */ 110 Word16 exc[], /* i : LTP excitation (unfiltered), Q0 */ 111 Word16 code[], /* i : CB innovation (unfiltered), Q13 */ 112 Word16 frac_coeff[], /* i : coefficients (5), Q15 */ 113 Word16 exp_coeff[], /* i : energy coefficients (5), Q0 */ 115 Word16 exp_code_en, /* i : innovation energy (exponent), Q0 */ 116 Word16 frac_code_en, /* i : innovation energy (fraction), Q15 */ 117 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 118 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 119 Word16 L_subf [all...] |
H A D | cbsearch.h | 110 void cbsearch(Word16 x[], /* i : target vector, Q0 */ 111 Word16 h[], /* i : impulse response of weighted synthesis */ 114 Word16 T0, /* i : Pitch lag */ 115 Word16 pitch_sharp, /* i : Last quantized pitch gain, Q14 */ 116 Word16 gain_pit,/* i : Pitch gain, Q14 */ 117 Word16 res2[], /* i : Long term prediction residual, Q0 */ 118 Word16 code[], /* o : Innovative codebook, Q13 */ 119 Word16 y[], /* o : filtered fixed codebook excitation, Q12 */ 120 Word16 **anap, /* o : Signs of the pulses */ 122 Word16 subN [all...] |
H A D | autocorr.h | 102 Word16 Autocorr( 103 Word16 x[], /* (i) : Input signal (L_WINDOW) */ 104 Word16 m, /* (i) : LPC order */ 105 Word16 r_h[], /* (o) : Autocorrelations (msb) */ 106 Word16 r_l[], /* (o) : Autocorrelations (lsb) */ 107 const Word16 wind[], /* (i) : window for LPC analysis (L_WINDOW) */
|
H A D | c8_31pf.h | 104 Word16 x[], /* i : target vector */ 105 Word16 cn[], /* i : residual after long term prediction */ 106 Word16 h[], /* i : impulse response of weighted synthesis 108 Word16 cod[], /* o : algebraic (fixed) codebook excitation */ 109 Word16 y[], /* o : filtered fixed codebook excitation */ 110 Word16 indx[], /* o : 7 Word16, index of 8 pulses (signs+positions) */
|
H A D | cor_h_x2.h | 106 Word16 h[], /* (i): impulse response of weighted synthesis filter */ 107 Word16 x[], /* (i): target */ 108 Word16 dn[], /* (o): correlation between target and h[] */ 109 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */ 110 Word16 nb_track,/* (i): the number of ACB tracks */ 111 Word16 step, /* (i): step size from one pulse position to the next
|
H A D | gain_q.h | 116 Word16 sf0_exp_gcode0; 117 Word16 sf0_frac_gcode0; 118 Word16 sf0_exp_target_en; 119 Word16 sf0_frac_target_en; 120 Word16 sf0_exp_coeff[5]; 121 Word16 sf0_frac_coeff[5]; 122 Word16 *gain_idx_ptr; 133 Word16 gainQuant_init(gainQuantState **st); 139 Word16 gainQuant_reset(gainQuantState *st); 151 Word16 re [all...] |
H A D | hp_max.h | 100 Word16 hp_max( 102 Word16 scal_sig[], /* i : scaled signal. */ 103 Word16 L_frame, /* i : length of frame to compute pitch */ 104 Word16 lag_max, /* i : maximum lag */ 105 Word16 lag_min, /* i : minimum lag */ 106 Word16 *cor_hp_max, /* o : max high-pass filtered norm. correlation */
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
H A D | bitreorder_tab.h | 36 Description: Define "const Word16 *reorderBits[NUM_MODES-1]" as 37 "const Word16 *const reorderBits[NUM_MODES-1]". 85 extern const Word16 numOfBits[]; 86 extern const Word16 reorderBits_MR475[]; 87 extern const Word16 reorderBits_MR515[]; 88 extern const Word16 reorderBits_MR59[]; 89 extern const Word16 reorderBits_MR67[]; 90 extern const Word16 reorderBits_MR74[]; 91 extern const Word16 reorderBits_MR795[]; 92 extern const Word16 reorderBits_MR10 [all...] |
H A D | qua_gain.h | 107 Word16 110 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 111 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 112 Word16 frac_coeff[], /* i : energy coeff. (5), fraction part, Q15 */ 113 Word16 exp_coeff[], /* i : energy coeff. (5), exponent part, Q0 */ 116 Word16 gp_limit, /* i : pitch gain limit */ 117 Word16 *gain_pit, /* o : Pitch gain, Q14 */ 118 Word16 *gain_cod, /* o : Code gain, Q1 */ 119 Word16 *qua_ener_MR122, /* o : quantized energy error, Q10 */ 121 Word16 *qua_ene [all...] |
H A D | q_plsf_5_tbl.h | 77 extern const Word16 mean_lsf_5[]; 78 extern const Word16 dico1_lsf_5[]; 79 extern const Word16 dico2_lsf_5[]; 80 extern const Word16 dico3_lsf_5[]; 81 extern const Word16 dico4_lsf_5[]; 82 extern const Word16 dico5_lsf_5[];
|
H A D | syn_filt.h | 71 Word16 a[], /* (i) : a[m+1] prediction coefficients (m=10) */ 72 Word16 x[], /* (i) : input signal */ 73 Word16 y[], /* (o) : output signal */ 74 Word16 lg, /* (i) : size of filtering */ 75 Word16 mem[], /* (i/o): memory associated with this filtering. */ 76 Word16 update /* (i) : 0=no update, 1=update of memory. */
|
/frameworks/base/media/libstagefright/codecs/aacenc/inc/ |
H A D | dyn_bits.h | 41 Word16 codeBook; 42 Word16 sfbStart; 43 Word16 sfbCnt; 44 Word16 sectionBits; 53 Word16 blockType; 54 Word16 noOfGroups; 55 Word16 sfbCnt; 56 Word16 maxSfbPerGroup; 57 Word16 sfbPerGroup; 58 Word16 noOfSection [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_lag6.h | 107 Word16 index, /* input : received pitch index */ 108 Word16 pit_min, /* input : minimum pitch lag */ 109 Word16 pit_max, /* input : maximum pitch lag */ 110 Word16 i_subfr, /* input : subframe flag */ 111 Word16 *T0, /* in/out: integer part of pitch lag */ 112 Word16 *T0_frac, /* output: fractional part of pitch lag */
|