~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to libaf/filter.c

  • Committer: William Grant
  • Date: 2007-02-03 03:16:07 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: william.grant@ubuntu.org.au-20070203031607-08gc2ompbz6spt9i
Update to 1.0rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
   Note that a0 is assumed to be 1, so there is no wrapping
275
275
   of it.  
276
276
*/
277
 
void af_filter_prewarp(_ftype_t* a, _ftype_t fc, _ftype_t fs)
 
277
static void af_filter_prewarp(_ftype_t* a, _ftype_t fc, _ftype_t fs)
278
278
{
279
279
  _ftype_t wp;
280
280
  wp = 2.0 * fs * tan(M_PI * fc / fs);
310
310
   Return: On return, set coef z-domain coefficients and k to the gain
311
311
   required to maintain overall gain = 1.0;
312
312
*/
313
 
void af_filter_bilinear(_ftype_t* a, _ftype_t* b, _ftype_t* k, _ftype_t fs, _ftype_t *coef)
 
313
static void af_filter_bilinear(_ftype_t* a, _ftype_t* b, _ftype_t* k, _ftype_t fs, _ftype_t *coef)
314
314
{
315
315
  _ftype_t ad, bd;
316
316