annotate libaf/equalizer.h @ 8870:7538bf7e728d

halfpack now takes an optional argument, field, which tells it to keep only even lines (if 0) or only odd lines (if 1) rather than averaging pairs of lines. this may be useful for slightly improving performance or for dirty deinterlacing.
author rfelker
date Fri, 10 Jan 2003 14:12:07 +0000
parents d1afa3b8a773
children 14090f7300a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8077
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
1 /*=============================================================================
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
2 //
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
3 // This software has been released under the terms of the GNU Public
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
4 // license. See http://www.gnu.org/copyleft/gpl.html for details.
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
5 //
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
6 // Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
7 //
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
8 //=============================================================================
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
9 */
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
10
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
11 /* Equalizer plugin header file defines struct used for setting or
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
12 getting the gain of a specific channel and frequency */
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
13
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
14 typedef struct equalizer_s
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
15 {
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
16 float gain; // Gain in dB -15 - 15
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
17 int channel; // Channel number 0 - 5
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
18 int band; // Frequency band 0 - 9
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
19 }equalizer_t;
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
20
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
21 /* The different frequency bands are:
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
22 nr. center frequency
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
23 0 31.25 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
24 1 62.50 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
25 2 125.0 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
26 3 250.0 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
27 4 500.0 Hz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
28 5 1.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
29 6 2.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
30 7 4.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
31 8 8.000 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
32 9 16.00 kHz
d1afa3b8a773 Header file for eq
anders
parents:
diff changeset
33 */