Home
last modified time | relevance | path

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

1234

/external/jpeg/
Djccoefct.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 …]
Djdcoefct.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 …]
Djctrans.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 …]
Djdapistd.c224 cinfo->coef->MCU_columns_to_skip = in jpeg_init_read_tile_scanline()
251 cinfo->inputctl->consume_input = cinfo->coef->consume_data; in jpeg_init_read_tile_scanline()
253 cinfo->coef->consume_data_build_huffman_index; in jpeg_init_read_tile_scanline()
257 cinfo->coef->MCU_column_left_boundary = col_left_boundary; in jpeg_init_read_tile_scanline()
258 cinfo->coef->MCU_column_right_boundary = col_right_boundary; in jpeg_init_read_tile_scanline()
259 cinfo->coef->column_left_boundary = in jpeg_init_read_tile_scanline()
261 cinfo->coef->column_right_boundary = in jpeg_init_read_tile_scanline()
288 int offset_data_col_position = cinfo->coef->MCU_column_left_boundary / in jpeg_read_tile_scanline()
332 if (! (*cinfo->coef->decompress_data) (cinfo, data)) in jpeg_read_raw_data()
Dmips_jidctfst.c131 #define DEQUANTIZE(coef,quantval) (((IFAST_MULT_TYPE) (coef)) * (quantval)) argument
133 #define DEQUANTIZE(coef,quantval) \
134 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jccoefct.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 …]
Dfpdfapi_jdcoefct.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 …]
Dfpdfapi_jctrans.c231 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local
238 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
240 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row()
241 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
243 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
246 coef->mcu_ctr = 0; in start_iMCU_row()
247 coef->MCU_vert_offset = 0; in start_iMCU_row()
258 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local
263 coef->iMCU_row_num = 0; in start_pass_coef()
281 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in compress_output() local
[all …]
/external/webrtc/src/common_audio/signal_processing/
Dresample.c318 WebRtc_Word16 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.c155 WebRtc_Word16 coef; in WebRtcSpl_ResampDotProduct() local
157 coef = coef_ptr[0]; in WebRtcSpl_ResampDotProduct()
158 tmp1 += coef * in1[0]; in WebRtcSpl_ResampDotProduct()
159 tmp2 += coef * in2[-0]; in WebRtcSpl_ResampDotProduct()
161 coef = coef_ptr[1]; in WebRtcSpl_ResampDotProduct()
162 tmp1 += coef * in1[1]; in WebRtcSpl_ResampDotProduct()
163 tmp2 += coef * in2[-1]; in WebRtcSpl_ResampDotProduct()
165 coef = coef_ptr[2]; in WebRtcSpl_ResampDotProduct()
166 tmp1 += coef * in1[2]; in WebRtcSpl_ResampDotProduct()
167 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/sonivox/arm-fm-22k/lib_src/
Deas_math.h125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument
128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \
143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument
146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \
283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument
286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_math.h125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument
128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \
143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument
146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \
283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument
286 ((EAS_I32)(dents)) * ((EAS_I32)(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()
Dldfiltbank.cpp174 const FIXP_WTB *coef; in InvMdctTransformLowDelay_fdk() local
180 coef = (FIXP_WTB*)LowDelaySynthesis512; in InvMdctTransformLowDelay_fdk()
182 coef = (FIXP_WTB*)LowDelaySynthesis480; in InvMdctTransformLowDelay_fdk()
201 multE2_DinvF_fdk(output, mdctData, coef, fs_buffer, N, stride); in InvMdctTransformLowDelay_fdk()
/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.cpp770 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; in FDKaacEnc_TnsDetect()
796 tnsInfo->coef[subBlockNumber][HIFILT], in FDKaacEnc_TnsDetect()
802 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { in FDKaacEnc_TnsDetect()
811 … sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; in FDKaacEnc_TnsDetect()
835 tnsInfo->coef[subBlockNumber][LOFILT], in FDKaacEnc_TnsDetect()
841 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { in FDKaacEnc_TnsDetect()
849 … sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i]; in FDKaacEnc_TnsDetect()
862 …sumSqrCoef += FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i] - tnsInfo->coef[subBlockNumber][LOFI… in FDKaacEnc_TnsDetect()
870 if (FDKabs(tnsInfo->coef[subBlockNumber][HIFILT][i]) > 1) { in FDKaacEnc_TnsDetect()
875 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/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()
/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/libvpx/libvpx/test/
Dpartial_idct_test.cc172 int16_t coef = static_cast<int16_t>(sqrt(1.0 * max_energy_leftover) * in TEST_P() local
174 max_energy_leftover -= coef * coef; in TEST_P()
177 coef = 0; in TEST_P()
179 test_coef_block1[vp9_default_scan_orders[tx_size_].scan[j]] = coef; in TEST_P()

1234