Home
last modified time | relevance | path

Searched refs:coefs (Results 1 - 25 of 40) sorted by relevance

12

/third_party/libsnd/src/ALAC/
H A Ddp_enc.c45 init_coefs (int16_t * coefs, uint32_t denshift, int32_t numPairs) in init_coefs() argument
50 coefs [0] = (AINIT * den) >> 4 ; in init_coefs()
51 coefs [1] = (BINIT * den) >> 4 ; in init_coefs()
52 coefs [2] = (CINIT * den) >> 4 ; in init_coefs()
54 coefs [k] = 0 ; in init_coefs()
75 pc_block (int32_t * in, int32_t * pc1, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) in pc_block() argument
118 a0 = coefs [0] ; in pc_block()
119 a1 = coefs [1] ; in pc_block()
120 a2 = coefs [2] ; in pc_block()
121 a3 = coefs [ in pc_block()
[all...]
H A Ddp_dec.c55 unpc_block (const int32_t * pc1, int32_t * out, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) in unpc_block() argument
111 ia0 = coefs [0] ; in unpc_block()
112 ia1 = coefs [1] ; in unpc_block()
113 ia2 = coefs [2] ; in unpc_block()
114 ia3 = coefs [3] ; in unpc_block()
184 coefs [0] = ia0 ; in unpc_block()
185 coefs [1] = ia1 ; in unpc_block()
186 coefs [2] = ia2 ; in unpc_block()
187 coefs [3] = ia3 ; in unpc_block()
195 a0 = coefs [ in unpc_block()
[all...]
H A Ddplib.h49 void init_coefs (int16_t * coefs, uint32_t denshift, int32_t numPairs) ;
54 void pc_block (int32_t * in, int32_t * pc, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) ;
55 void unpc_block (const int32_t * pc, int32_t * out, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) ;
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
H A Djcphuff-neon.c147 int16x8_t coefs = vdupq_n_s16(0); in jsimd_encode_mcu_AC_first_prepare_neon() local
151 coefs = vld1q_lane_s16(block + jpeg_natural_order_start[7], coefs, 7); in jsimd_encode_mcu_AC_first_prepare_neon()
153 coefs = vld1q_lane_s16(block + jpeg_natural_order_start[6], coefs, 6); in jsimd_encode_mcu_AC_first_prepare_neon()
155 coefs = vld1q_lane_s16(block + jpeg_natural_order_start[5], coefs, 5); in jsimd_encode_mcu_AC_first_prepare_neon()
157 coefs = vld1q_lane_s16(block + jpeg_natural_order_start[4], coefs, 4); in jsimd_encode_mcu_AC_first_prepare_neon()
159 coefs in jsimd_encode_mcu_AC_first_prepare_neon()
387 int16x8_t coefs = vdupq_n_s16(0); jsimd_encode_mcu_AC_refine_prepare_neon() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dflacdsp_lpc_template.c42 int c = coefs[(x)-1]; \
50 const int32_t *coefs, int shift, int big) in lpc_encode_unrolled()
109 int order, const int32_t *coefs, int shift) in flac_lpc_encode_c()
120 int c = coefs[j]; in flac_lpc_encode_c()
130 case 1: FUNC(lpc_encode_unrolled)(res, smp, len, 1, coefs, shift, 0); break; in flac_lpc_encode_c()
131 case 2: FUNC(lpc_encode_unrolled)(res, smp, len, 2, coefs, shift, 0); break; in flac_lpc_encode_c()
132 case 3: FUNC(lpc_encode_unrolled)(res, smp, len, 3, coefs, shift, 0); break; in flac_lpc_encode_c()
133 case 4: FUNC(lpc_encode_unrolled)(res, smp, len, 4, coefs, shift, 0); break; in flac_lpc_encode_c()
134 case 5: FUNC(lpc_encode_unrolled)(res, smp, len, 5, coefs, shift, 0); break; in flac_lpc_encode_c()
135 case 6: FUNC(lpc_encode_unrolled)(res, smp, len, 6, coefs, shif in flac_lpc_encode_c()
48 lpc_encode_unrolled(int32_t *res, const int32_t *smp, int len, int order, const int32_t *coefs, int shift, int big) lpc_encode_unrolled() argument
108 flac_lpc_encode_c(int32_t *res, const int32_t *smp, int len, int order, const int32_t *coefs, int shift) flac_lpc_encode_c() argument
[all...]
H A Dra144enc.c128 * @param coefs coefficients of the LPC filter
136 static void get_match_score(float *work, const float *coefs, float *vect, in get_match_score() argument
143 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in get_match_score()
188 * @param coefs coefficients of the LPC filter
193 const float *coefs, float *data) in adaptive_cb_search()
202 get_match_score(work, coefs, exc, NULL, NULL, data, &score, &gain); in adaptive_cb_search()
217 ff_celp_lp_synthesis_filterf(work, coefs, exc, BLOCKSIZE, LPC_ORDER); in adaptive_cb_search()
230 * @param coefs coefficients of the LPC filter
240 static void find_best_vect(float *work, const float *coefs, in find_best_vect() argument
253 get_match_score(work, coefs, vec in find_best_vect()
192 adaptive_cb_search(const int16_t *adapt_cb, float *work, const float *coefs, float *data) adaptive_cb_search() argument
275 fixed_cb_search(float *work, const float *coefs, float *data, int cba_idx, int *cb1_idx, int *cb2_idx) fixed_cb_search() argument
330 float coefs[LPC_ORDER]; ra144_encode_subblock() local
[all...]
H A Dwmaenc.c128 mdct->mdct_calc(mdct, s->coefs[ch], s->output); in apply_window_and_mdct()
129 if (!isfinite(s->coefs[ch][0])) { in apply_window_and_mdct()
242 float *coefs, *exponents, mult; in encode_block() local
249 coefs = src_coefs[ch]; in encode_block()
253 coefs += s->coefs_start; in encode_block()
256 double t = *coefs++ / (exponents[i] * mult); in encode_block()
393 a = s->coefs[0][i] * 0.5; in encode_superframe()
394 b = s->coefs[1][i] * 0.5; in encode_superframe()
395 s->coefs[0][i] = a + b; in encode_superframe()
396 s->coefs[ in encode_superframe()
[all...]
H A Daacdec_fixed.c153 static void vector_pow43(int *coefs, int len) in vector_pow43() argument
158 coef = coefs[i]; in vector_pow43()
163 coefs[i] = coef; in vector_pow43()
198 static void noise_scale(int *coefs, int scale, int band_energy, int len) in noise_scale() argument
215 coefs[i] = 0; in noise_scale()
220 out = (int)(((int64_t)coefs[i] * c) >> 32); in noise_scale()
221 coefs[i] = -((int)(out+round) >> s); in noise_scale()
229 out = (int)((int64_t)((int64_t)coefs[i] * c + round) >> s); in noise_scale()
230 coefs[i] = -out; in noise_scale()
234 coefs[ in noise_scale()
[all...]
H A Dra144.c1545 int ff_eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx) in ff_eval_refl() argument
1554 buffer2[i] = coefs[i]; in ff_eval_refl()
1593 void ff_eval_coefs(int *coefs, const int *refl) in ff_eval_coefs() argument
1597 int *b2 = coefs; in ff_eval_coefs()
1610 coefs[i] >>= 4; in ff_eval_coefs()
H A Dwmadec.c639 float *coefs, *exponents, mult, mult1, noise; in wma_decode_block() local
648 coefs = s->coefs[ch]; in wma_decode_block()
653 *coefs++ = s->noise_table[s->noise_index] * in wma_decode_block()
700 *coefs++ = noise * exponents[i << bsize >> esize] * mult1; in wma_decode_block()
708 *coefs++ = ((*coefs1++) + noise) * in wma_decode_block()
719 *coefs++ = s->noise_table[s->noise_index] * mult1; in wma_decode_block()
725 *coefs++ = 0.0; in wma_decode_block()
728 *coefs++ = coefs1[i] * exponents[i << bsize >> esize] * mult; in wma_decode_block()
731 *coefs in wma_decode_block()
[all...]
H A Dflacdsp.h34 const int32_t coefs[32], int shift);
36 const int32_t coefs[32], int shift);
H A Dra144.h70 int ff_eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx);
71 void ff_eval_coefs(int *coefs, const int *refl);
H A Dflacenc.c86 int32_t coefs[MAX_LPC_ORDER]; member
795 int32_t coefs[MAX_LPC_ORDER][MAX_LPC_ORDER]; in encode_residual_ch() local
853 s->options.lpc_coeff_precision, coefs, shift, s->options.lpc_type, in encode_residual_ch()
873 s->flac_dsp.lpc16_encode(res, smp, n, order+1, coefs[order], in encode_residual_ch()
876 s->flac_dsp.lpc32_encode(res, smp, n, order+1, coefs[order], in encode_residual_ch()
893 s->flac_dsp.lpc16_encode(res, smp, n, i+1, coefs[i], shift[i]); in encode_residual_ch()
895 s->flac_dsp.lpc32_encode(res, smp, n, i+1, coefs[i], shift[i]); in encode_residual_ch()
915 s->flac_dsp.lpc32_encode(res, smp, n, i+1, coefs[i], shift[i]); in encode_residual_ch()
917 s->flac_dsp.lpc16_encode(res, smp, n, i+1, coefs[i], shift[i]); in encode_residual_ch()
948 lpc_try[i] = av_clip(coefs[opt_orde in encode_residual_ch()
[all...]
H A Daacenc_tns.c165 double gain, coefs[MAX_LPC_ORDER]; in ff_aac_search_for_tns() local
197 coef_len, order, coefs); in ff_aac_search_for_tns()
207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
H A Dlpc.c204 int32_t coefs[][MAX_LPC_ORDER], int *shift, in ff_lpc_calc_coefs()
289 quantize_lpc_coefs(lpc[i], i+1, precision, coefs[i], &shift[i], in ff_lpc_calc_coefs()
293 quantize_lpc_coefs(lpc[i], i+1, precision, coefs[i], &shift[i], in ff_lpc_calc_coefs()
201 ff_lpc_calc_coefs(LPCContext *s, const int32_t *samples, int blocksize, int min_order, int max_order, int precision, int32_t coefs[][MAX_LPC_ORDER], int *shift, enum FFLPCType lpc_type, int lpc_passes, int omethod, int min_shift, int max_shift, int zero_shift) ff_lpc_calc_coefs() argument
H A Dvc1dec.c62 int coefs[2][7]; member
114 vc1_sprite_parse_transform(gb, sd->coefs[sprite]); in vc1_parse_sprites()
115 if (sd->coefs[sprite][1] || sd->coefs[sprite][3]) in vc1_parse_sprites()
120 sd->coefs[sprite][i] / (1<<16), in vc1_parse_sprites()
121 (abs(sd->coefs[sprite][i]) & 0xFFFF) * 1000 / (1 << 16)); in vc1_parse_sprites()
139 if (sd->effect_type != 13 || sd->effect_params1[0] != sd->coefs[0][6]) { in vc1_parse_sprites()
189 xoff[i] = av_clip(sd->coefs[i][2], 0, v->sprite_width-1 << 16); in vc1_draw_sprites()
190 xadv[i] = sd->coefs[i][0]; in vc1_draw_sprites()
194 yoff[i] = av_clip(sd->coefs[ in vc1_draw_sprites()
[all...]
H A Dsiren.c575 int *power_categories, float *coefs, int scale_factor) in decode_vector()
592 coefs_ptr = coefs + (region * REGION_SIZE); in decode_vector()
645 coefs_ptr = coefs + (region * REGION_SIZE); in decode_vector()
683 coefs_ptr = coefs + (region * REGION_SIZE); in decode_vector()
573 decode_vector(SirenContext *s, int number_of_regions, float *decoder_standard_deviation, int *power_categories, float *coefs, int scale_factor) decode_vector() argument
/third_party/ffmpeg/libavfilter/
H A Dvf_hqdn3d.c220 av_freep(&s->coefs[0]); in uninit()
221 av_freep(&s->coefs[1]); in uninit()
222 av_freep(&s->coefs[2]); in uninit()
223 av_freep(&s->coefs[3]); in uninit()
251 precalc_coefs(s->strength[i], s->depth, s->coefs[i]); in calc_coefs()
274 s->coefs[i] = av_malloc((512<<LUT_BITS) * sizeof(int16_t)); in config_input()
275 if (!s->coefs[i]) in config_input()
306 s->coefs[job_nr ? CHROMA_SPATIAL : LUMA_SPATIAL], in do_denoise()
307 s->coefs[job_nr ? CHROMA_TMP : LUMA_TMP]); in do_denoise()
H A Daf_mcompand.c64 double coefs[3 *(N+1)]; member
301 square_quadratic(x , p->coefs); in crossover_setup()
302 square_quadratic(x + 3, p->coefs + 5); in crossover_setup()
303 square_quadratic(x + 6, p->coefs + 10); in crossover_setup()
476 #define _ out_low += p->coefs[j] * p->previous[ch][p->pos + j].in \ in crossover()
477 - p->coefs[2*N+2 + j] * p->previous[ch][p->pos + j].out_low, j++; in crossover()
480 out_low = p->coefs[0] * *ibuf; in crossover()
485 #define _ out_high += p->coefs[j+N+1] * p->previous[ch][p->pos + j].in \ in crossover()
486 - p->coefs[2*N+2 + j] * p->previous[ch][p->pos + j].out_high, j++; in crossover()
489 out_high = p->coefs[ in crossover()
[all...]
H A Dasrc_sinc.c140 static const float coefs[][4] = { in kaiser_beta() local
153 float const *c0 = coefs[av_clip((int)realm, 0, FF_ARRAY_ELEMS(coefs) - 1)]; in kaiser_beta()
154 float const *c1 = coefs[av_clip(1 + (int)realm, 0, FF_ARRAY_ELEMS(coefs) - 1)]; in kaiser_beta()
H A Dvf_hqdn3d.h33 int16_t *coefs[4]; member
/third_party/ffmpeg/libswresample/
H A Ddither.c115 for (i=0; filters[i].coefs; i++) { in swri_dither_init()
121 s->dither.ns_coeffs[j] = f->coefs[j]; in swri_dither_init()
126 if (!filters[i].coefs && s->dither.method > SWR_DITHER_NS) { in swri_dither_init()
H A Dnoise_shaping_data.c23 double const * coefs; member
/third_party/ffmpeg/libavcodec/x86/
H A Dflac_dsp_gpl.asm29 cglobal flac_enc_lpc_16, 5, 7, 8, 0, res, smp, len, order, coefs
35 cglobal flac_enc_lpc_16, 5, 6, 8, 0, res, smp, len, order, coefs
68 movd m2, [coefsq+posj*4] ; c = coefs[j]
/third_party/ffmpeg/libavcodec/mips/
H A Daacpsy_mips.h65 const float *coefs, const int cutoff) in calc_thr_3gpp_mips()
81 float *cf = (float *)&coefs[start+i]; in calc_thr_3gpp_mips()
63 calc_thr_3gpp_mips(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch, const uint8_t *band_sizes, const float *coefs, const int cutoff) calc_thr_3gpp_mips() argument

Completed in 19 milliseconds

12