1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

doc/resampler: add exact_rational option

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
This commit is contained in:
Muhammad Faiz 2016-06-13 13:12:05 +07:00
parent 241e250520
commit 0b8dcb3349

View File

@ -120,8 +120,8 @@ select the native SW Resampler; filter options precision and cheby are not
applicable in this case. applicable in this case.
@item soxr @item soxr
select the SoX Resampler (where available); compensation, and filter options select the SoX Resampler (where available); compensation, and filter options
filter_size, phase_shift, filter_type & kaiser_beta, are not applicable in this filter_size, phase_shift, exact_rational, filter_type & kaiser_beta, are not
case. applicable in this case.
@end table @end table
@item filter_size @item filter_size
@ -134,6 +134,11 @@ the interval [0,30].
@item linear_interp @item linear_interp
Use linear interpolation if set to 1, default value is 0. Use linear interpolation if set to 1, default value is 0.
@item exact_rational
For swr only, when enabled, try to use exact phase_count based on input and
output sample rate. However, if it is larger than @code{1 << phase_shift},
the phase_count will be @code{1 << phase_shift} as fallback. Default is disabled.
@item cutoff @item cutoff
Set cutoff frequency (swr: 6dB point; soxr: 0dB point) ratio; must be a float Set cutoff frequency (swr: 6dB point; soxr: 0dB point) ratio; must be a float
value between 0 and 1. Default value is 0.97 with swr, and 0.91 with soxr value between 0 and 1. Default value is 0.97 with swr, and 0.91 with soxr