Mercurial > mplayer.hg
annotate libaf/equalizer.h @ 34967:a8859956ed3c
Remove outdated code that instead of preventing now causes crashes.
The problem it was trying to catch (next filter not supporting slices)
was fixed already in r10141 (by implementing a fallback version
of vf_next_draw_slice).
This should fix Debian Bug#683907.
Example command-line:
mencoder big_buck_bunny_480p_stereo.avi -o a.mpg -vf crop=346:240:2:24 -oac copy -ovc lavc
author | reimar |
---|---|
date | Mon, 06 Aug 2012 18:26:02 +0000 |
parents | 0f1b5b68af32 |
children |
rev | line source |
---|---|
28229
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
1 /* |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
2 * Copyright (C) 2002 Anders Johansson ajh@atri.curtin.edu.au |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
3 * |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
4 * This file is part of MPlayer. |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
5 * |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
6 * MPlayer is free software; you can redistribute it and/or modify |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
7 * it under the terms of the GNU General Public License as published by |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
8 * the Free Software Foundation; either version 2 of the License, or |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
9 * (at your option) any later version. |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
10 * |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
11 * MPlayer is distributed in the hope that it will be useful, |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
14 * GNU General Public License for more details. |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
15 * |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
16 * You should have received a copy of the GNU General Public License along |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
17 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
72d0b1444141
Replace informal license notices by standard license header
diego
parents:
26029
diff
changeset
|
19 */ |
8077 | 20 |
26029 | 21 #ifndef MPLAYER_EQUALIZER_H |
22 #define MPLAYER_EQUALIZER_H | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
23 |
8077 | 24 /* Equalizer plugin header file defines struct used for setting or |
25 getting the gain of a specific channel and frequency */ | |
26 | |
27 typedef struct equalizer_s | |
28 { | |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
28229
diff
changeset
|
29 float gain; // Gain in dB -15 - 15 |
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
28229
diff
changeset
|
30 int channel; // Channel number 0 - 5 |
8077 | 31 int band; // Frequency band 0 - 9 |
32 }equalizer_t; | |
33 | |
34 /* The different frequency bands are: | |
35 nr. center frequency | |
36 0 31.25 Hz | |
37 1 62.50 Hz | |
38 2 125.0 Hz | |
39 3 250.0 Hz | |
40 4 500.0 Hz | |
41 5 1.000 kHz | |
42 6 2.000 kHz | |
43 7 4.000 kHz | |
44 8 8.000 kHz | |
45 9 16.00 kHz | |
46 */ | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
13602
diff
changeset
|
47 |
26029 | 48 #endif /* MPLAYER_EQUALIZER_H */ |