comparison lsp.h @ 10567:d4ca61e293a3 libavcodec

Make lsp2polyf() function non-static for upcoming usage in SIPR
author vitor
date Tue, 24 Nov 2009 16:58:50 +0000
parents f2f4d6fe3f6d
children d7808ddcbcee
comparison
equal deleted inserted replaced
10566:7ca185b4bc42 10567:d4ca61e293a3
102 * 102 *
103 * @note O(n) if data already sorted, O(n^2) - otherwise 103 * @note O(n) if data already sorted, O(n^2) - otherwise
104 */ 104 */
105 void ff_sort_nearly_sorted_floats(float *vals, int len); 105 void ff_sort_nearly_sorted_floats(float *vals, int len);
106 106
107 /**
108 * Computes the Pa / (1 + z(-1)) or Qa / (1 - z(-1)) coefficients
109 * needed for LSP to LPC conversion.
110 * We only need to calculate the 6 first elements of the polynomial.
111 *
112 * @param lsp line spectral pairs in cosine domain
113 * @param f [out] polynomial input/output as a vector
114 *
115 * TIA/EIA/IS-733 2.4.3.3.5-1/2
116 */
117 void ff_lsp2polyf(const double *lsp, double *f, int lp_half_order);
118
107 #endif /* AVCODEC_LSP_H */ 119 #endif /* AVCODEC_LSP_H */