grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / diskimage / include / aros / defines / mpega.h
blobccfa9d22b0985903822253a1ddf074fb551105f1
1 #ifndef DEFINES_MPEGA_PROTOS_H
2 #define DEFINES_MPEGA_PROTOS_H
4 /*
5 Desc: Defines for mpega
6 */
8 #include <aros/libcall.h>
9 #include <exec/types.h>
11 #define __MPEGA_open_WB(__MPEGABase, __arg1, __arg2) \
12 AROS_LC2(MPEGA_STREAM *, MPEGA_open, \
13 AROS_LCA(char *, (__arg1), A0), \
14 AROS_LCA(MPEGA_CTRL *, (__arg2), A1), \
15 struct Library *, (__MPEGABase), 5, mpega)
17 #define MPEGA_open(arg1, arg2) \
18 __MPEGA_open_WB(MPEGABase, (arg1), (arg2))
20 #define __MPEGA_close_WB(__MPEGABase, __arg1) \
21 AROS_LC1(void, MPEGA_close, \
22 AROS_LCA(MPEGA_STREAM *, (__arg1), A0), \
23 struct Library *, (__MPEGABase), 6, mpega)
25 #define MPEGA_close(arg1) \
26 __MPEGA_close_WB(MPEGABase, (arg1))
28 #define __MPEGA_decode_frame_WB(__MPEGABase, __arg1, __arg2) \
29 AROS_LC2(LONG, MPEGA_decode_frame, \
30 AROS_LCA(MPEGA_STREAM *, (__arg1), A0), \
31 AROS_LCA(WORD *, (__arg2), A1), \
32 struct Library *, (__MPEGABase), 7, mpega)
34 #define MPEGA_decode_frame(arg1, arg2) \
35 __MPEGA_decode_frame_WB(MPEGABase, (arg1), (arg2))
37 #define __MPEGA_seek_WB(__MPEGABase, __arg1, __arg2) \
38 AROS_LC2(LONG, MPEGA_seek, \
39 AROS_LCA(MPEGA_STREAM *, (__arg1), A0), \
40 AROS_LCA(ULONG, (__arg2), D0), \
41 struct Library *, (__MPEGABase), 8, mpega)
43 #define MPEGA_seek(arg1, arg2) \
44 __MPEGA_seek_WB(MPEGABase, (arg1), (arg2))
46 #define __MPEGA_time_WB(__MPEGABase, __arg1, __arg2) \
47 AROS_LC2(LONG, MPEGA_time, \
48 AROS_LCA(MPEGA_STREAM *, (__arg1), A0), \
49 AROS_LCA(ULONG *, (__arg2), A1), \
50 struct Library *, (__MPEGABase), 9, mpega)
52 #define MPEGA_time(arg1, arg2) \
53 __MPEGA_time_WB(MPEGABase, (arg1), (arg2))
55 #define __MPEGA_find_sync_WB(__MPEGABase, __arg1, __arg2) \
56 AROS_LC2(LONG, MPEGA_find_sync, \
57 AROS_LCA(UBYTE *, (__arg1), A0), \
58 AROS_LCA(LONG, (__arg2), D0), \
59 struct Library *, (__MPEGABase), 10, mpega)
61 #define MPEGA_find_sync(arg1, arg2) \
62 __MPEGA_find_sync_WB(MPEGABase, (arg1), (arg2))
64 #define __MPEGA_scale_WB(__MPEGABase, __arg1, __arg2) \
65 AROS_LC2(LONG, MPEGA_scale, \
66 AROS_LCA(MPEGA_STREAM *, (__arg1), A0), \
67 AROS_LCA(LONG, (__arg2), D0), \
68 struct Library *, (__MPEGABase), 11, mpega)
70 #define MPEGA_scale(arg1, arg2) \
71 __MPEGA_scale_WB(MPEGABase, (arg1), (arg2))
73 #endif /* DEFINES_MPEGA_PROTOS_H*/