1 |
|
/***************************************************************************** |
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 |
|
* $Id: quant_h263.h,v 1.10.2.2 2003-06-09 13:55:16 edgomez Exp $ |
23 |
|
* |
24 |
|
****************************************************************************/ |
25 |
|
|
26 |
#ifndef _QUANT_H263_H_ |
#ifndef _QUANT_H263_H_ |
27 |
#define _QUANT_H263_H_ |
#define _QUANT_H263_H_ |
28 |
|
|
29 |
#include "../portab.h" |
#include "../portab.h" |
30 |
|
|
31 |
// intra |
/* intra */ |
32 |
typedef void (quanth263_intraFunc)(int16_t * coeff, |
typedef void (quanth263_intraFunc)(int16_t * coeff, |
33 |
const int16_t * data, |
const int16_t * data, |
34 |
const uint32_t quant, |
const uint32_t quant, |
41 |
|
|
42 |
quanth263_intraFunc quant_intra_c; |
quanth263_intraFunc quant_intra_c; |
43 |
quanth263_intraFunc quant_intra_mmx; |
quanth263_intraFunc quant_intra_mmx; |
44 |
|
quanth263_intraFunc quant_intra_3dne; |
45 |
|
quanth263_intraFunc quant_intra_sse2; |
46 |
|
quanth263_intraFunc quant_intra_ia64; |
47 |
|
|
48 |
quanth263_intraFunc dequant_intra_c; |
quanth263_intraFunc dequant_intra_c; |
49 |
quanth263_intraFunc dequant_intra_mmx; |
quanth263_intraFunc dequant_intra_mmx; |
50 |
|
quanth263_intraFunc dequant_intra_xmm; |
51 |
|
quanth263_intraFunc dequant_intra_3dne; |
52 |
|
quanth263_intraFunc dequant_intra_sse2; |
53 |
|
quanth263_intraFunc dequant_intra_ia64; |
54 |
|
|
55 |
// inter_quant |
/* inter_quant */ |
56 |
typedef uint32_t (quanth263_interFunc)(int16_t *coeff, |
typedef uint32_t (quanth263_interFunc)(int16_t *coeff, |
57 |
const int16_t *data, |
const int16_t *data, |
58 |
const uint32_t quant); |
const uint32_t quant); |
63 |
|
|
64 |
quanth263_interFunc quant_inter_c; |
quanth263_interFunc quant_inter_c; |
65 |
quanth263_interFunc quant_inter_mmx; |
quanth263_interFunc quant_inter_mmx; |
66 |
|
quanth263_interFunc quant_inter_3dne; |
67 |
quanth263_interFunc quant_inter_sse2; |
quanth263_interFunc quant_inter_sse2; |
68 |
|
quanth263_interFunc quant_inter_ia64; |
69 |
|
|
70 |
//inter_dequant |
/* inter_dequant */ |
71 |
typedef void (dequanth263_interFunc)(int16_t *coeff, |
typedef void (dequanth263_interFunc)(int16_t *coeff, |
72 |
const int16_t *data, |
const int16_t *data, |
73 |
const uint32_t quant); |
const uint32_t quant); |
78 |
|
|
79 |
dequanth263_interFunc dequant_inter_c; |
dequanth263_interFunc dequant_inter_c; |
80 |
dequanth263_interFunc dequant_inter_mmx; |
dequanth263_interFunc dequant_inter_mmx; |
81 |
|
dequanth263_interFunc dequant_inter_xmm; |
82 |
|
dequanth263_interFunc dequant_inter_3dne; |
83 |
dequanth263_interFunc dequant_inter_sse2; |
dequanth263_interFunc dequant_inter_sse2; |
84 |
|
dequanth263_interFunc dequant_inter_ia64; |
85 |
|
|
86 |
#endif /* _QUANT_H263_H_ */ |
#endif /* _QUANT_H263_H_ */ |