Mercurial > libavcodec.hg
comparison lsp.h @ 12024:fdafbcef52f5 libavcodec
Fix grammar errors in documentation
author | mru |
---|---|
date | Wed, 30 Jun 2010 15:38:06 +0000 |
parents | d7808ddcbcee |
children | c69dd071f7d4 |
comparison
equal
deleted
inserted
replaced
12023:c7455450364d | 12024:fdafbcef52f5 |
---|---|
83 | 83 |
84 #define MAX_LP_HALF_ORDER 8 | 84 #define MAX_LP_HALF_ORDER 8 |
85 #define MAX_LP_ORDER (2*MAX_LP_HALF_ORDER) | 85 #define MAX_LP_ORDER (2*MAX_LP_HALF_ORDER) |
86 | 86 |
87 /** | 87 /** |
88 * Reconstructs LPC coefficients from the line spectral pair frequencies. | 88 * Reconstruct LPC coefficients from the line spectral pair frequencies. |
89 * | 89 * |
90 * @param lsp line spectral pairs in cosine domain | 90 * @param lsp line spectral pairs in cosine domain |
91 * @param lpc linear predictive coding coefficients | 91 * @param lpc linear predictive coding coefficients |
92 * @param lp_half_order half the number of the amount of LPCs to be | 92 * @param lp_half_order half the number of the amount of LPCs to be |
93 * reconstructed, need to be smaller or equal to MAX_LP_HALF_ORDER | 93 * reconstructed, need to be smaller or equal to MAX_LP_HALF_ORDER |
104 * @note O(n) if data already sorted, O(n^2) - otherwise | 104 * @note O(n) if data already sorted, O(n^2) - otherwise |
105 */ | 105 */ |
106 void ff_sort_nearly_sorted_floats(float *vals, int len); | 106 void ff_sort_nearly_sorted_floats(float *vals, int len); |
107 | 107 |
108 /** | 108 /** |
109 * Computes the Pa / (1 + z(-1)) or Qa / (1 - z(-1)) coefficients | 109 * Compute the Pa / (1 + z(-1)) or Qa / (1 - z(-1)) coefficients |
110 * needed for LSP to LPC conversion. | 110 * needed for LSP to LPC conversion. |
111 * We only need to calculate the 6 first elements of the polynomial. | 111 * We only need to calculate the 6 first elements of the polynomial. |
112 * | 112 * |
113 * @param lsp line spectral pairs in cosine domain | 113 * @param lsp line spectral pairs in cosine domain |
114 * @param f [out] polynomial input/output as a vector | 114 * @param f [out] polynomial input/output as a vector |