TIOVX User Guide
tivx_raw_image.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 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 TIVX_RAW_IMAGE_H_
20 #define TIVX_RAW_IMAGE_H_
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
37 typedef struct _tivx_raw_image_map_info_t
38 {
40  uint8_t *map_addr;
48 
49 
50 
56 typedef struct _tivx_raw_image
57 {
62 #if 0
63 
64  tivx_raw_image subimages[TIVX_RAW_IMAGE_MAX_SUBIMAGES];
65 #endif
66 
67  tivx_raw_image_map_info_t maps[TIVX_RAW_IMAGE_MAX_MAPS];
69  uint32_t mem_offset[TIVX_RAW_IMAGE_MAX_EXPOSURES];
71 
72 
86 
87 #ifdef __cplusplus
88 }
89 #endif
90 
91 #endif
vx_status ownDeriveRawImageBufferPointers(vx_reference ref)
Function to derive raw image pointers such as pixel buffer, meta before, meta after from alloc pointe...
size_t vx_size
vx_enum usage
Type of access being done by user, see vx_accessor_e.
int32_t vx_enum
uint8_t * map_addr
Address mapped via tivxMapRawImagePatch()
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
struct _tivx_raw_image * tivx_raw_image
The Raw Image Object. Raw Image is a strongly-typed container for RAW sensor images.
vx_enum vx_status
tivx_raw_image parent
A pointer to a parent raw image object.
tivx_reference_t base
reference object
Image object internal state.
struct _vx_reference * vx_reference
vx_size map_size
Size of memory region mapped via tivxMapRawImagePatch()
vx_enum mem_type
Type of memory mapped via tivxMapRawImagePatch(), see vx_memory_type_e and tivx_memory_type_e.
#define TIVX_RAW_IMAGE_MAX_EXPOSURES
Maximum number of RAW image exposures that can be contained in a raw image object.
Information about a raw image mapping.