Home
last modified time | relevance | path

Searched refs:lsfq (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlsp.c33 void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, int lsfq_max, int lp_… in ff_acelp_reorder_lsf() argument
40 for(j=i; j>=0 && lsfq[j] > lsfq[j+1]; j--) in ff_acelp_reorder_lsf()
41 FFSWAP(int16_t, lsfq[j], lsfq[j+1]); in ff_acelp_reorder_lsf()
45 lsfq[i] = FFMAX(lsfq[i], lsfq_min); in ff_acelp_reorder_lsf()
46 lsfq_min = lsfq[i] + lsfq_min_distance; in ff_acelp_reorder_lsf()
48 lsfq[lp_order-1] = FFMIN(lsfq[lp_order-1], lsfq_max);//Is warning required ? in ff_acelp_reorder_lsf()
Dg729dec.c114 int16_t lsfq[10]; ///< (2.13) quantized LSF coefficients from previous frame member
199 static void lsf_decode(int16_t* lsfq, int16_t* past_quantizer_outputs[MA_NP + 1], in lsf_decode() argument
227 lsfq[i] = sum >> 15; in lsf_decode()
230 ff_acelp_reorder_lsf(lsfq, LSFQ_DIFF_MIN, LSFQ_MIN, LSFQ_MAX, 10); in lsf_decode()
240 static void lsf_restore_from_previous(int16_t* lsfq, in lsf_restore_from_previous() argument
248 int tmp = lsfq[i] << 15; in lsf_restore_from_previous()
472 lsf_restore_from_previous(ctx->lsfq, ctx->past_quantizer_outputs, in decode_frame()
475 lsf_decode(ctx->lsfq, ctx->past_quantizer_outputs, in decode_frame()
486 ff_acelp_lsf2lsp(ctx->lsp[1], ctx->lsfq, 10); in decode_frame()
Dlsp.h40 void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, int lsfq_max, int lp_…