/external/speex/libspeex/ |
H A D | lsp_bfin.h | 39 spx_word16_t *coef, /* P or Q coefs in Q13 format */ 49 "P0 = %2;\n\t" /* P0: coef[m], coef[m-1],..., coef[0] */ 81 : "a" (x), "a" (&coef[m]), "a" (m-1) 38 cheb_poly_eva( spx_word16_t *coef, spx_word16_t x, int m, char *stack ) argument
|
H A D | scal.c | 230 //float coef = .5*0.78130; 231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707; local 241 gain = coef*sqrt(.1+st->curve[i]); 245 frame[0] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[0]); 246 frame[2*st->frame_size-1] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[st->frame_size-1]);
|
H A D | lsp.c | 141 spx_word16_t *coef, /* P or Q coefs in Q13 format */ 162 sum = ADD32(EXTEND32(coef[m]), EXTEND32(MULT16_16_P14(coef[m-1],x))); 168 sum = ADD32(sum, EXTEND32(MULT16_16_P14(coef[m-i],b0))); 177 static float cheb_poly_eva(spx_word32_t *coef, spx_word16_t x, int m, char *stack) argument 192 b0=x*b0-b1+coef[m-k]; /* b0 holds its new value based on b0 and b1 */ 196 return(-b1+.5*x*b0+coef[m]); 140 cheb_poly_eva( spx_word16_t *coef, spx_word16_t x, int m, char *stack ) argument
|
/external/jpeg/ |
H A D | jccoefct.c | 75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; variable 82 coef->MCU_rows_per_iMCU_row = 1; 84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 90 coef->mcu_ctr = 0; 91 coef->MCU_vert_offset = 0; 102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 145 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 343 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 407 my_coef_ptr coef; local [all...] |
H A D | jdcoefct.c | 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 89 coef->MCU_rows_per_iMCU_row = 1; 92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 97 coef->MCU_ctr = 0; 98 coef->MCU_vert_offset = 0; 122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 125 if (coef 149 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 394 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 454 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 556 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 660 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 716 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 931 my_coef_ptr coef; local [all...] |
H A D | jctrans.c | 230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 237 coef->MCU_rows_per_iMCU_row = 1; 239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 245 coef->mcu_ctr = 0; 246 coef->MCU_vert_offset = 0; 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 366 my_coef_ptr coef; local [all...] |
H A D | jdapistd.c | 51 /* If file has multiple scans, absorb them all into the coef buffer */ 224 cinfo->coef->MCU_columns_to_skip = 251 cinfo->inputctl->consume_input = cinfo->coef->consume_data; 253 cinfo->coef->consume_data_build_huffman_index; 257 cinfo->coef->MCU_column_left_boundary = col_left_boundary; 258 cinfo->coef->MCU_column_right_boundary = col_right_boundary; 259 cinfo->coef->column_left_boundary = 261 cinfo->coef->column_right_boundary = 288 int offset_data_col_position = cinfo->coef->MCU_column_left_boundary / 332 if (! (*cinfo->coef [all...] |
H A D | jidctfst.c | 129 #define DEQUANTIZE(coef,quantval) (((IFAST_MULT_TYPE) (coef)) * (quantval)) 131 #define DEQUANTIZE(coef,quantval) \ 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
|
/external/qemu/distrib/jpeg-6b/ |
H A D | jccoefct.c | 75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; variable 82 coef->MCU_rows_per_iMCU_row = 1; 84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 90 coef->mcu_ctr = 0; 91 coef->MCU_vert_offset = 0; 102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 145 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 343 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 407 my_coef_ptr coef; local [all...] |
H A D | jdcoefct.c | 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 89 coef->MCU_rows_per_iMCU_row = 1; 92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 97 coef->MCU_ctr = 0; 98 coef->MCU_vert_offset = 0; 122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 125 if (coef 149 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 394 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 454 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 556 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 660 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 716 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 931 my_coef_ptr coef; local [all...] |
H A D | jctrans.c | 230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 237 coef->MCU_rows_per_iMCU_row = 1; 239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) 240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; 242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; 245 coef->mcu_ctr = 0; 246 coef->MCU_vert_offset = 0; 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local 366 my_coef_ptr coef; local [all...] |
H A D | jdapistd.c | 51 /* If file has multiple scans, absorb them all into the coef buffer */ 224 cinfo->coef->MCU_columns_to_skip = 251 cinfo->inputctl->consume_input = cinfo->coef->consume_data; 253 cinfo->coef->consume_data_build_huffman_index; 257 cinfo->coef->MCU_column_left_boundary = col_left_boundary; 258 cinfo->coef->MCU_column_right_boundary = col_right_boundary; 259 cinfo->coef->column_left_boundary = 261 cinfo->coef->column_right_boundary = 288 int offset_data_col_position = cinfo->coef->MCU_column_left_boundary / 332 if (! (*cinfo->coef [all...] |
H A D | jidctfst.c | 129 #define DEQUANTIZE(coef,quantval) (((IFAST_MULT_TYPE) (coef)) * (quantval)) 131 #define DEQUANTIZE(coef,quantval) \ 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
|
/external/webrtc/src/common_audio/signal_processing/ |
H A D | resample.c | 318 WebRtc_Word16 coef; local 320 coef = coef_ptr[0]; 321 tmp1 += coef * in1[0]; 322 tmp2 += coef * in2[-0]; 324 coef = coef_ptr[1]; 325 tmp1 += coef * in1[1]; 326 tmp2 += coef * in2[-1]; 328 coef = coef_ptr[2]; 329 tmp1 += coef * in1[2]; 330 tmp2 += coef * in 364 WebRtc_Word16 coef; local [all...] |
H A D | resample_fractional.c | 155 WebRtc_Word16 coef; local 157 coef = coef_ptr[0]; 158 tmp1 += coef * in1[0]; 159 tmp2 += coef * in2[-0]; 161 coef = coef_ptr[1]; 162 tmp1 += coef * in1[1]; 163 tmp2 += coef * in2[-1]; 165 coef = coef_ptr[2]; 166 tmp1 += coef * in1[2]; 167 tmp2 += coef * in [all...] |
/external/aac/libAACdec/src/ |
H A D | pulsedata.cpp | 142 FIXP_DBL *coef) /*!< pointer to spectrum */ 153 if (coef [k] > (FIXP_DBL)0) coef[k] += (FIXP_DBL)(int)PulseData->PulseAmp[i]; 154 else coef[k] -= (FIXP_DBL)(int)PulseData->PulseAmp[i]; 140 CPulseData_Apply(CPulseData *PulseData, const short *pScaleFactorBandOffsets, FIXP_DBL *coef) argument
|
H A D | pulsedata.h | 137 * \param coef pointer to the spectral data were pulse data should be applied to. 142 FIXP_DBL *coef);
|
H A D | ldfiltbank.cpp | 174 const FIXP_WTB *coef; local 180 coef = (FIXP_WTB*)LowDelaySynthesis512; 182 coef = (FIXP_WTB*)LowDelaySynthesis480; 201 multE2_DinvF_fdk(output, mdctData, coef, fs_buffer, N, stride);
|
H A D | aacdec_tns.cpp | 185 UCHAR coef,s_mask; local 202 coef = (UCHAR) FDKreadBits(bs,filter->Resolution - coef_compress); 203 filter->Coeff[i] = (coef & s_mask) ? (coef | n_mask) : coef;
|
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | eas_math.h | 122 - b is the unsigned fraction (cast to signed int as long as coef 125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ 128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ 146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ 286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \ 299 /* drive coef is given as int.frac */
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_math.h | 122 - b is the unsigned fraction (cast to signed int as long as coef 125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ 128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ 146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ 286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \ 299 /* drive coef is given as int.frac */
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_math.h | 122 - b is the unsigned fraction (cast to signed int as long as coef 125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ 128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ 146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ 286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \ 299 /* drive coef is given as int.frac */
|
/external/aac/libSBRdec/src/ |
H A D | psdec.cpp | 1015 ScaleR = PScaleFactors[noIidSteps + h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env][bin]]; 1016 ScaleL = PScaleFactors[noIidSteps - h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env][bin]]; 1018 Beta = fMult (fMult( Alphas[h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env][bin]], ( ScaleR - ScaleL )), FIXP_SQRT05); 1019 Alpha = Alphas[h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env][bin]]>>1; 1045 h_ps_d->specificTo.mpeg.coef.H11r[group] = h_ps_d->specificTo.mpeg.h11rPrev[group]; 1046 h_ps_d->specificTo.mpeg.coef.H12r[group] = h_ps_d->specificTo.mpeg.h12rPrev[group]; 1047 h_ps_d->specificTo.mpeg.coef.H21r[group] = h_ps_d->specificTo.mpeg.h21rPrev[group]; 1048 h_ps_d->specificTo.mpeg.coef.H22r[group] = h_ps_d->specificTo.mpeg.h22rPrev[group]; 1050 h_ps_d->specificTo.mpeg.coef.DeltaH11r[group] = fMult ( h11r - h_ps_d->specificTo.mpeg.coef [all...] |
/external/aac/libAACenc/src/ |
H A D | aacenc_tns.h | 188 INT coef[TRANS_FAC][MAX_NUM_OF_FILTERS][TNS_MAX_ORDER]; member in struct:__anon84
|
H A D | aacenc_tns.cpp | 772 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; 798 tnsInfo->coef[subBlockNumber][HIFILT], 804 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { 813 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; 837 tnsInfo->coef[subBlockNumber][LOFILT], 843 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { 851 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumbe [all...] |