1 |
|
#ifndef _REDUCED_H_ |
2 |
|
#define _REDUCED_H_ |
3 |
|
|
4 |
|
#include "../portab.h" |
5 |
|
|
6 |
|
/* decoding prototypes */ |
7 |
|
|
8 |
|
typedef void (COPY_UPSAMPLED_8X8_16TO8) (uint8_t *Dst, const int16_t *Src, const int BpS); |
9 |
|
typedef void (ADD_UPSAMPLED_8X8_16TO8) (uint8_t *Dst, const int16_t *Src, const int BpS); |
10 |
|
|
11 |
|
/* Note: "Nb"_Blks is the number of 8-pixels blocks to process */ |
12 |
|
typedef void HFILTER_31(uint8_t *Src1, uint8_t *Src2, int Nb_Blks); |
13 |
|
typedef void VFILTER_31(uint8_t *Src1, uint8_t *Src2, const int BpS, int Nb_Blks); |
14 |
|
|
15 |
|
|
16 |
|
extern COPY_UPSAMPLED_8X8_16TO8 * copy_upsampled_8x8_16to8; |
17 |
|
extern COPY_UPSAMPLED_8X8_16TO8 xvid_Copy_Upsampled_8x8_16To8_C; |
18 |
|
extern COPY_UPSAMPLED_8X8_16TO8 xvid_Copy_Upsampled_8x8_16To8_mmx; |
19 |
|
extern COPY_UPSAMPLED_8X8_16TO8 xvid_Copy_Upsampled_8x8_16To8_xmm; |
20 |
|
|
21 |
|
extern ADD_UPSAMPLED_8X8_16TO8 * add_upsampled_8x8_16to8; |
22 |
|
extern ADD_UPSAMPLED_8X8_16TO8 xvid_Add_Upsampled_8x8_16To8_C; |
23 |
|
extern ADD_UPSAMPLED_8X8_16TO8 xvid_Add_Upsampled_8x8_16To8_mmx; |
24 |
|
extern ADD_UPSAMPLED_8X8_16TO8 xvid_Add_Upsampled_8x8_16To8_xmm; |
25 |
|
|
26 |
|
extern VFILTER_31 * vfilter_31; |
27 |
|
extern VFILTER_31 xvid_VFilter_31_C; |
28 |
|
extern VFILTER_31 xvid_VFilter_31_x86; |
29 |
|
|
30 |
|
extern HFILTER_31 * hfilter_31; |
31 |
|
extern HFILTER_31 xvid_HFilter_31_C; |
32 |
|
extern HFILTER_31 xvid_HFilter_31_x86; |
33 |
|
extern HFILTER_31 xvid_HFilter_31_mmx; |
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
/* encoding prototypes */ |
39 |
|
/* WARNING! These read 1 pixel outside of the input 16x16 block! */ |
40 |
|
extern void xvid_Filter_18x18_To_8x8_C(int16_t *Dst, const uint8_t *Src, const int BpS); |
41 |
|
extern void xvid_Filter_Diff_18x18_To_8x8_C(int16_t *Dst, const uint8_t *Src, const int BpS); |
42 |
|
|
43 |
|
/* MMX version */ |
44 |
|
extern void xvid_Filter_18x18_To_8x8_mmx(int16_t *Dst, const uint8_t *Src, const int BpS); |
45 |
|
extern void xvid_Filter_Diff_18x18_To_8x8_mmx(int16_t *Dst, const uint8_t *Src, const int BpS); |
46 |
|
|
47 |
|
|
48 |
|
#endif /* _REDUCED_H_ */ |