TIOVX User Guide
tivx_bam_kernel_database.h
Go to the documentation of this file.
1 /*
2 *
3 * Copyright (c) 2017 Texas Instruments Incorporated
4 *
5 * All rights reserved not granted herein.
6 *
7 * Limited License.
8 *
9 * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
10 * license under copyrights and patents it now or hereafter owns or controls to make,
11 * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
12 * terms herein. With respect to the foregoing patent license, such license is granted
13 * solely to the extent that any such patent is necessary to Utilize the software alone.
14 * The patent license shall not apply to any combinations which include this software,
15 * other than combinations with devices manufactured by or for TI ("TI Devices").
16 * No hardware patent is licensed hereunder.
17 *
18 * Redistributions must preserve existing copyright notices and reproduce this license
19 * (including the above copyright notice and the disclaimer and (if applicable) source
20 * code license limitations below) in the documentation and/or other materials provided
21 * with the distribution
22 *
23 * Redistribution and use in binary form, without modification, are permitted provided
24 * that the following conditions are met:
25 *
26 * * No reverse engineering, decompilation, or disassembly of this software is
27 * permitted with respect to any software provided in binary form.
28 *
29 * * any redistribution and use are licensed by TI for use only with TI Devices.
30 *
31 * * Nothing shall obligate TI to provide you with source code for the software
32 * licensed and provided to you in object code.
33 *
34 * If software source code is provided to you, modification and redistribution of the
35 * source code are permitted provided that the following conditions are met:
36 *
37 * * any redistribution and use of the source code, including any resulting derivative
38 * works, are licensed by TI for use only with TI Devices.
39 *
40 * * any redistribution and use of any object code compiled from the source code
41 * and any resulting derivative works, are licensed by TI for use only with TI Devices.
42 *
43 * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
44 *
45 * may be used to endorse or promote products derived from this software without
46 * specific prior written permission.
47 *
48 * DISCLAIMER.
49 *
50 * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
51 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
52 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
54 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
55 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
56 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
57 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
58 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
59 * OF THE POSSIBILITY OF SUCH DAMAGE.
60 *
61 */
62 
63 
71 #ifndef BAM_DATABASE_H
72 #define BAM_DATABASE_H
73 
74 #include "algframework.h"
75 #include "ti/vxlib/src/common/VXLIB_bufParams.h"
76 #include "ti/vxlib/src/vx/VXLIB_absDiff_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_absDiff_i8u_i8u_o8u.h"
77 #include "ti/vxlib/src/vx/VXLIB_absDiff_i16s_i16s_o16s/bam_plugin/BAM_VXLIB_absDiff_i16s_i16s_o16s.h"
78 #include "ti/vxlib/src/vx/VXLIB_cannyNMS_i16s_i16s_i16u_o8u/bam_plugin/BAM_VXLIB_cannyNMS_i16s_i16s_i16u_o8u.h"
79 #include "ti/vxlib/src/vx/VXLIB_doubleThreshold_i16u_i8u/bam_plugin/BAM_VXLIB_doubleThreshold_i16u_i8u.h"
80 #include "ti/vxlib/src/vx/VXLIB_harrisCornersScore_i16s_i16s_o32f/bam_plugin/BAM_VXLIB_harrisCornersScore_i16s_i16s_o32f.h"
81 #include "ti/vxlib/src/vx/VXLIB_harrisCornersScore_i32s_i32s_o32f/bam_plugin/BAM_VXLIB_harrisCornersScore_i32s_i32s_o32f.h"
82 #include "ti/vxlib/src/vx/VXLIB_histogram_i8u_o32u/bam_plugin/BAM_VXLIB_histogram_i8u_o32u.h"
83 #include "ti/vxlib/src/vx/VXLIB_normL1_i16s_i16s_o16u/bam_plugin/BAM_VXLIB_normL1_i16s_i16s_o16u.h"
84 #include "ti/vxlib/src/vx/VXLIB_normL2_i16s_i16s_o16u/bam_plugin/BAM_VXLIB_normL2_i16s_i16s_o16u.h"
85 #include "ti/vxlib/src/vx/VXLIB_sobel_3x3_i8u_o16s_o16s/bam_plugin/BAM_VXLIB_sobel_3x3_i8u_o16s_o16s.h"
86 #include "ti/vxlib/src/vx/VXLIB_sobel_5x5_i8u_o16s_o16s/bam_plugin/BAM_VXLIB_sobel_5x5_i8u_o16s_o16s.h"
87 #include "ti/vxlib/src/vx/VXLIB_sobel_7x7_i8u_o16s_o16s/bam_plugin/BAM_VXLIB_sobel_7x7_i8u_o16s_o16s.h"
88 #include "ti/vxlib/src/vx/VXLIB_sobel_7x7_i8u_o32s_o32s/bam_plugin/BAM_VXLIB_sobel_7x7_i8u_o32s_o32s.h"
89 #include "ti/vxlib/src/vx/VXLIB_sobelX_3x3_i8u_o16s/bam_plugin/BAM_VXLIB_sobelX_3x3_i8u_o16s.h"
90 #include "ti/vxlib/src/vx/VXLIB_sobelY_3x3_i8u_o16s/bam_plugin/BAM_VXLIB_sobelY_3x3_i8u_o16s.h"
91 #include "ti/vxlib/src/vx/VXLIB_tableLookup_i16s_o16s/bam_plugin/BAM_VXLIB_tableLookup_i16s_o16s.h"
92 #include "ti/vxlib/src/vx/VXLIB_tableLookup_i8u_o8u/bam_plugin/BAM_VXLIB_tableLookup_i8u_o8u.h"
93 #include "ti/vxlib/src/vx/VXLIB_integralImage_i8u_o32u/bam_plugin/BAM_VXLIB_integralImage_i8u_o32u.h"
94 #include "ti/vxlib/src/vx/VXLIB_not_i8u_o8u/bam_plugin/BAM_VXLIB_not_i8u_o8u.h"
95 #include "ti/vxlib/src/vx/VXLIB_and_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_and_i8u_i8u_o8u.h"
96 #include "ti/vxlib/src/vx/VXLIB_or_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_or_i8u_i8u_o8u.h"
97 #include "ti/vxlib/src/vx/VXLIB_xor_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_xor_i8u_i8u_o8u.h"
98 #include "ti/vxlib/src/vx/VXLIB_add_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_add_i8u_i8u_o8u.h"
99 #include "ti/vxlib/src/vx/VXLIB_add_i8u_i8u_o16s/bam_plugin/BAM_VXLIB_add_i8u_i8u_o16s.h"
100 #include "ti/vxlib/src/vx/VXLIB_add_i8u_i16s_o16s/bam_plugin/BAM_VXLIB_add_i8u_i16s_o16s.h"
101 #include "ti/vxlib/src/vx/VXLIB_add_i16s_i16s_o16s/bam_plugin/BAM_VXLIB_add_i16s_i16s_o16s.h"
102 #include "ti/vxlib/src/vx/VXLIB_subtract_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_subtract_i8u_i8u_o8u.h"
103 #include "ti/vxlib/src/vx/VXLIB_subtract_i8u_i8u_o16s/bam_plugin/BAM_VXLIB_subtract_i8u_i8u_o16s.h"
104 #include "ti/vxlib/src/vx/VXLIB_subtract_i8u_i16s_o16s/bam_plugin/BAM_VXLIB_subtract_i8u_i16s_o16s.h"
105 #include "ti/vxlib/src/vx/VXLIB_subtract_i16s_i16s_o16s/bam_plugin/BAM_VXLIB_subtract_i16s_i16s_o16s.h"
106 #include "ti/vxlib/src/vx/VXLIB_multiply_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_multiply_i8u_i8u_o8u.h"
107 #include "ti/vxlib/src/vx/VXLIB_multiply_i8u_i8u_o16s/bam_plugin/BAM_VXLIB_multiply_i8u_i8u_o16s.h"
108 #include "ti/vxlib/src/vx/VXLIB_multiply_i8u_i16s_o16s/bam_plugin/BAM_VXLIB_multiply_i8u_i16s_o16s.h"
109 #include "ti/vxlib/src/vx/VXLIB_multiply_i16s_i16s_o16s/bam_plugin/BAM_VXLIB_multiply_i16s_i16s_o16s.h"
110 #include "ti/vxlib/src/vx/VXLIB_minMaxLoc_i8u/bam_plugin/BAM_VXLIB_minMaxLoc_i8u.h"
111 #include "ti/vxlib/src/vx/VXLIB_minMaxLoc_i16s/bam_plugin/BAM_VXLIB_minMaxLoc_i16s.h"
112 #include "ti/vxlib/src/vx/VXLIB_thresholdBinary_i8u_o8u/bam_plugin/BAM_VXLIB_thresholdBinary_i8u_o8u.h"
113 #include "ti/vxlib/src/vx/VXLIB_thresholdRange_i8u_o8u/bam_plugin/BAM_VXLIB_thresholdRange_i8u_o8u.h"
114 #include "ti/vxlib/src/vx/VXLIB_box_3x3_i8u_o8u/bam_plugin/BAM_VXLIB_box_3x3_i8u_o8u.h"
115 #include "ti/vxlib/src/vx/VXLIB_dilate_3x3_i8u_o8u/bam_plugin/BAM_VXLIB_dilate_3x3_i8u_o8u.h"
116 #include "ti/vxlib/src/vx/VXLIB_erode_3x3_i8u_o8u/bam_plugin/BAM_VXLIB_erode_3x3_i8u_o8u.h"
117 #include "ti/vxlib/src/vx/VXLIB_gaussian_3x3_i8u_o8u/bam_plugin/BAM_VXLIB_gaussian_3x3_i8u_o8u.h"
118 #include "ti/vxlib/src/vx/VXLIB_median_3x3_i8u_o8u/bam_plugin/BAM_VXLIB_median_3x3_i8u_o8u.h"
119 #include "ti/vxlib/src/vx/VXLIB_addSquare_i8u_i16s_o16s/bam_plugin/BAM_VXLIB_addSquare_i8u_i16s_o16s.h"
120 #include "ti/vxlib/src/vx/VXLIB_addWeight_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_addWeight_i8u_i8u_o8u.h"
121 #include "ti/vxlib/src/vx/VXLIB_convertDepth_i8u_o16s/bam_plugin/BAM_VXLIB_convertDepth_i8u_o16s.h"
122 #include "ti/vxlib/src/vx/VXLIB_convertDepth_i16s_o8u/bam_plugin/BAM_VXLIB_convertDepth_i16s_o8u.h"
123 #include "ti/vxlib/src/vx/VXLIB_channelExtract_1of2_i8u_o8u/bam_plugin/BAM_VXLIB_channelExtract_1of2_i8u_o8u.h"
124 #include "ti/vxlib/src/vx/VXLIB_channelExtract_1of3_i8u_o8u/bam_plugin/BAM_VXLIB_channelExtract_1of3_i8u_o8u.h"
125 #include "ti/vxlib/src/vx/VXLIB_channelExtract_1of4_i8u_o8u/bam_plugin/BAM_VXLIB_channelExtract_1of4_i8u_o8u.h"
126 #include "ti/vxlib/src/vx/VXLIB_channelCombine_2to1_i8u_o8u/bam_plugin/BAM_VXLIB_channelCombine_2to1_i8u_o8u.h"
127 #include "ti/vxlib/src/vx/VXLIB_channelCombine_3to1_i8u_o8u/bam_plugin/BAM_VXLIB_channelCombine_3to1_i8u_o8u.h"
128 #include "ti/vxlib/src/vx/VXLIB_channelCombine_4to1_i8u_o8u/bam_plugin/BAM_VXLIB_channelCombine_4to1_i8u_o8u.h"
129 #include "ti/vxlib/src/vx/VXLIB_channelCombine_yuyv_i8u_o8u/bam_plugin/BAM_VXLIB_channelCombine_yuyv_i8u_o8u.h"
130 #include "ti/vxlib/src/vx/VXLIB_channelCopy_1to1_i8u_o8u/bam_plugin/BAM_VXLIB_channelCopy_1to1_i8u_o8u.h"
131 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBtoYUV4_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBtoYUV4_i8u_o8u.h"
132 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBtoRGBX_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBtoRGBX_i8u_o8u.h"
133 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBtoNV12_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBtoNV12_i8u_o8u.h"
134 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBtoIYUV_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBtoIYUV_i8u_o8u.h"
135 
136 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBXtoYUV4_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBXtoYUV4_i8u_o8u.h"
137 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBXtoRGB_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBXtoRGB_i8u_o8u.h"
138 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBXtoNV12_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBXtoNV12_i8u_o8u.h"
139 #include "ti/vxlib/src/vx/VXLIB_colorConvert_RGBXtoIYUV_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_RGBXtoIYUV_i8u_o8u.h"
140 
141 #include "ti/vxlib/src/vx/VXLIB_colorConvert_NVXXtoRGB_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_NVXXtoRGB_i8u_o8u.h"
142 #include "ti/vxlib/src/vx/VXLIB_colorConvert_NVXXtoRGBX_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_NVXXtoRGBX_i8u_o8u.h"
143 #include "ti/vxlib/src/vx/VXLIB_colorConvert_NVXXtoYUV4_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_NVXXtoYUV4_i8u_o8u.h"
144 #include "ti/vxlib/src/vx/VXLIB_colorConvert_NVXXtoIYUV_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_NVXXtoIYUV_i8u_o8u.h"
145 
146 #include "ti/vxlib/src/vx/VXLIB_colorConvert_IYUVtoRGB_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_IYUVtoRGB_i8u_o8u.h"
147 #include "ti/vxlib/src/vx/VXLIB_colorConvert_IYUVtoRGBX_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_IYUVtoRGBX_i8u_o8u.h"
148 #include "ti/vxlib/src/vx/VXLIB_colorConvert_IYUVtoYUV4_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_IYUVtoYUV4_i8u_o8u.h"
149 #include "ti/vxlib/src/vx/VXLIB_colorConvert_IYUVtoNV12_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_IYUVtoNV12_i8u_o8u.h"
150 
151 #include "ti/vxlib/src/vx/VXLIB_colorConvert_YUVXtoRGB_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_YUVXtoRGB_i8u_o8u.h"
152 #include "ti/vxlib/src/vx/VXLIB_colorConvert_YUVXtoRGBX_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_YUVXtoRGBX_i8u_o8u.h"
153 #include "ti/vxlib/src/vx/VXLIB_colorConvert_YUVXtoIYUV_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_YUVXtoIYUV_i8u_o8u.h"
154 #include "ti/vxlib/src/vx/VXLIB_colorConvert_YUVXtoNV12_i8u_o8u/bam_plugin/BAM_VXLIB_colorConvert_YUVXtoNV12_i8u_o8u.h"
155 
156 #include "ti/vxlib/src/vx/VXLIB_convolve_i8u_c16s_o8u/bam_plugin/BAM_VXLIB_convolve_i8u_c16s_o8u.h"
157 #include "ti/vxlib/src/vx/VXLIB_convolve_i8u_c16s_o16s/bam_plugin/BAM_VXLIB_convolve_i8u_c16s_o16s.h"
158 
159 #include "ti/vxlib/src/vx/VXLIB_magnitude_i16s_i16s_o16s/bam_plugin/BAM_VXLIB_magnitude_i16s_i16s_o16s.h"
160 #include "ti/vxlib/src/vx/VXLIB_phase_i16s_i16s_o8u/bam_plugin/BAM_VXLIB_phase_i16s_i16s_o8u.h"
161 
162 #include "ti/vxlib/src/vx/VXLIB_erode_MxN_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_erode_MxN_i8u_i8u_o8u.h"
163 #include "ti/vxlib/src/vx/VXLIB_dilate_MxN_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_dilate_MxN_i8u_i8u_o8u.h"
164 #include "ti/vxlib/src/vx/VXLIB_median_MxN_i8u_i8u_o8u/bam_plugin/BAM_VXLIB_median_MxN_i8u_i8u_o8u.h"
165 
166 #include "ti/vxlib/src/vx/VXLIB_scaleImageNearest_i8u_o8u/bam_plugin/BAM_VXLIB_scaleImageNearest_i8u_o8u.h"
167 #include "ti/vxlib/src/vx/VXLIB_halfScaleGaussian_5x5_i8u_o8u/bam_plugin/BAM_VXLIB_halfScaleGaussian_5x5_i8u_o8u.h"
168 
169 #include "ti/vxlib/src/vx/VXLIB_histogramSimple_i8u_o32u/bam_plugin/BAM_VXLIB_histogramSimple_i8u_o32u.h"
170 
171 #include "ti/vxlib/src/vx/VXLIB_meanStdDev_i8u_o32f/bam_plugin/BAM_VXLIB_meanStdDev_i8u_o32f.h"
172 
173 
174 extern BAM_KernelDBdef gBAM_TI_kernelDBdef;
175 
180 typedef struct
181 {
182  BAM_KernelInfo *kernelInfo;
183  BAM_KernelHelperFuncDef *kernelHelperFunc;
184  BAM_KernelExecFuncDef *kernelExecFunc;
185  char *name;
186  BAM_KernelId kernelId;
188 
189 typedef enum _bam_ti_kernelid
190 {
191  BAM_TI_KERNELID_UNDEFINED = -1,
192 
193  BAM_KERNELID_DMAREAD_AUTOINCREMENT = 0,
194  BAM_KERNELID_DMAWRITE_AUTOINCREMENT = 1,
195  BAM_KERNELID_DMAREAD_NULL = 2,
196  BAM_KERNELID_DMAWRITE_NULL = 3,
197  BAM_KERNELID_VXLIB_ABSDIFF_I16S_I16S_O16S = 4,
198  BAM_KERNELID_VXLIB_ABSDIFF_I8U_I8U_O8U = 5,
199  BAM_KERNELID_VXLIB_ADD_I16S_I16S_O16S = 6,
200  BAM_KERNELID_VXLIB_ADD_I8U_I16S_O16S = 7,
201  BAM_KERNELID_VXLIB_ADD_I8U_I8U_O16S = 8,
202  BAM_KERNELID_VXLIB_ADD_I8U_I8U_O8U = 9,
203  BAM_KERNELID_VXLIB_ADDSQUARE_I8U_I16S_O16S = 10,
204  BAM_KERNELID_VXLIB_ADDWEIGHT_I8U_I8U_O8U = 11,
205  BAM_KERNELID_VXLIB_AND_I8U_I8U_O8U = 12,
206  BAM_KERNELID_VXLIB_BOX_3X3_I8U_O8U = 13,
207  BAM_KERNELID_VXLIB_CANNYNMS_I16S_I16S_I16U_O8U = 14,
208  BAM_KERNELID_VXLIB_CHANNELCOPY_1TO1_I8U_O8U = 15,
209  BAM_KERNELID_VXLIB_CHANNEL_COMBINE_2TO1_I8U_O8U = 16,
210  BAM_KERNELID_VXLIB_CHANNEL_COMBINE_3TO1_I8U_O8U = 17,
211  BAM_KERNELID_VXLIB_CHANNEL_COMBINE_4TO1_I8U_O8U = 18,
212  BAM_KERNELID_VXLIB_CHANNEL_COMBINE_YUYV_I8U_O8U = 19,
213  BAM_KERNELID_VXLIB_CHANNELEXTRACT_1OF2_I8U_O8U = 20,
214  BAM_KERNELID_VXLIB_CHANNELEXTRACT_1OF3_I8U_O8U = 21,
215  BAM_KERNELID_VXLIB_CHANNELEXTRACT_1OF4_I8U_O8U = 22,
216  BAM_KERNELID_VXLIB_COLORCONVERT_IYUVtoNV12_I8U_O8U = 23,
217  BAM_KERNELID_VXLIB_COLORCONVERT_IYUVtoRGB_I8U_O8U = 24,
218  BAM_KERNELID_VXLIB_COLORCONVERT_IYUVtoRGBX_I8U_O8U = 25,
219  BAM_KERNELID_VXLIB_COLORCONVERT_IYUVtoYUV4_I8U_O8U = 26,
220  BAM_KERNELID_VXLIB_COLORCONVERT_NVXXtoIYUV_I8U_O8U = 27,
221  BAM_KERNELID_VXLIB_COLORCONVERT_NVXXtoRGB_I8U_O8U = 28,
222  BAM_KERNELID_VXLIB_COLORCONVERT_NVXXtoRGBX_I8U_O8U = 29,
223  BAM_KERNELID_VXLIB_COLORCONVERT_NVXXtoYUV4_I8U_O8U = 30,
224  BAM_KERNELID_VXLIB_COLORCONVERT_RGBtoIYUV_I8U_O8U = 31,
225  BAM_KERNELID_VXLIB_COLORCONVERT_RGBtoNV12_I8U_O8U = 32,
226  BAM_KERNELID_VXLIB_COLORCONVERT_RGBtoRGBX_I8U_O8U = 33,
227  BAM_KERNELID_VXLIB_COLORCONVERT_RGBtoYUV4_I8U_O8U = 34,
228  BAM_KERNELID_VXLIB_COLORCONVERT_RGBXtoIYUV_I8U_O8U = 35,
229  BAM_KERNELID_VXLIB_COLORCONVERT_RGBXtoNV12_I8U_O8U = 36,
230  BAM_KERNELID_VXLIB_COLORCONVERT_RGBXtoRGB_I8U_O8U = 37,
231  BAM_KERNELID_VXLIB_COLORCONVERT_RGBXtoYUV4_I8U_O8U = 38,
232  BAM_KERNELID_VXLIB_COLORCONVERT_YUVXtoIYUV_I8U_O8U = 39,
233  BAM_KERNELID_VXLIB_COLORCONVERT_YUVXtoNV12_I8U_O8U = 40,
234  BAM_KERNELID_VXLIB_COLORCONVERT_YUVXtoRGB_I8U_O8U = 41,
235  BAM_KERNELID_VXLIB_COLORCONVERT_YUVXtoRGBX_I8U_O8U = 42,
236  BAM_KERNELID_VXLIB_CONVERTDEPTH_I16S_O8U = 43,
237  BAM_KERNELID_VXLIB_CONVERTDEPTH_I8U_O16S = 44,
238  BAM_KERNELID_VXLIB_CONVOLVE_I8U_C16S_O16S = 45,
239  BAM_KERNELID_VXLIB_CONVOLVE_I8U_C16S_O8U = 46,
240  BAM_KERNELID_VXLIB_DILATE_3X3_I8U_O8U = 47,
241  BAM_KERNELID_VXLIB_DILATE_MXN_I8U_I8U_O8U = 48,
242  BAM_KERNELID_VXLIB_DOUBLETHRESHOLD_I16S_I8U = 49,
243  BAM_KERNELID_VXLIB_ERODE_3X3_I8U_O8U = 50,
244  BAM_KERNELID_VXLIB_ERODE_MXN_I8U_I8U_O8U = 51,
245  BAM_KERNELID_VXLIB_GAUSSIAN_3X3_I8U_O8U = 52,
246  BAM_KERNELID_VXLIB_HALFSCALEGAUSSIAN_5x5_I8U_O8U = 53,
247  BAM_KERNELID_VXLIB_HARRISCORNERSSCORE_I16S_I16S_O32F = 54,
248  BAM_KERNELID_VXLIB_HARRISCORNERSSCORE_I32S_I32S_O32F = 55,
249  BAM_KERNELID_VXLIB_HISTOGRAM_I8U_O32U = 56,
250  BAM_KERNELID_VXLIB_HISTOGRAMSIMPLE_I8U_O32U = 57,
251  BAM_KERNELID_VXLIB_INTEGRALIMAGE_I8U_O32U = 58,
252  BAM_KERNELID_VXLIB_MAGNITUDE_I16S_I16S_O16S = 59,
253  BAM_KERNELID_VXLIB_MEAN_STDDEV_I8U_O32F = 60,
254  BAM_KERNELID_VXLIB_MEDIAN_3X3_I8U_O8U = 61,
255  BAM_KERNELID_VXLIB_MEDIAN_MXN_I8U_I8U_O8U = 62,
256  BAM_KERNELID_VXLIB_MINMAXLOC_I16S = 63,
257  BAM_KERNELID_VXLIB_MINMAXLOC_I8U = 64,
258  BAM_KERNELID_VXLIB_MULTIPLY_I16S_I16S_O16S = 65,
259  BAM_KERNELID_VXLIB_MULTIPLY_I8U_I16S_O16S = 66,
260  BAM_KERNELID_VXLIB_MULTIPLY_I8U_I8U_O16S = 67,
261  BAM_KERNELID_VXLIB_MULTIPLY_I8U_I8U_O8U = 68,
262  BAM_KERNELID_VXLIB_NORML1_I16S_I16S_O16U = 69,
263  BAM_KERNELID_VXLIB_NORML2_I16S_I16S_O16U = 70,
264  BAM_KERNELID_VXLIB_NOT_I8U_O8U = 71,
265  BAM_KERNELID_VXLIB_OR_I8U_I8U_O8U = 72,
266  BAM_KERNELID_VXLIB_PHASE_I16S_I16S_O8U = 73,
267  BAM_KERNELID_VXLIB_SCALEIMAGENEAREST_I8U_O8U = 74,
268  BAM_KERNELID_VXLIB_SOBEL_3X3_I8U_O16S_O16S = 75,
269  BAM_KERNELID_VXLIB_SOBEL_5X5_I8U_O16S_O16S = 76,
270  BAM_KERNELID_VXLIB_SOBEL_7X7_I8U_O16S_O16S = 77,
271  BAM_KERNELID_VXLIB_SOBEL_7X7_I8U_O32S_O32S = 78,
272  BAM_KERNELID_VXLIB_SOBELX_3X3_I8U_O16S = 79,
273  BAM_KERNELID_VXLIB_SOBELY_3X3_I8U_O16S = 80,
274  BAM_KERNELID_VXLIB_SUBTRACT_I16S_I16S_O16S = 81,
275  BAM_KERNELID_VXLIB_SUBTRACT_I8U_I16S_O16S = 82,
276  BAM_KERNELID_VXLIB_SUBTRACT_I8U_I8U_O16S = 83,
277  BAM_KERNELID_VXLIB_SUBTRACT_I8U_I8U_O8U = 84,
278  BAM_KERNELID_VXLIB_TABLELOOKUP_I16S_O16S = 85,
279  BAM_KERNELID_VXLIB_TABLELOOKUP_I8U_O8U = 86,
280  BAM_KERNELID_VXLIB_THRESHOLDBINARY_I8U_O8U = 87,
281  BAM_KERNELID_VXLIB_THRESHOLDRANGE_I8U_O8U = 88,
282  BAM_KERNELID_VXLIB_XOR_I8U_I8U_O8U = 89,
283  BAM_KERNELID_EXTERNAL_START = 90,
284  BAM_KERNELID_MAX = 0X7FFFFFFF
285 } BAM_TI_KernelID;
286 
287 vx_status tivxRegisterOpenVXCoreBamPlugins(void);
288 
289 #endif
BAM_KernelInfo * kernelInfo
Pointer to the kernel's contextual information structure BAM_KernelInfo.
vx_enum vx_status
BAM_KernelHelperFuncDef * kernelHelperFunc
Pointer to the structure BAM_KernelHelperFuncDef that list the helper functions.
BAM_KernelExecFuncDef * kernelExecFunc
Pointer to the structure BAM_KernelExecFuncDef that list the execution functions. ...
Combined Helper function and Execute function database entry.
char * name
Unique name of the kernel.
BAM_KernelId kernelId
Unique ID of the kernel.