Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / cgxvideo / GetVLayerAttr.c
blob967dcaf9032f389cdeeb05640a2a8fd106d31609
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
5 #include <aros/debug.h>
7 #include "cgxvideo_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <clib/cgxvideo_protos.h>
14 AROS_LH2(ULONG, GetVLayerAttr,
16 /* SYNOPSIS */
17 AROS_LHA(struct VLayerHandle *, VLayerHandle, A0),
18 AROS_LHA(ULONG, AttrNum, D0),
20 /* LOCATION */
21 struct Library *, CGXVideoBase, 9, Cgxvideo)
23 /* FUNCTION
24 Gets a certain attribute from a given video layer. You have to call
25 LockVLayer() to make sure that the result is valid !
27 INPUTS
28 VLayerHandle - pointer to a previously created videolayer handle
30 AttrNum - attribute that you want to get
32 RESULT
33 value - the value for the given attribute
35 NOTES
36 Attributes available are:
38 VOA_BaseAddress - if this attribute is specified the base address for
39 the source data is returned
41 VOA_ColorKeyPen - returns the pen number used for color keying. If color
42 keying is not enabled, -1 is returned
44 VOA_ColorKey - returns the 24 bit color value used for color keying.
45 If color keying is not enabled, -1 is returned.
47 EXAMPLE
49 BUGS
51 SEE ALSO
52 SetVLayerAttrTagList()
54 INTERNALS
56 HISTORY
58 *****************************************************************************/
60 AROS_LIBFUNC_INIT
62 aros_print_not_implemented ("GetVLayerAttr");
64 AROS_LIBFUNC_EXIT
65 } /* GetVLayerAttr */