Mercurial > mplayer.hg
view libaf/dsp.h @ 9131:67d28a3f918a
The code for converting RGB to YUV in bmovl is slow because it uses
floating point arithmetic. The attached patch changes it to use integers
instead, giving about a 2x performance boost on animations.
Jonas Jensen <jbj@knef.dk>
author | arpi |
---|---|
date | Tue, 28 Jan 2003 00:27:59 +0000 |
parents | d08513b9fed6 |
children | 14090f7300a8 |
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 2002 Anders Johansson ajh@atri.curtin.edu.au // //============================================================================= */ #ifndef _DSP_H #define _DSP_H 1 /* Implementation of routines used for DSP */ /* Size of floating point type used in routines */ #define _ftype_t float #include <window.h> #include <filter.h> #endif