1 /*
2 * Copyright (c) 2012 Justin Ruggles <justin.ruggles@gmail.com>
3 *
4 * This file is part of FFmpeg.
5 *
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef AVRESAMPLE_INTERNAL_H
22 #define AVRESAMPLE_INTERNAL_H
23
29
34
41 };
42
52
55
69 int filter_size;
/**< length of each FIR filter in the resampling filterbank relative to the cutoff frequency */
70 int phase_shift;
/**< log2 of the number of entries in the resampling polyphase filterbank */
71 int linear_interp;
/**< if 1 then the resampling FIR filter will be linearly interpolated */
72 double cutoff;
/**< resampling cutoff frequency. 1.0 corresponds to half the output sample rate */
74 int kaiser_beta;
/**< beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER) */
76
87
92
98
99 /**
100 * mix matrix
101 * only used if avresample_set_matrix() is called before avresample_open()
102 */
104
108 };
109
110
115
116 #endif /* AVRESAMPLE_INTERNAL_H */