[soc]: r4853 - amr/amr-ffmpeg.diff
Author: cmcq Date: Fri Jul 31 03:59:27 2009 New Revision: 4853 Log: Add libavcodec/celp_filters.h to amr-ffmpeg.diff (wrongly omitted in r4836) Modified: amr/amr-ffmpeg.diff Modified: amr/amr-ffmpeg.diff ============================================================================== --- amr/amr-ffmpeg.diff Fri Jul 31 03:47:27 2009 (r4852) +++ amr/amr-ffmpeg.diff Fri Jul 31 03:59:27 2009 (r4853) @@ -93,6 +93,34 @@ Index: libavcodec/celp_filters.c + out[n] += filter_coeffs[i-1] * in[n-i]; } } +Index: libavcodec/celp_filters.h +=================================================================== +--- libavcodec/celp_filters.h (revision 19401) ++++ libavcodec/celp_filters.h (working copy) +@@ -43,6 +43,23 @@ + int len); + + /** ++ * Circularly convolve fixed vector with a phase dispersion impulse ++ * response filter (D.6.2 of G.729 and 6.1.5 of AMR). ++ * @param fc_out vector with filter applied ++ * @param fc_in source vector ++ * @param filter phase filter coefficients ++ * ++ * fc_out[n] = sum(i,0,len-1){ fc_in[i] * filter[(len + n - i)%len] } ++ * ++ * \note fc_in and fc_out should not overlap! ++ */ ++void ff_celp_convolve_circf( ++ float* fc_out, ++ const float* fc_in, ++ const float* filter, ++ int len); ++ ++/** + * LP synthesis filter. + * @param out [out] pointer to output buffer + * @param filter_coeffs filter coefficients (-0x8000 <= (3.12) < 0x8000) Index: libavcodec/acelp_filters.c =================================================================== --- libavcodec/acelp_filters.c (revision 19401)
participants (1)
-
cmcq