123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- #ifndef AVCODEC_LSP_H
- #define AVCODEC_LSP_H
- #include <stdint.h>
- void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, int lsfq_max, int lp_order);
- void ff_set_min_dist_lsf(float *lsf, double min_spacing, int size);
- void ff_acelp_lsf2lsp(int16_t *lsp, const int16_t *lsf, int lp_order);
- void ff_acelp_lsf2lspd(double *lsp, const float *lsf, int lp_order);
- void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order);
- void ff_amrwb_lsp2lpc(const double *lsp, float *lp, int lp_order);
- void ff_acelp_lp_decode(int16_t* lp_1st, int16_t* lp_2nd, const int16_t* lsp_2nd, const int16_t* lsp_prev, int lp_order);
- #define MAX_LP_HALF_ORDER 10
- #define MAX_LP_ORDER (2*MAX_LP_HALF_ORDER)
- void ff_acelp_lspd2lpc(const double *lsp, float *lpc, int lp_half_order);
- void ff_sort_nearly_sorted_floats(float *vals, int len);
- void ff_lsp2polyf(const double *lsp, double *f, int lp_half_order);
- #endif
|