Searched refs:fixed_vector (Results 1 - 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | amrwbdec.c | 67 float fixed_vector[AMRWB_SFR_SIZE]; ///< algebraic codebook (fixed) vector for current subframe member 498 * @param[out] fixed_vector Buffer for the fixed codebook excitation 503 static void decode_fixed_vector(float *fixed_vector, const uint16_t *pulse_hi, in decode_fixed_vector() argument 556 memset(fixed_vector, 0, sizeof(float) * AMRWB_SFR_SIZE); in decode_fixed_vector() 562 fixed_vector[pos] += sig_pos[i][j] < 0 ? -1.0 : 1.0; in decode_fixed_vector() 588 * @param[in,out] fixed_vector Fixed codebook excitation 592 static void pitch_sharpening(AMRWBContext *ctx, float *fixed_vector) in pitch_sharpening() argument 598 fixed_vector[i] -= fixed_vector[i - 1] * ctx->tilt_coef; in pitch_sharpening() 602 fixed_vector[ in pitch_sharpening() 638 anti_sparseness(AMRWBContext *ctx, float *fixed_vector, float *buf) anti_sparseness() argument 753 pitch_enhancer(float *fixed_vector, float voice_fac) pitch_enhancer() argument 781 synthesis(AMRWBContext *ctx, float *lpc, float *excitation, float fixed_gain, const float *fixed_vector, float *samples) synthesis() argument [all...] |
H A D | sipr16k.c | 184 float fixed_vector[L_SUBFR_16k]; in ff_sipr_decode_frame_16k() local 234 memset(fixed_vector, 0, sizeof(fixed_vector)); in ff_sipr_decode_frame_16k() 239 ff_set_fixed_vector(fixed_vector, &f, 1.0, L_SUBFR_16k); in ff_sipr_decode_frame_16k() 243 acelp_decode_gain_codef(sqrt(L_SUBFR_16k), fixed_vector, in ff_sipr_decode_frame_16k() 252 fixed_vector, pitch_fac, in ff_sipr_decode_frame_16k()
|
H A D | sipr.c | 181 float *fixed_vector) in pitch_sharpening() 186 fixed_vector[i] += beta * fixed_vector[i - pitch_lag_int]; in pitch_sharpening() 392 float fixed_vector[SUBFR_SIZE]; in decode_frame() local 412 convolute_with_sparse(fixed_vector, &fixed_cb, impulse_response, in decode_frame() 415 avg_energy = (0.01 + avpriv_scalarproduct_float_c(fixed_vector, in decode_frame() 416 fixed_vector, in decode_frame() 427 ff_weighted_vector_sumf(excitation, excitation, fixed_vector, in decode_frame() 438 fixed_vector[j] = excitation[j] - gain_code * fixed_vector[ in decode_frame() 180 pitch_sharpening(int pitch_lag_int, float beta, float *fixed_vector) pitch_sharpening() argument [all...] |
H A D | amrnbdec.c | 121 float fixed_vector[AMR_SUBFRAME_SIZE]; ///< algebraic codebook (fixed) vector (must be kept zero between frames) member 725 * @param fixed_vector unfiltered fixed vector 730 const float *fixed_vector, in anti_sparseness() 774 fixed_vector = out; in anti_sparseness() 781 return fixed_vector; in anti_sparseness() 796 * @param fixed_vector algebraic codebook vector 801 float fixed_gain, const float *fixed_vector, in synthesis() 813 p->acelpv_ctx.weighted_vector_sumf(excitation, p->pitch_vector, fixed_vector, in synthesis() 1024 ff_set_fixed_vector(p->fixed_vector, &fixed_sparse, 1.0, in amrnb_decode_frame() 1029 p->celpm_ctx.dot_productf(p->fixed_vector, in amrnb_decode_frame() 729 anti_sparseness(AMRContext *p, AMRFixed *fixed_sparse, const float *fixed_vector, float fixed_gain, float *out) anti_sparseness() argument 800 synthesis(AMRContext *p, float *lpc, float fixed_gain, const float *fixed_vector, float *samples, uint8_t overflow) synthesis() argument [all...] |
Completed in 6 milliseconds