TIOVX User Guide
vx_meta_format.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_META_FORMAT_H_
20 #define VX_META_FORMAT_H_
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
37 typedef struct _vx_meta_format
38 {
41 
46 
49 
52  struct {
59  } img;
60 
63  struct {
65  vx_uint32 width;
67  vx_uint32 height;
69  vx_df_image format;
73  vx_float32 scale;
74  } pmd;
75 
78  struct {
80  vx_enum type;
81  } sc;
82 
85  struct {
89  vx_size capacity;
90  } arr;
91 
94  struct {
96  vx_enum type;
101  } mat;
102 
105  struct {
112  } dist;
113 
116  struct {
125  } remap;
126 
129  struct {
131  vx_enum type;
134  } lut;
135 
138  struct {
140  vx_enum type;
141  } thres;
142 
145  struct {
147  vx_enum item_type;
150  } objarr;
151 
154  struct {
163  } tensor;
164 
167  struct {
171  vx_size size;
172  } user_data_object;
173 
177 
179 
180 
188 
199 
217 
218 #ifdef __cplusplus
219 }
220 #endif
221 
222 #endif
vx_bool
#define VX_MAX_REFERENCE_NAME
vx_size levels
The ratio between each level.
vx_kernel_image_valid_rectangle_f valid_rect_callback
structure containing information about image used when type is set to VX_TYPE_IMAGE ...
vx_status(* vx_kernel_image_valid_rectangle_f)(vx_node node, vx_uint32 index, const vx_rectangle_t *const input_valid[], vx_rectangle_t *const output_valid[])
size_t vx_size
vx_bool ownIsMetaFormatEqual(vx_meta_format meta1, vx_meta_format meta2, vx_enum ref_type)
Check for equivalence between two meta format objects.
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
int32_t vx_int32
vx_size number_of_dimensions
The number of dimensions in the tensor.
vx_status ownReleaseMetaFormat(vx_meta_format *meta)
Releases a meta-format object.
char vx_char
float vx_float32
vx_enum vx_status
struct _vx_context * vx_context
struct _vx_meta_format * vx_meta_format
vx_enum data_type
The data type of tensor.
uint32_t vx_df_image
vx_uint32 width
The width of the image in pixels.
#define TIVX_CONTEXT_MAX_TENSOR_DIMS
Max possible dimensions of data in a tensor.
Definition: tivx_obj_desc.h:98
vx_enum type
The type of the scalar.
vx_size size
The type of meta data.
vx_df_image format
The number of scale levels.
Meta Format object internal state.
uint32_t vx_uint32
vx_uint32 height
The format of the image.
vx_meta_format ownCreateMetaFormat(vx_context context)
Creates a metaformat object.
int8_t vx_int8
tivx_reference_t base
reference object
vx_enum item_type
The type of the Array items.
The raw image create params structure that is given to the tivxCreateRawImage function.
vx_int8 fixed_point_position
The fixed point precision of the tensor.