Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / gst / ffmpegcolorspace / dsputil.h
1 /*
2  * DSP utils
3  * Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
4  * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 /**
22  * @file dsputil.h
23  * DSP utils.
24  * note, many functions in here may use MMX which trashes the FPU state, it is
25  * absolutely necessary to call emms_c() between dsp & float/double code
26  */
27
28 #ifndef DSPUTIL_H
29 #define DSPUTIL_H
30
31 /* pixel operations */
32 #define MAX_NEG_CROP 1024
33
34 /* temporary */
35 extern uint8_t cropTbl[256 + 2 * MAX_NEG_CROP];
36
37 void dsputil_static_init(void);
38
39 #endif