Mercurial > libavcodec.hg
comparison avcodec.h @ 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 | cbeaa8c0fe4f |
comparison
equal
deleted
inserted
replaced
8778:bdb11e2330d1 | 8779:062adf954a56 |
---|---|
2450 | 2450 |
2451 | 2451 |
2452 /** | 2452 /** |
2453 * Initializes an audio resampler. | 2453 * Initializes an audio resampler. |
2454 * Note, if either rate is not an integer then simply scale both rates up so they are. | 2454 * Note, if either rate is not an integer then simply scale both rates up so they are. |
2455 * @param filter_length length of each FIR filter in the filterbank relative to the cutoff freq | |
2456 * @param log2_phase_count log2 of the number of entries in the polyphase filterbank | |
2457 * @param linear If 1 then the used FIR filter will be linearly interpolated | |
2458 between the 2 closest, if 0 the closest will be used | |
2459 * @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate | |
2455 */ | 2460 */ |
2456 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); | 2461 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff); |
2457 | 2462 |
2458 /** | 2463 /** |
2459 * resamples. | 2464 * resamples. |