ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvs/xvidcore/src/utils/mem_transfer.h
Revision: 1.3
Committed: Sat Apr 13 16:30:02 2002 UTC (22 years, 5 months ago) by suxen_drol
Content type: text/plain
Branch: MAIN
Changes since 1.2: +13 -0 lines
Log Message:
bframe "support" code

File Contents

# User Rev Content
1 Isibaar 1.1 #ifndef _MEM_TRANSFER_H
2     #define _MEM_TRANSFER_H
3    
4     // transfer8to16
5     typedef void (TRANSFER_8TO16COPY)(int16_t * const dst,
6     const uint8_t * const src,
7     uint32_t stride);
8     typedef TRANSFER_8TO16COPY* TRANSFER_8TO16COPY_PTR;
9     extern TRANSFER_8TO16COPY_PTR transfer_8to16copy;
10     TRANSFER_8TO16COPY transfer_8to16copy_c;
11     TRANSFER_8TO16COPY transfer_8to16copy_mmx;
12    
13     // transfer16to8
14     typedef void (TRANSFER_16TO8COPY)(uint8_t * const dst,
15     const int16_t * const src,
16     uint32_t stride);
17     typedef TRANSFER_16TO8COPY* TRANSFER_16TO8COPY_PTR;
18     extern TRANSFER_16TO8COPY_PTR transfer_16to8copy;
19     TRANSFER_16TO8COPY transfer_16to8copy_c;
20     TRANSFER_16TO8COPY transfer_16to8copy_mmx;
21    
22     // transfer8to16sub
23     typedef void (TRANSFER_8TO16SUB)(int16_t * const dct,
24     uint8_t * const cur,
25     const uint8_t * ref,
26     const uint32_t stride);
27     typedef TRANSFER_8TO16SUB* TRANSFER_8TO16SUB_PTR;
28    
29     extern TRANSFER_8TO16SUB_PTR transfer_8to16sub;
30     TRANSFER_8TO16SUB transfer_8to16sub_c;
31     TRANSFER_8TO16SUB transfer_8to16sub_mmx;
32    
33 suxen_drol 1.3 // transfer8to16sub2
34     typedef void (TRANSFER_8TO16SUB2)(int16_t * const dct,
35     uint8_t * const cur,
36     const uint8_t * ref1,
37     const uint8_t * ref2,
38     const uint32_t stride);
39     typedef TRANSFER_8TO16SUB2* TRANSFER_8TO16SUB2_PTR;
40    
41     extern TRANSFER_8TO16SUB2_PTR transfer_8to16sub2;
42     TRANSFER_8TO16SUB2 transfer_8to16sub2_c;
43     //TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx;
44    
45    
46 Isibaar 1.1 // transfer16to8add
47     typedef void (TRANSFER_16TO8ADD)(uint8_t * const dst,
48     const int16_t * const src,
49     uint32_t stride);
50     typedef TRANSFER_16TO8ADD* TRANSFER_16TO8ADD_PTR;
51     extern TRANSFER_16TO8ADD_PTR transfer_16to8add;
52     TRANSFER_16TO8ADD transfer_16to8add_c;
53     TRANSFER_16TO8ADD transfer_16to8add_mmx;
54    
55     // transfer8x8_copy
56     typedef void (TRANSFER8X8_COPY)(uint8_t * const dst,
57     const uint8_t * const src,
58     const uint32_t stride);
59     typedef TRANSFER8X8_COPY* TRANSFER8X8_COPY_PTR;
60     extern TRANSFER8X8_COPY_PTR transfer8x8_copy;
61     TRANSFER8X8_COPY transfer8x8_copy_c;
62     TRANSFER8X8_COPY transfer8x8_copy_mmx;
63    
64 edgomez 1.2 #endif /* _MEM_TRANSFER_H_ */