1 |
/***************************************************************************** |
/***************************************************************************** |
2 |
* |
* |
3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Mpeg4 quantization/dequantization header - |
* - MPEG4 Quantization related header - |
5 |
* |
* |
6 |
* Copyright(C) 2002 Peter Ross <pross@xvid.org> |
* Copyright(C) 2002-2003 Anonymous <xvid-devel@xvid.org> |
|
* |
|
|
* This program is an implementation of a part of one or more MPEG-4 |
|
|
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
|
|
* to use this software module in hardware or software products are |
|
|
* advised that its use may infringe existing patents or copyrights, and |
|
|
* any such use would be at such party's own risk. The original |
|
|
* developer of this software module and his/her company, and subsequent |
|
|
* editors and their companies, will have no liability for use of this |
|
|
* software or modifications or derivatives thereof. |
|
7 |
* |
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* 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 |
* it under the terms of the GNU General Public License as published by |
28 |
|
|
29 |
#include "../portab.h" |
#include "../portab.h" |
30 |
|
|
|
/***************************************************************************** |
|
|
* Prototypes |
|
|
****************************************************************************/ |
|
|
|
|
31 |
/* intra */ |
/* intra */ |
32 |
typedef void (quant_intraFunc) (int16_t * coeff, |
typedef void (quant_intraFunc) (int16_t * coeff, |
33 |
const int16_t * data, |
const int16_t * data, |
41 |
|
|
42 |
quant_intraFunc quant4_intra_c; |
quant_intraFunc quant4_intra_c; |
43 |
quant_intraFunc quant4_intra_mmx; |
quant_intraFunc quant4_intra_mmx; |
44 |
|
quant_intraFunc quant4_intra_xmm; |
45 |
|
|
46 |
quant_intraFunc dequant4_intra_c; |
quant_intraFunc dequant4_intra_c; |
47 |
quant_intraFunc dequant4_intra_mmx; |
quant_intraFunc dequant4_intra_mmx; |
48 |
|
quant_intraFunc dequant4_intra_3dne; |
49 |
|
|
50 |
/* inter_quant */ |
/* inter_quant */ |
51 |
typedef uint32_t(quant_interFunc) (int16_t * coeff, |
typedef uint32_t(quant_interFunc) (int16_t * coeff, |
58 |
|
|
59 |
quant_interFunc quant4_inter_c; |
quant_interFunc quant4_inter_c; |
60 |
quant_interFunc quant4_inter_mmx; |
quant_interFunc quant4_inter_mmx; |
61 |
|
quant_interFunc quant4_inter_xmm; |
62 |
|
|
63 |
/* inter_dequant */ |
/* inter_dequant */ |
64 |
typedef void (dequant_interFunc) (int16_t * coeff, |
typedef void (dequant_interFunc) (int16_t * coeff, |
71 |
|
|
72 |
dequant_interFunc dequant4_inter_c; |
dequant_interFunc dequant4_inter_c; |
73 |
dequant_interFunc dequant4_inter_mmx; |
dequant_interFunc dequant4_inter_mmx; |
74 |
|
dequant_interFunc dequant4_inter_3dne; |
75 |
|
|
76 |
#endif /* _QUANT_MPEG4_H_ */ |
#endif /* _QUANT_MPEG4_H_ */ |