changeset 8779:062adf954a56 libavcodec

Try to doxyfy av_resample_init(). I hope I did not misremember anything as I just briefly checked the source.
author michael
date Mon, 09 Feb 2009 15:49:06 +0000
parents bdb11e2330d1
children 56c41adae7d8
files avcodec.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Mon Feb 09 15:31:08 2009 +0000
+++ b/avcodec.h	Mon Feb 09 15:49:06 2009 +0000
@@ -2452,6 +2452,11 @@
 /**
  * Initializes an audio resampler.
  * Note, if either rate is not an integer then simply scale both rates up so they are.
+ * @param filter_length length of each FIR filter in the filterbank relative to the cutoff freq
+ * @param log2_phase_count log2 of the number of entries in the polyphase filterbank
+ * @param linear If 1 then the used FIR filter will be linearly interpolated
+                 between the 2 closest, if 0 the closest will be used
+ * @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate
  */
 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff);