Mercurial > mplayer.hg
view libao2/eq.h @ 9660:c2d23e02522b
improvements to detc filter:
-> use of 8x8 blocks rather than 16x16 to better localize the search
for interlacing. this helps detect interlacing in very small
motions, e.g. mouths in anime.
-> removed some redundant conditions in the logic
-> looser condition for detecting lacing and more forgiving of slight
mismatches between fields from the two telecine frames to make up
for quantization noise in low quality encodes.
this code is still mostly experimental but probably better than the
old version, so maybe it should be backported to 0.90...?
author | rfelker |
---|---|
date | Sun, 23 Mar 2003 03:36:24 +0000 |
parents | a2173bfdc133 |
children |
line wrap: on
line source
/*============================================================================= // // This software has been released under the terms of the GNU Public // license. See http://www.gnu.org/copyleft/gpl.html for details. // // Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au // //============================================================================= */ /* Equalizer plugin header file defines struct used for setting or getting the gain of a specific channel and frequency */ typedef struct equalizer_s { float gain; // Gain in dB -15 - 15 int channel; // Channel number 0 - 5 int band; // Frequency band 0 - 9 }equalizer_t; /* The different frequency bands are: nr. center frequency 0 31.25 Hz 1 62.50 Hz 2 125.0 Hz 3 250.0 Hz 4 500.0 Hz 5 1.000 kHz 6 2.000 kHz 7 4.000 kHz 8 8.000 kHz 9 16.00 kHz */ #define AOCONTROL_PLUGIN_EQ_SET_GAIN 2 // Use this to set the gain #define AOCONTROL_PLUGIN_EQ_GET_GAIN 3 // Use this to get the gain