TIOVX User Guide
vx_parameter.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2016 The Khronos Group Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
18 
19 #ifndef VX_PARAMETER_H_
20 #define VX_PARAMETER_H_
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
39 typedef struct _vx_parameter
40 {
43 
52 
54 
55 
61 
66 vx_bool ownIsValidTypeMatch(vx_enum expected, vx_enum supplied);
67 
72 
73 
74 
75 
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif
vx_bool
vx_bool ownIsValidDirection(vx_enum dir)
This returns true if the direction is a valid enum.
int32_t vx_enum
The most basic type in the OpenVX system. Any type that inherits from tivx_reference_t must have a vx...
Definition: vx_reference.h:63
tivx_reference_t base
reference object
Definition: vx_parameter.h:42
vx_kernel kernel
Pointer to the kernel which this parameter is associated with, if retrieved from vxGetKernelParameter...
Definition: vx_parameter.h:51
struct _vx_kernel * vx_kernel
Parameter object internal state.
Definition: vx_parameter.h:39
vx_bool ownIsValidTypeMatch(vx_enum expected, vx_enum supplied)
This returns true if the supplied type matches the expected type with some fuzzy rules.
vx_node node
Pointer to the node which this parameter is associated with.
Definition: vx_parameter.h:47
uint32_t vx_uint32
vx_bool ownIsValidState(vx_enum state)
This returns true if the supplied state is a valid enum.
struct _vx_node * vx_node
vx_uint32 index
Index at which this parameter is tracked in both the node references and kernel signatures.
Definition: vx_parameter.h:45