locale.library: correctly return the position of remaining datastream
[AROS.git] / workbench / libs / cgxvideo / include / cgxvideo.h
blobe97aeaae4af9cf5d01381db4aaf2fc0b6d687d0b
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;
13 #define VOA_TAGBASE (0x88000000)
15 #define VOA_LeftIndent (VOA_TAGBASE+0x01)
16 #define VOA_RightIndent (VOA_TAGBASE+0x02)
17 #define VOA_TopIndent (VOA_TAGBASE+0x03)
18 #define VOA_BottomIndent (VOA_TAGBASE+0x04)
20 #define VOA_SrcType (VOA_TAGBASE+0x05)
21 #define VOA_SrcWidth (VOA_TAGBASE+0x06)
22 #define VOA_SrcHeight (VOA_TAGBASE+0x07)
24 #define VOA_Error (VOA_TAGBASE+0x08)
26 #define VOA_UseColorKey (VOA_TAGBASE+0x09)
28 #define VOA_UseBackfill (VOA_TAGBASE+0x0a)
30 #define VOA_BaseAddress (VOA_TAGBASE+0x30)
31 #define VOA_ColorKeyPen (VOA_TAGBASE+0x31)
32 #define VOA_ColorKey (VOA_TAGBASE+0x32)
34 /* returned error values for VOA_Error tag */
36 #define VOERR_OK 0 /* No error */
37 #define VOERR_INVSCRMODE 1 /* video overlay not possible for selected mode */
38 #define VOERR_NOOVLMEMORY 2 /* No memory free for video overlay */
39 #define VOERR_INVSRCFMT 3 /* Source in unsupported format*/
40 #define VOERR_NOMEMORY 4 /* Not enough free memory */
42 /* Source data types --------------------- */
44 #define SRCFMT_YUV16 0
45 #define SRCFMT_YCbCr16 1
46 #define SRCFMT_RGB15PC 2 /* for historical reasons this format is byte swapped */
47 #define SRCFMT_RGB16PC 3 /* for historical reasons this format is byte swapped */
49 #endif /* LIBRARIES_CGXVIDEO_H */