Mercurial > libavcodec.hg
comparison avcodec.h @ 12025:2d730a4acc77 libavcodec
Improve av_resample() documentation
| author | mru |
|---|---|
| date | Wed, 30 Jun 2010 20:09:37 +0000 |
| parents | fdafbcef52f5 |
| children | d5705b52b76e |
comparison
equal
deleted
inserted
replaced
| 12024:fdafbcef52f5 | 12025:2d730a4acc77 |
|---|---|
| 2987 * @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate | 2987 * @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate |
| 2988 */ | 2988 */ |
| 2989 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); | 2989 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); |
| 2990 | 2990 |
| 2991 /** | 2991 /** |
| 2992 * resamples. | 2992 * Resample an array of samples using a previously configured context. |
| 2993 * @param src an array of unconsumed samples | 2993 * @param src an array of unconsumed samples |
| 2994 * @param consumed the number of samples of src which have been consumed are returned here | 2994 * @param consumed the number of samples of src which have been consumed are returned here |
| 2995 * @param src_size the number of unconsumed samples available | 2995 * @param src_size the number of unconsumed samples available |
| 2996 * @param dst_size the amount of space in samples available in dst | 2996 * @param dst_size the amount of space in samples available in dst |
| 2997 * @param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context. | 2997 * @param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context. |
