comparison lsp.h @ 10517:5317dff91b48 libavcodec

Use doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this function with no change in output.
author vitor
date Wed, 11 Nov 2009 11:00:50 +0000
parents a1d84a5cf21d
children f2f4d6fe3f6d
comparison
equal deleted inserted replaced
10516:f59203839b77 10517:5317dff91b48
48 * 48 *
49 * @param[in,out] lsf LSFs in Hertz 49 * @param[in,out] lsf LSFs in Hertz
50 * @param min_spacing minimum distance between two consecutive lsf values 50 * @param min_spacing minimum distance between two consecutive lsf values
51 * @param size size of the lsf vector 51 * @param size size of the lsf vector
52 */ 52 */
53 void ff_set_min_dist_lsf(float *lsf, float min_spacing, int order); 53 void ff_set_min_dist_lsf(float *lsf, double min_spacing, int order);
54 54
55 /** 55 /**
56 * \brief Convert LSF to LSP 56 * \brief Convert LSF to LSP
57 * \param lsp [out] LSP coefficients (-0x8000 <= (0.15) < 0x8000) 57 * \param lsp [out] LSP coefficients (-0x8000 <= (0.15) < 0x8000)
58 * \param lsf normalized LSF coefficients (0 <= (2.13) < 0x2000 * PI) 58 * \param lsf normalized LSF coefficients (0 <= (2.13) < 0x2000 * PI)