add casts to zune macros to silence some warnings
[tangerine.git] / workbench / libs / cgxvideo / include / cgxvideo.h
blobafe080059c191a2ef2dfb4dccc853476c9c8e1e8
1 #ifndef LIBRARIES_CGXVIDEO_H
2 #define LIBRARIES_CGXVIDEO_H
5 #ifndef EXEC_TYPES_H
6 #include <exec/types.h>
7 #endif
10 struct VLayerHandle
12 ULONG VLH_Void; /*dont know the structure _yet_ */
16 #define VOA_TAGBASE (0x88000000)
18 #define VOA_LeftIndent (VOA_TAGBASE+0x01)
19 #define VOA_RightIndent (VOA_TAGBASE+0x02)
20 #define VOA_TopIndent (VOA_TAGBASE+0x03)
21 #define VOA_BottomIndent (VOA_TAGBASE+0x04)
23 #define VOA_SrcType (VOA_TAGBASE+0x05)
24 #define VOA_SrcWidth (VOA_TAGBASE+0x06)
25 #define VOA_SrcHeight (VOA_TAGBASE+0x07)
27 #define VOA_Error (VOA_TAGBASE+0x08)
29 #define VOA_UseColorKey (VOA_TAGBASE+0x09)
31 #define VOA_UseBackfill (VOA_TAGBASE+0x0a)
33 #define VOA_BaseAddress (VOA_TAGBASE+0x30)
34 #define VOA_ColorKeyPen (VOA_TAGBASE+0x31)
35 #define VOA_ColorKey (VOA_TAGBASE+0x32)
37 /* returned error values for VOA_Error tag */
39 #define VOERR_OK 0 /* No error */
40 #define VOERR_INVSCRMODE 1 /* video overlay not possible for selected mode */
41 #define VOERR_NOOVLMEMORY 2 /* No memory free for video overlay */
42 #define VOERR_INVSRCFMT 3 /* Source in unsupported format*/
43 #define VOERR_NOMEMORY 4 /* Not enough free memory */
45 /* Source data types --------------------- */
47 #define SRCFMT_YUV16 0
48 #define SRCFMT_YCbCr16 1
49 #define SRCFMT_RGB15PC 2 /* for historical reasons this format is byte swapped */
50 #define SRCFMT_RGB16PC 3 /* for historical reasons this format is byte swapped */
52 #endif /* LIBRARIES_CGXVIDEO_H */