1 #ifndef CLIB_CGXVIDEO_H
    2 #define CLIB_CGXVIDEO_H
    3 
    4 #ifndef INTUITION_INTUITION_H
    5 #include <intuition/intuition.h>
    6 #endif
    7 
    8 #ifndef INTUITION_SCREENS_H
    9 #include <intuition/screens.h>
   10 #endif
   11 
   12 #ifndef LIBRARIES_CGXVIDEO_H
   13 #include <cybergraphx/cgxvideo.h>
   14 #endif
   15 
   16 #ifndef UTILITY_TAGITEM_H
   17 #include <utility/tagitem.h>
   18 #endif
   19 
   20 struct VLayerHandle;
   21 
   22 
   23 #ifdef __cplusplus
   24 extern "C" {
   25 #endif /* __cplusplus */
   26 
   27 struct VLayerHandle *CreateVLayerHandleTagList(struct Screen *,struct TagItem *);
   28 
   29 ULONG DeleteVLayerHandle(struct VLayerHandle *);
   30 
   31 ULONG AttachVLayerTagList(struct VLayerHandle *,struct Window *,struct TagItem *);
   32 
   33 ULONG DetachVLayer(struct VLayerHandle *);
   34 
   35 ULONG GetVLayerAttr(struct VLayerHandle *,ULONG AttrID);
   36 
   37 ULONG UnlockVLayer(struct VLayerHandle *);
   38 
   39 ULONG LockVLayer(struct VLayerHandle *);
   40 
   41 void SetVLayerAttrTagList(struct VLayerHandle *,struct TagItem *);
   42 
   43 void SwapVLayerBuffer(struct VLayerHandle *);
   44 
   45 ULONG WriteSPLine(struct VLayerHandle *,unsigned char *,int,int,int);
   46 
   47 ULONG QueryVLayerAttr(struct Screen *,ULONG AttrID);
   48 
   49 #if !defined(USE_INLINE_STDARG)
   50 ULONG AttachVLayerTags(struct VLayerHandle *,struct Window *,Tag, ...);
   51 #endif
   52 
   53 #if !defined(USE_INLINE_STDARG)
   54 struct VLayerHandle *CreateVLayerHandleTags(struct Screen *,Tag, ...);
   55 #endif
   56 
   57 #if !defined(USE_INLINE_STDARG)
   58 void SetVLayerAttrTags(struct VLayerHandle *,Tag, ...);
   59 #endif
   60 
   61 #ifdef __cplusplus
   62 }
   63 #endif /* __cplusplus */
   64 
   65 
   66 #endif