[cvs] / xvidcore / src / quant / quant_mpeg4.h Repository:
ViewVC logotype

Annotation of /xvidcore/src/quant/quant_mpeg4.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7.2.3 - (view) (download)

1 : edgomez 1.7.2.2 /*****************************************************************************
2 :     *
3 :     * XVID MPEG-4 VIDEO CODEC
4 :     * - MPEG4 Quantization related header -
5 :     *
6 :     * Copyright(C) 2002-2003 Anonymous <xvid-devel@xvid.org>
7 :     *
8 :     * This program is free software ; you can redistribute it and/or modify
9 :     * it under the terms of the GNU General Public License as published by
10 :     * the Free Software Foundation ; either version 2 of the License, or
11 :     * (at your option) any later version.
12 :     *
13 :     * This program is distributed in the hope that it will be useful,
14 :     * but WITHOUT ANY WARRANTY ; without even the implied warranty of
15 :     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 :     * GNU General Public License for more details.
17 :     *
18 :     * You should have received a copy of the GNU General Public License
19 :     * along with this program ; if not, write to the Free Software
20 :     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 :     *
22 :     * $Id$
23 :     *
24 :     ****************************************************************************/
25 :    
26 : Isibaar 1.1 #ifndef _QUANT_MPEG4_H_
27 :     #define _QUANT_MPEG4_H_
28 :    
29 :     #include "../portab.h"
30 :    
31 : edgomez 1.7.2.1 /* intra */
32 : edgomez 1.3 typedef void (quant_intraFunc) (int16_t * coeff,
33 :     const int16_t * data,
34 :     const uint32_t quant,
35 :     const uint32_t dcscalar);
36 : Isibaar 1.1
37 : edgomez 1.3 typedef quant_intraFunc *quant_intraFuncPtr;
38 : Isibaar 1.1
39 :     extern quant_intraFuncPtr quant4_intra;
40 :     extern quant_intraFuncPtr dequant4_intra;
41 :    
42 :     quant_intraFunc quant4_intra_c;
43 : edgomez 1.7.2.3
44 :     #ifdef ARCH_IS_IA32
45 : Isibaar 1.1 quant_intraFunc quant4_intra_mmx;
46 : edgomez 1.7 quant_intraFunc quant4_intra_xmm;
47 : edgomez 1.7.2.3 #endif
48 : Isibaar 1.1
49 :     quant_intraFunc dequant4_intra_c;
50 : edgomez 1.7.2.3
51 :     #ifdef ARCH_IS_IA32
52 : Isibaar 1.1 quant_intraFunc dequant4_intra_mmx;
53 : edgomez 1.7 quant_intraFunc dequant4_intra_3dne;
54 : edgomez 1.7.2.3 #endif
55 : Isibaar 1.1
56 : edgomez 1.7.2.1 /* inter_quant */
57 : edgomez 1.3 typedef uint32_t(quant_interFunc) (int16_t * coeff,
58 :     const int16_t * data,
59 :     const uint32_t quant);
60 : Isibaar 1.1
61 : edgomez 1.3 typedef quant_interFunc *quant_interFuncPtr;
62 : Isibaar 1.1
63 :     extern quant_interFuncPtr quant4_inter;
64 :    
65 :     quant_interFunc quant4_inter_c;
66 : edgomez 1.7.2.3
67 :     #ifdef ARCH_IS_IA32
68 : Isibaar 1.1 quant_interFunc quant4_inter_mmx;
69 : edgomez 1.7 quant_interFunc quant4_inter_xmm;
70 : edgomez 1.7.2.3 #endif
71 : Isibaar 1.1
72 : edgomez 1.7.2.1 /*inter_dequant */
73 : edgomez 1.3 typedef void (dequant_interFunc) (int16_t * coeff,
74 :     const int16_t * data,
75 :     const uint32_t quant);
76 : Isibaar 1.1
77 : edgomez 1.3 typedef dequant_interFunc *dequant_interFuncPtr;
78 : Isibaar 1.1
79 :     extern dequant_interFuncPtr dequant4_inter;
80 :    
81 :     dequant_interFunc dequant4_inter_c;
82 : edgomez 1.7.2.3
83 :     #ifdef ARCH_IS_IA32
84 : Isibaar 1.1 dequant_interFunc dequant4_inter_mmx;
85 : edgomez 1.7 dequant_interFunc dequant4_inter_3dne;
86 : edgomez 1.7.2.3 #endif
87 : Isibaar 1.1
88 : edgomez 1.7 #endif /* _QUANT_MPEG4_H_ */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4