Parent Directory | Revision Log
Revision 1122 - (view) (download)
1 : | edgomez | 1054 | /***************************************************************************** |
2 : | * | ||
3 : | * XVID MPEG-4 VIDEO CODEC | ||
4 : | * - H263 Quantization related header - | ||
5 : | * | ||
6 : | * Copyright(C) 2002 Michael Militzer <isibaar@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 : | edgomez | 1122 | * $Id: quant_h263.h,v 1.10.2.3 2003-08-13 11:43:59 edgomez Exp $ |
23 : | edgomez | 1054 | * |
24 : | ****************************************************************************/ | ||
25 : | |||
26 : | Isibaar | 3 | #ifndef _QUANT_H263_H_ |
27 : | #define _QUANT_H263_H_ | ||
28 : | |||
29 : | #include "../portab.h" | ||
30 : | |||
31 : | edgomez | 1053 | /* intra */ |
32 : | edgomez | 195 | typedef void (quanth263_intraFunc) (int16_t * coeff, |
33 : | const int16_t * data, | ||
34 : | const uint32_t quant, | ||
35 : | const uint32_t dcscalar); | ||
36 : | Isibaar | 3 | |
37 : | edgomez | 195 | typedef quanth263_intraFunc *quanth263_intraFuncPtr; |
38 : | Isibaar | 3 | |
39 : | extern quanth263_intraFuncPtr quant_intra; | ||
40 : | extern quanth263_intraFuncPtr dequant_intra; | ||
41 : | |||
42 : | quanth263_intraFunc quant_intra_c; | ||
43 : | edgomez | 1122 | |
44 : | #ifdef ARCH_IS_IA32 | ||
45 : | Isibaar | 3 | quanth263_intraFunc quant_intra_mmx; |
46 : | edgomez | 851 | quanth263_intraFunc quant_intra_3dne; |
47 : | h | 135 | quanth263_intraFunc quant_intra_sse2; |
48 : | edgomez | 1122 | #endif |
49 : | |||
50 : | #ifdef ARCH_IS_IA64 | ||
51 : | Isibaar | 209 | quanth263_intraFunc quant_intra_ia64; |
52 : | edgomez | 1122 | #endif |
53 : | Isibaar | 3 | |
54 : | quanth263_intraFunc dequant_intra_c; | ||
55 : | edgomez | 1122 | |
56 : | #ifdef ARCH_IS_IA32 | ||
57 : | Isibaar | 3 | quanth263_intraFunc dequant_intra_mmx; |
58 : | chl | 270 | quanth263_intraFunc dequant_intra_xmm; |
59 : | edgomez | 851 | quanth263_intraFunc dequant_intra_3dne; |
60 : | h | 135 | quanth263_intraFunc dequant_intra_sse2; |
61 : | edgomez | 1122 | #endif |
62 : | |||
63 : | #ifdef ARCH_IS_IA64 | ||
64 : | Isibaar | 209 | quanth263_intraFunc dequant_intra_ia64; |
65 : | edgomez | 1122 | #endif |
66 : | Isibaar | 3 | |
67 : | edgomez | 1053 | /* inter_quant */ |
68 : | edgomez | 195 | typedef uint32_t(quanth263_interFunc) (int16_t * coeff, |
69 : | const int16_t * data, | ||
70 : | const uint32_t quant); | ||
71 : | Isibaar | 3 | |
72 : | edgomez | 195 | typedef quanth263_interFunc *quanth263_interFuncPtr; |
73 : | Isibaar | 3 | |
74 : | extern quanth263_interFuncPtr quant_inter; | ||
75 : | |||
76 : | quanth263_interFunc quant_inter_c; | ||
77 : | edgomez | 1122 | |
78 : | #ifdef ARCH_IS_IA32 | ||
79 : | Isibaar | 3 | quanth263_interFunc quant_inter_mmx; |
80 : | edgomez | 851 | quanth263_interFunc quant_inter_3dne; |
81 : | h | 126 | quanth263_interFunc quant_inter_sse2; |
82 : | edgomez | 1122 | #endif |
83 : | |||
84 : | #ifdef ARCH_IS_IA64 | ||
85 : | Isibaar | 209 | quanth263_interFunc quant_inter_ia64; |
86 : | edgomez | 1122 | #endif |
87 : | Isibaar | 3 | |
88 : | edgomez | 1053 | /* inter_dequant */ |
89 : | edgomez | 195 | typedef void (dequanth263_interFunc) (int16_t * coeff, |
90 : | const int16_t * data, | ||
91 : | const uint32_t quant); | ||
92 : | Isibaar | 3 | |
93 : | edgomez | 195 | typedef dequanth263_interFunc *dequanth263_interFuncPtr; |
94 : | Isibaar | 3 | |
95 : | extern dequanth263_interFuncPtr dequant_inter; | ||
96 : | |||
97 : | dequanth263_interFunc dequant_inter_c; | ||
98 : | edgomez | 1122 | |
99 : | #ifdef ARCH_IS_IA32 | ||
100 : | Isibaar | 3 | dequanth263_interFunc dequant_inter_mmx; |
101 : | chl | 270 | dequanth263_interFunc dequant_inter_xmm; |
102 : | edgomez | 851 | dequanth263_interFunc dequant_inter_3dne; |
103 : | h | 126 | dequanth263_interFunc dequant_inter_sse2; |
104 : | edgomez | 1122 | #endif |
105 : | |||
106 : | #ifdef ARCH_IS_IA64 | ||
107 : | Isibaar | 209 | dequanth263_interFunc dequant_inter_ia64; |
108 : | edgomez | 1122 | #endif |
109 : | Isibaar | 3 | |
110 : | edgomez | 851 | #endif /* _QUANT_H263_H_ */ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |