Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 25 of 130) sorted by relevance

123456

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jccoefct.c75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
82 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
90 coef->mcu_ctr = 0; in start_iMCU_row()
91 coef->MCU_vert_offset = 0; in start_iMCU_row()
102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
104 coef->iMCU_row_num = 0; in start_pass_coef()
109 if (coef->whole_image[0] != NULL) in start_pass_coef()
[all …]
Dfpdfapi_jdcoefct.c82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
89 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
97 coef->MCU_ctr = 0; in start_iMCU_row()
98 coef->MCU_vert_offset = 0; in start_iMCU_row()
122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_output_pass() local
125 if (coef->pub.coef_arrays != NULL) { in start_output_pass()
127 coef->pub.decompress_data = decompress_smooth_data; in start_output_pass()
129 coef->pub.decompress_data = decompress_data; in start_output_pass()
[all …]
Dfpdfapi_jctrans.c230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
237 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
245 coef->mcu_ctr = 0; in start_iMCU_row()
246 coef->MCU_vert_offset = 0; in start_iMCU_row()
257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
262 coef->iMCU_row_num = 0; in start_pass_coef()
280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in compress_output() local
[all …]
/external/libjpeg-turbo/
Djccoefct.c74 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
81 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
83 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
84 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
86 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
89 coef->mcu_ctr = 0; in start_iMCU_row()
90 coef->MCU_vert_offset = 0; in start_iMCU_row()
101 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
103 coef->iMCU_row_num = 0; in start_pass_coef()
108 if (coef->whole_image[0] != NULL) in start_pass_coef()
[all …]
Djdcoefct.c60 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_output_pass() local
63 if (coef->pub.coef_arrays != NULL) { in start_output_pass()
65 coef->pub.decompress_data = decompress_smooth_data; in start_output_pass()
67 coef->pub.decompress_data = decompress_data; in start_output_pass()
87 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in decompress_onepass() local
98 for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row; in decompress_onepass()
100 for (MCU_col_num = coef->MCU_ctr; MCU_col_num <= last_MCU_col; in decompress_onepass()
103 jzero_far((void *) coef->MCU_buffer[0], in decompress_onepass()
105 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) { in decompress_onepass()
107 coef->MCU_vert_offset = yoffset; in decompress_onepass()
[all …]
Djctrans.c243 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
250 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
252 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
253 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
255 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
258 coef->mcu_ctr = 0; in start_iMCU_row()
259 coef->MCU_vert_offset = 0; in start_iMCU_row()
270 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
275 coef->iMCU_row_num = 0; in start_pass_coef()
293 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in compress_output() local
[all …]
Djdcoefct.h65 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
72 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
75 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
77 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
80 coef->MCU_ctr = 0; in start_iMCU_row()
81 coef->MCU_vert_offset = 0; in start_iMCU_row()
/external/opencv3/3rdparty/libjpeg/
Djccoefct.c76 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
83 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
85 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
86 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
88 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
91 coef->mcu_ctr = 0; in start_iMCU_row()
92 coef->MCU_vert_offset = 0; in start_iMCU_row()
103 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
105 coef->iMCU_row_num = 0; in start_pass_coef()
110 if (coef->whole_image[0] != NULL) in start_pass_coef()
[all …]
Djdcoefct.c83 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
90 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
93 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
95 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
98 coef->MCU_ctr = 0; in start_iMCU_row()
99 coef->MCU_vert_offset = 0; in start_iMCU_row()
123 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_output_pass() local
126 if (coef->pub.coef_arrays != NULL) { in start_output_pass()
128 coef->pub.decompress_data = decompress_smooth_data; in start_output_pass()
130 coef->pub.decompress_data = decompress_data; in start_output_pass()
[all …]
Djctrans.c227 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
234 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
236 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
237 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
239 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
242 coef->mcu_ctr = 0; in start_iMCU_row()
243 coef->MCU_vert_offset = 0; in start_iMCU_row()
254 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
259 coef->iMCU_row_num = 0; in start_pass_coef()
277 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in compress_output() local
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample.c318 int16_t coef; in WebRtcSpl_DotProdIntToInt() local
320 coef = coef_ptr[0]; in WebRtcSpl_DotProdIntToInt()
321 tmp1 += coef * in1[0]; in WebRtcSpl_DotProdIntToInt()
322 tmp2 += coef * in2[-0]; in WebRtcSpl_DotProdIntToInt()
324 coef = coef_ptr[1]; in WebRtcSpl_DotProdIntToInt()
325 tmp1 += coef * in1[1]; in WebRtcSpl_DotProdIntToInt()
326 tmp2 += coef * in2[-1]; in WebRtcSpl_DotProdIntToInt()
328 coef = coef_ptr[2]; in WebRtcSpl_DotProdIntToInt()
329 tmp1 += coef * in1[2]; in WebRtcSpl_DotProdIntToInt()
330 tmp2 += coef * in2[-2]; in WebRtcSpl_DotProdIntToInt()
[all …]
Dresample_fractional.c153 int16_t coef; in WebRtcSpl_ResampDotProduct() local
155 coef = coef_ptr[0]; in WebRtcSpl_ResampDotProduct()
156 tmp1 += coef * in1[0]; in WebRtcSpl_ResampDotProduct()
157 tmp2 += coef * in2[-0]; in WebRtcSpl_ResampDotProduct()
159 coef = coef_ptr[1]; in WebRtcSpl_ResampDotProduct()
160 tmp1 += coef * in1[1]; in WebRtcSpl_ResampDotProduct()
161 tmp2 += coef * in2[-1]; in WebRtcSpl_ResampDotProduct()
163 coef = coef_ptr[2]; in WebRtcSpl_ResampDotProduct()
164 tmp1 += coef * in1[2]; in WebRtcSpl_ResampDotProduct()
165 tmp2 += coef * in2[-2]; in WebRtcSpl_ResampDotProduct()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c100 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS]; member
462 struct tgsi_interp_coef *coef, in const_coeff() argument
467 coef->dadx[i] = 0; in const_coeff()
468 coef->dady[i] = 0; in const_coeff()
472 coef->a0[i] = setup->vprovoke[vertSlot][i]; in const_coeff()
483 struct tgsi_interp_coef *coef, in tri_linear_coeff() argument
496 coef->dadx[i] = dadx; in tri_linear_coeff()
497 coef->dady[i] = dady; in tri_linear_coeff()
511 coef->a0[i] = (v[0] - in tri_linear_coeff()
536 struct tgsi_interp_coef *coef, in tri_persp_coeff() argument
[all …]
Dsp_fs_exec.c84 setup_pos_vector(const struct tgsi_interp_coef *coef, in setup_pos_vector() argument
103 const float dadx = coef->dadx[chan]; in setup_pos_vector()
104 const float dady = coef->dady[chan]; in setup_pos_vector()
105 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector()
/external/aac/libSBRdec/src/
Dpsdec.cpp1015 ScaleR = PScaleFactors[noIidSteps + h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env][bin]]; in initSlotBasedRotation()
1016 ScaleL = PScaleFactors[noIidSteps - h_ps_d->specificTo.mpeg.coef.aaIidIndexMapped[env][bin]]; in initSlotBasedRotation()
1018 …Beta = fMult (fMult( Alphas[h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env][bin]], ( ScaleR -… in initSlotBasedRotation()
1019 Alpha = Alphas[h_ps_d->specificTo.mpeg.coef.aaIccIndexMapped[env][bin]]>>1; in initSlotBasedRotation()
1045 h_ps_d->specificTo.mpeg.coef.H11r[group] = h_ps_d->specificTo.mpeg.h11rPrev[group]; in initSlotBasedRotation()
1046 h_ps_d->specificTo.mpeg.coef.H12r[group] = h_ps_d->specificTo.mpeg.h12rPrev[group]; in initSlotBasedRotation()
1047 h_ps_d->specificTo.mpeg.coef.H21r[group] = h_ps_d->specificTo.mpeg.h21rPrev[group]; in initSlotBasedRotation()
1048 h_ps_d->specificTo.mpeg.coef.H22r[group] = h_ps_d->specificTo.mpeg.h22rPrev[group]; in initSlotBasedRotation()
1050 …h_ps_d->specificTo.mpeg.coef.DeltaH11r[group] = fMult ( h11r - h_ps_d->specificTo.mpeg.coef.H11r[… in initSlotBasedRotation()
1051 …h_ps_d->specificTo.mpeg.coef.DeltaH12r[group] = fMult ( h12r - h_ps_d->specificTo.mpeg.coef.H12r[… in initSlotBasedRotation()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_math.h126 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument
129 ((int32_t)(audio)) * ((int32_t)(coef)) \
144 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument
147 ((int32_t)(audio)) * ((int32_t)(coef)) \
284 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument
287 ((int32_t)(dents)) * ((int32_t)(coef)) \
/external/aac/libAACdec/src/
Dpulsedata.cpp142 FIXP_DBL *coef) /*!< pointer to spectrum */ in CPulseData_Apply() argument
153 if (coef [k] > (FIXP_DBL)0) coef[k] += (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()
154 else coef[k] -= (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dinterpolate.c30 int16_t coef, /* (i) weight coefficient in Q14 */ in WebRtcIlbcfix_Interpolate() argument
40 invcoef = 16384 - coef; /* 16384 = 1.0 (Q14)*/ in WebRtcIlbcfix_Interpolate()
42 out[i] = (int16_t)((coef * in1[i] + invcoef * in2[i] + 8192) >> 14); in WebRtcIlbcfix_Interpolate()
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Dkey.py280 def __init__(self, n, e, d, p, q, exp1=None, exp2=None, coef=None): argument
298 if coef is None:
299 self.coef = rsa.common.inverse(q, p)
301 self.coef = coef
323 self.coef == other.coef)
405 asn_key.setComponentByName('coefficient', self.coef)
/external/libopus/silk/
DVAD.c306 opus_int coef, min_coef; in silk_VAD_GetNoiseLevels() local
330 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 >> 3; in silk_VAD_GetNoiseLevels()
332 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16; in silk_VAD_GetNoiseLevels()
334 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 ); in silk_VAD_GetNoiseLevels()
338 coef = silk_max_int( coef, min_coef ); in silk_VAD_GetNoiseLevels()
341 …VAD->inv_NL[ k ] = silk_SMLAWB( psSilk_VAD->inv_NL[ k ], inv_nrg - psSilk_VAD->inv_NL[ k ], coef ); in silk_VAD_GetNoiseLevels()
/external/aac/libAACenc/src/
Daacenc_tns.cpp757 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; in FDKaacEnc_TnsDetect()
784 tnsInfo->coef[subBlockNumber][HIFILT], in FDKaacEnc_TnsDetect()
790 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
799 … sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
823 tnsInfo->coef[subBlockNumber][LOFILT], in FDKaacEnc_TnsDetect()
829 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { in FDKaacEnc_TnsDetect()
837 … sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
851 …sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFI… in FDKaacEnc_TnsDetect()
859 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) { in FDKaacEnc_TnsDetect()
864 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
[all …]
/external/libopus/celt/
Dquant_bands.c165 opus_val16 coef; in quant_coarse_energy_impl() local
172 coef = 0; in quant_coarse_energy_impl()
176 coef = pred_coef[LM]; in quant_coarse_energy_impl()
194 f = SHL32(EXTEND32(x),7) - PSHR32(MULT16_16(coef,oldE), 8) - prev[c]; in quant_coarse_energy_impl()
200 f = x-coef*oldE-prev[c]; in quant_coarse_energy_impl()
250 tmp = PSHR32(MULT16_16(coef,oldE),8) + prev[c] + SHL32(q,7); in quant_coarse_energy_impl()
432 opus_val16 coef; in unquant_coarse_energy() local
439 coef = 0; in unquant_coarse_energy()
443 coef = pred_coef[LM]; in unquant_coarse_energy()
482 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7); in unquant_coarse_energy()
/external/libopus/silk/float/
Dprefilter_FLP.c53 …const silk_float coef[], /* I Coefficients [order] … in silk_warped_LPC_analysis_filter_FLP() argument
73 acc = coef[ 0 ] * tmp2; in silk_warped_LPC_analysis_filter_FLP()
79 acc += coef[ i - 1 ] * tmp1; in silk_warped_LPC_analysis_filter_FLP()
83 acc += coef[ i ] * tmp2; in silk_warped_LPC_analysis_filter_FLP()
86 acc += coef[ order - 1 ] * tmp1; in silk_warped_LPC_analysis_filter_FLP()
/external/eigen/bench/btl/libs/ublas/
Dublas_interface.hh99 static inline void axpy_slow(const real coef, const gene_vector & X, gene_vector & Y, int N){ in axpy_slow() argument
100 Y+=coef*X; in axpy_slow()
117 static inline void axpy(const real coef, const gene_vector & X, gene_vector & Y, int N){ in axpy() argument
118 Y.plus_assign(coef*X); in axpy()
/external/speex/libspeex/
Dlsp_bfin.h39 spx_word16_t *coef, /* P or Q coefs in Q13 format */ in cheb_poly_eva() argument
81 : "a" (x), "a" (&coef[m]), "a" (m-1) in cheb_poly_eva()

123456