comparison lsp.h @ 10557:f2f4d6fe3f6d libavcodec

Make sorting function used in TwinVQ a shared function
author vitor
date Sun, 22 Nov 2009 22:25:58 +0000
parents 5317dff91b48
children d4ca61e293a3
comparison
equal deleted inserted replaced
10556:54e322044750 10557:f2f4d6fe3f6d
95 * 95 *
96 * TIA/EIA/IS-733 2.4.3.3.5 96 * TIA/EIA/IS-733 2.4.3.3.5
97 */ 97 */
98 void ff_acelp_lspd2lpc(const double *lsp, float *lpc, int lp_half_order); 98 void ff_acelp_lspd2lpc(const double *lsp, float *lpc, int lp_half_order);
99 99
100 /**
101 * Sort values in ascending order.
102 *
103 * @note O(n) if data already sorted, O(n^2) - otherwise
104 */
105 void ff_sort_nearly_sorted_floats(float *vals, int len);
106
100 #endif /* AVCODEC_LSP_H */ 107 #endif /* AVCODEC_LSP_H */