Home
last modified time | relevance | path

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

123456

/external/libjpeg-turbo/
Djccoefct.c73 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local
80 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
82 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows - 1)) in start_iMCU_row()
83 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
88 coef->mcu_ctr = 0; in start_iMCU_row()
89 coef->MCU_vert_offset = 0; in start_iMCU_row()
100 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_pass_coef() local
102 coef->iMCU_row_num = 0; in start_pass_coef()
107 if (coef->whole_image[0] != NULL) in start_pass_coef()
[all …]
Djctrans.c242 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local
249 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
251 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows - 1)) in start_iMCU_row()
252 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
254 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
257 coef->mcu_ctr = 0; in start_iMCU_row()
258 coef->MCU_vert_offset = 0; in start_iMCU_row()
269 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_pass_coef() local
274 coef->iMCU_row_num = 0; in start_pass_coef()
292 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in compress_output() local
[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 …]
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/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/libldac/src/
Dmdct_fixp_ldac.c29 INT32 coef, index0, index1, offset; in proc_mdct_core_ldac() local
74 coef = 0; in proc_mdct_core_ldac()
84 g0 = mul_rsftrnd_ldac(a_work[index1], p_c[coef], LDAC_Q_MDCT_COS+1); in proc_mdct_core_ldac()
85 g1 = mul_rsftrnd_ldac(a_work[index1+1], p_s[coef], LDAC_Q_MDCT_SIN+1); in proc_mdct_core_ldac()
88 g0 = mul_rsftrnd_ldac(a_work[index1], p_s[coef], LDAC_Q_MDCT_SIN+1); in proc_mdct_core_ldac()
89 g1 = mul_rsftrnd_ldac(a_work[index1+1], p_c[coef], LDAC_Q_MDCT_COS+1); in proc_mdct_core_ldac()
102 coef++; in proc_mdct_core_ldac()
106 coef -= loop2; in proc_mdct_core_ldac()
108 coef += loop2; in proc_mdct_core_ldac()
114 g0 = mul_rsftrnd_ldac(a_work[index0], p_c[coef], LDAC_Q_MDCT_COS+shift); in proc_mdct_core_ldac()
[all …]
Dmdct_ldac.c29 int coef, index0, index1, offset; in proc_mdct_core_ldac() local
52 coef = 0; in proc_mdct_core_ldac()
61 cc = p_c[coef]; in proc_mdct_core_ldac()
62 cs = p_s[coef++]; in proc_mdct_core_ldac()
83 cc = p_c[coef]; in proc_mdct_core_ldac()
84 cs = p_s[coef++]; in proc_mdct_core_ldac()
/external/libopus/silk/arm/
DNSQ_neon.h82 …back_loop_neon(const opus_int32 *data0, opus_int32 *data1, const opus_int16 *coef, opus_int order);
86 #define silk_noise_shape_quantizer_short_prediction(in, coef, coefRev, order, arch) \ argument
90 …pe_feedback_loop(data0, data1, coef, order, arch) ((void)arch,silk_NSQ_noise_shape_feedback_loop_… argument
97 #define silk_noise_shape_quantizer_short_prediction(in, coef, coefRev, order, arch) \ argument
100 silk_noise_shape_quantizer_short_prediction_c(in, coef, order))
104 const opus_int32 *data0, opus_int32 *data1, const opus_int16 *coef,
108 #define silk_NSQ_noise_shape_feedback_loop(data0, data1, coef, order, arch) \ argument
110 coef, order))
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c101 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS]; member
453 struct tgsi_interp_coef *coef, in const_coeff() argument
458 coef->dadx[i] = 0; in const_coeff()
459 coef->dady[i] = 0; in const_coeff()
463 coef->a0[i] = setup->vprovoke[vertSlot][i]; in const_coeff()
474 struct tgsi_interp_coef *coef, in tri_linear_coeff() argument
487 coef->dadx[i] = dadx; in tri_linear_coeff()
488 coef->dady[i] = dady; in tri_linear_coeff()
502 coef->a0[i] = (v[0] - in tri_linear_coeff()
519 struct tgsi_interp_coef *coef, in tri_persp_coeff() argument
[all …]
Dsp_fs_exec.c77 setup_pos_vector(const struct tgsi_interp_coef *coef, in setup_pos_vector() argument
96 const float dadx = coef->dadx[chan]; in setup_pos_vector()
97 const float dady = coef->dady[chan]; in setup_pos_vector()
98 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector()
/external/libopus/silk/
DNSQ.h65 …antizer_short_prediction(in, coef, coefRev, order, arch) ((void)arch,silk_noise_shape_quantizer_s… argument
67 …feedback_loop_c(const opus_int32 *data0, opus_int32 *data1, const opus_int16 *coef, opus_int order) in silk_NSQ_noise_shape_feedback_loop_c() argument
78 out = silk_SMLAWB(out, tmp2, coef[0]); in silk_NSQ_noise_shape_feedback_loop_c()
83 out = silk_SMLAWB(out, tmp1, coef[j - 1]); in silk_NSQ_noise_shape_feedback_loop_c()
86 out = silk_SMLAWB(out, tmp2, coef[j]); in silk_NSQ_noise_shape_feedback_loop_c()
89 out = silk_SMLAWB(out, tmp1, coef[order - 1]); in silk_NSQ_noise_shape_feedback_loop_c()
95 …hape_feedback_loop(data0, data1, coef, order, arch) ((void)arch,silk_NSQ_noise_shape_feedback_loo… argument
DVAD.c310 opus_int coef, min_coef; in silk_VAD_GetNoiseLevels() local
336 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 >> 3; in silk_VAD_GetNoiseLevels()
338 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16; in silk_VAD_GetNoiseLevels()
340 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 ); in silk_VAD_GetNoiseLevels()
344 coef = silk_max_int( coef, min_coef ); in silk_VAD_GetNoiseLevels()
347 …VAD->inv_NL[ k ] = silk_SMLAWB( psSilk_VAD->inv_NL[ k ], inv_nrg - psSilk_VAD->inv_NL[ k ], coef ); in silk_VAD_GetNoiseLevels()
/external/libxaac/decoder/
Dixheaacd_block.h81 VOID ixheaacd_over_lap_add1_dec(WORD32 *coef, WORD32 *prev, WORD16 *out,
85 VOID ixheaacd_over_lap_add1_armv7(WORD32 *coef, WORD32 *prev, WORD16 *out,
89 VOID ixheaacd_over_lap_add1_armv8(WORD32 *coef, WORD32 *prev, WORD16 *out,
93 VOID ixheaacd_over_lap_add2_dec(WORD32 *coef, WORD32 *prev, WORD32 *out,
97 VOID ixheaacd_over_lap_add2_armv7(WORD32 *coef, WORD32 *prev, WORD32 *out,
101 VOID ixheaacd_over_lap_add2_armv8(WORD32 *coef, WORD32 *prev, WORD32 *out,
140 VOID ixheaacd_neg_shift_spec_dec(WORD32 *coef, WORD16 *out, WORD16 q_shift,
143 VOID ixheaacd_neg_shift_spec_armv7(WORD32 *coef, WORD16 *out, WORD16 q_shift,
146 VOID ixheaacd_neg_shift_spec_armv8(WORD32 *coef, WORD16 *out, WORD16 q_shift,
149 VOID ixheaacd_nolap1_32(WORD32 *coef, WORD32 *out, WORD16 cu_scale,
[all …]
Dixheaacd_arith_dec.c1925 static VOID ixheaacd_esc_iquant(WORD32 *q, WORD32 *coef, WORD32 noise_level, in ixheaacd_esc_iquant() argument
1939 coef[i] = (ixheaacd_randomsign_fix(seed_value) * noise_level); in ixheaacd_esc_iquant()
1940 temp = (fac_fix * coef[i]); in ixheaacd_esc_iquant()
1941 coef[i] = (WORD32)(temp >> 25); in ixheaacd_esc_iquant()
1956 coef[i] = flag * ixheaacd_pow_table_Q13[q[i]]; in ixheaacd_esc_iquant()
1962 coef[i] = ixheaacd_pow_table_Q13[q1 + 1] - ixheaacd_pow_table_Q13[q1]; in ixheaacd_esc_iquant()
1964 coef[i] = (WORD32)(coef[i] * (WORD32)interp); in ixheaacd_esc_iquant()
1966 coef[i] = coef[i] + (ixheaacd_pow_table_Q13[q1] << 3); in ixheaacd_esc_iquant()
1968 coef[i] = flag * (coef[i] << 1); in ixheaacd_esc_iquant()
1970 temp = ixheaacd_mult64_sat(fac_fix, (WORD64)coef[i]); in ixheaacd_esc_iquant()
[all …]
/external/aac/libAACdec/src/
Dldfiltbank.cpp221 const FIXP_WTB *coef; in InvMdctTransformLowDelay_fdk() local
231 coef = LowDelaySynthesis256; in InvMdctTransformLowDelay_fdk()
234 coef = LowDelaySynthesis240; in InvMdctTransformLowDelay_fdk()
237 coef = LowDelaySynthesis160; in InvMdctTransformLowDelay_fdk()
240 coef = LowDelaySynthesis128; in InvMdctTransformLowDelay_fdk()
243 coef = LowDelaySynthesis120; in InvMdctTransformLowDelay_fdk()
246 coef = LowDelaySynthesis512; in InvMdctTransformLowDelay_fdk()
250 coef = LowDelaySynthesis480; in InvMdctTransformLowDelay_fdk()
280 multE2_DinvF_fdk(output, mdctData, coef, fs_buffer, N); in InvMdctTransformLowDelay_fdk()
Dpulsedata.cpp149 FIXP_DBL *coef) /*!< pointer to spectrum */ in CPulseData_Apply() argument
158 if (coef[k] > (FIXP_DBL)0) in CPulseData_Apply()
159 coef[k] += (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()
161 coef[k] -= (FIXP_DBL)(int)PulseData->PulseAmp[i]; in CPulseData_Apply()
Daacdec_tns.cpp205 UCHAR coef, s_mask; in CTns_Read() local
222 coef = (UCHAR)FDKreadBits(bs, filter->Resolution - coef_compress); in CTns_Read()
223 filter->Coeff[i] = (coef & s_mask) ? (coef | n_mask) : coef; in CTns_Read()
/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/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/python/rsa/rsa/
Dkey.py382 self.coef = rsa.common.inverse(q, p)
392 return self.n, self.e, self.d, self.p, self.q, self.exp1, self.exp2, self.coef
396 self.n, self.e, self.d, self.p, self.q, self.exp1, self.exp2, self.coef = state
412 self.coef == other.coef)
418 return hash((self.n, self.e, self.d, self.p, self.q, self.exp1, self.exp2, self.coef))
497 exp1, exp2, coef = map(int, priv[6:9])
499 if (key.exp1, key.exp2, key.coef) != (exp1, exp2, coef):
542 asn_key.setComponentByName('coefficient', self.coef)
/external/aac/libAACenc/src/
Daacenc_tns.cpp795 tnsInfo->coef[subBlockNumber][HIFILT][i] = in FDKaacEnc_TnsDetect()
796 tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; in FDKaacEnc_TnsDetect()
825 FDKaacEnc_Parcor2Index(parcor_tmp, tnsInfo->coef[subBlockNumber][HIFILT], in FDKaacEnc_TnsDetect()
831 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
840 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * in FDKaacEnc_TnsDetect()
841 tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
878 tnsInfo->coef[subBlockNumber][LOFILT], in FDKaacEnc_TnsDetect()
884 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { in FDKaacEnc_TnsDetect()
892 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * in FDKaacEnc_TnsDetect()
893 tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
[all …]
/external/scapy/scapy/modules/
Dp0f.py426 coef = int(opt[2:])
427 if mss_hint is not None and mss_hint % coef == 0:
431 'MSS', coef*random.randint(1, maxmss//coef)))
443 coef = int(opt[2:])
444 if wscale_hint is not None and wscale_hint % coef == 0:
448 'WScale', coef*RandNum(min=1, max=(2**8-1)//coef)))
503 coef = int(pers[0][1:])
504 pkt.payload.window = coef * RandNum(min=1, max=(2**16-1)//coef)
/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()
433 opus_val16 coef; in unquant_coarse_energy() local
440 coef = 0; in unquant_coarse_energy()
444 coef = pred_coef[LM]; in unquant_coarse_energy()
483 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7); in unquant_coarse_energy()
/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()

123456