Lines Matching defs:subframe
56 double isp_sub4_past[LP_ORDER]; ///< ISP vector for the 4th subframe of the previous frame
60 uint8_t base_pitch_lag; ///< integer part of pitch lag for the next relative subframe
61 uint8_t pitch_lag_int; ///< integer part of pitch lag of the previous subframe
66 float pitch_vector[AMRWB_SFR_SIZE]; ///< adaptive codebook (pitch) vector for current subframe
67 float fixed_vector[AMRWB_SFR_SIZE]; ///< algebraic codebook (fixed) vector for current subframe
73 float tilt_coef; ///< {beta_1} related to the voicing of the previous subframe
240 * to obtain an ISP vector for each subframe.
242 * @param[in,out] isp_q ISPs for each subframe
243 * @param[in] isp4_past Past ISP for subframe 4
259 * In 1st and 3rd subframes the index is relative to last subframe integer lag.
265 * @param[in] subframe Current subframe index (0 to 3)
268 uint8_t *base_lag_int, int subframe)
270 if (subframe == 0 || subframe == 2) {
282 /* minimum lag for next subframe */
301 uint8_t *base_lag_int, int subframe, enum Mode mode)
303 if (subframe == 0 || (subframe == 2 && mode != MODE_6k60)) {
326 * @param[in] amr_subframe Current subframe data
327 * @param[in] subframe Current subframe index (0 to 3)
331 const int subframe)
340 &ctx->base_pitch_lag, subframe, mode);
343 &ctx->base_pitch_lag, subframe);
376 * positions and amplitudes (-1 or 1) in a subframe track using
1020 * @param[in] subframe Current subframe index (0 to 3)
1026 static void hb_synthesis(AMRWBContext *ctx, int subframe, float *samples,
1036 ctx->acelpv_ctx.weighted_vector_sumf(e_isf, isf_past, isf, isfp_inter[subframe],
1037 1.0 - isfp_inter[subframe], LP_ORDER);
1047 lpc_weighting(hb_lpc, ctx->lp_coef[subframe], 0.6, LP_ORDER);
1087 * Update context state before the next subframe.
1183 /* Generate a ISP vector for each subframe */
1194 const AMRWBSubFrame *cur_subframe = &cf->subframe[sub];
1217 /* Calculate voice factor and store tilt for next subframe */