NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.5.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
nppi_support_functions.h
1  /* Copyright 2009-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2  *
3  * NOTICE TO LICENSEE:
4  *
5  * The source code and/or documentation ("Licensed Deliverables") are
6  * subject to NVIDIA intellectual property rights under U.S. and
7  * international Copyright laws.
8  *
9  * The Licensed Deliverables contained herein are PROPRIETARY and
10  * CONFIDENTIAL to NVIDIA and are being provided under the terms and
11  * conditions of a form of NVIDIA software license agreement by and
12  * between NVIDIA and Licensee ("License Agreement") or electronically
13  * accepted by Licensee. Notwithstanding any terms or conditions to
14  * the contrary in the License Agreement, reproduction or disclosure
15  * of the Licensed Deliverables to any third party without the express
16  * written consent of NVIDIA is prohibited.
17  *
18  * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
19  * LICENSE AGREEMENT, NVIDIA MAKES NO REPRESENTATION ABOUT THE
20  * SUITABILITY OF THESE LICENSED DELIVERABLES FOR ANY PURPOSE. THEY ARE
21  * PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
22  * NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THESE LICENSED
23  * DELIVERABLES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
24  * NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
25  * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
26  * LICENSE AGREEMENT, IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY
27  * SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY
28  * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
29  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
30  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
31  * OF THESE LICENSED DELIVERABLES.
32  *
33  * U.S. Government End Users. These Licensed Deliverables are a
34  * "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT
35  * 1995), consisting of "commercial computer software" and "commercial
36  * computer software documentation" as such terms are used in 48
37  * C.F.R. 12.212 (SEPT 1995) and are provided to the U.S. Government
38  * only as a commercial end item. Consistent with 48 C.F.R.12.212 and
39  * 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all
40  * U.S. Government End Users acquire the Licensed Deliverables with
41  * only those rights set forth herein.
42  *
43  * Any use of the Licensed Deliverables in individual and commercial
44  * software must include, in the user documentation and internal
45  * comments to the code, the above Disclaimer and U.S. Government End
46  * Users Notice.
47  */
48 #ifndef NV_NPPI_SUPPORT_FUNCTIONS_H
49 #define NV_NPPI_SUPPORT_FUNCTIONS_H
50 
57 #include "nppdefs.h"
58 
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
103 Npp8u *
104 nppiMalloc_8u_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
105 
113 Npp8u *
114 nppiMalloc_8u_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
115 
123 Npp8u *
124 nppiMalloc_8u_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
125 
133 Npp8u *
134 nppiMalloc_8u_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
135 
143 Npp16u *
144 nppiMalloc_16u_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
145 
153 Npp16u *
154 nppiMalloc_16u_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
155 
163 Npp16u *
164 nppiMalloc_16u_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
165 
173 Npp16u *
174 nppiMalloc_16u_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
175 
183 Npp16s *
184 nppiMalloc_16s_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
185 
193 Npp16s *
194 nppiMalloc_16s_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
195 
203 Npp16s *
204 nppiMalloc_16s_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
205 
213 Npp16sc *
214 nppiMalloc_16sc_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
215 
223 Npp16sc *
224 nppiMalloc_16sc_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
225 
233 Npp16sc *
234 nppiMalloc_16sc_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
235 
243 Npp16sc *
244 nppiMalloc_16sc_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
245 
253 Npp32s *
254 nppiMalloc_32s_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
255 
263 Npp32s *
264 nppiMalloc_32s_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
265 
273 Npp32s *
274 nppiMalloc_32s_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
275 
283 Npp32sc *
284 nppiMalloc_32sc_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
285 
293 Npp32sc *
294 nppiMalloc_32sc_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
295 
303 Npp32sc *
304 nppiMalloc_32sc_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
305 
313 Npp32sc *
314 nppiMalloc_32sc_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
315 
316 
324 Npp32f *
325 nppiMalloc_32f_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
326 
334 Npp32f *
335 nppiMalloc_32f_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
336 
344 Npp32f *
345 nppiMalloc_32f_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
346 
354 Npp32f *
355 nppiMalloc_32f_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
356 
364 Npp32fc *
365 nppiMalloc_32fc_C1(int nWidthPixels, int nHeightPixels, int * pStepBytes);
366 
374 Npp32fc *
375 nppiMalloc_32fc_C2(int nWidthPixels, int nHeightPixels, int * pStepBytes);
376 
384 Npp32fc *
385 nppiMalloc_32fc_C3(int nWidthPixels, int nHeightPixels, int * pStepBytes);
386 
394 Npp32fc *
395 nppiMalloc_32fc_C4(int nWidthPixels, int nHeightPixels, int * pStepBytes);
396 
405 void
406 nppiFree(void * pData);
407 
410 #ifdef __cplusplus
411 } /* extern "C" */
412 #endif
413 
414 #endif /* NV_NPPI_SUPPORT_FUNCTIONS_H */
Npp32f * nppiMalloc_32f_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 32-bit floating point image memory allocator.
Npp32f * nppiMalloc_32f_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 32-bit floating point image memory allocator.
unsigned char Npp8u
8-bit unsigned chars
Definition: nppdefs.h:270
Npp16u * nppiMalloc_16u_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 16-bit unsigned image memory allocator.
Complex Number This struct represents an unsigned int complex number.
Definition: nppdefs.h:316
Npp16u * nppiMalloc_16u_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 16-bit unsigned image memory allocator.
Npp32fc * nppiMalloc_32fc_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 32-bit float complex image memory allocator.
Npp32fc * nppiMalloc_32fc_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
32-bit float complex image memory allocator.
void nppiFree(void *pData)
Free method for any 2D allocated memory.
Npp8u * nppiMalloc_8u_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 8-bit unsigned image memory allocator.
Npp16u * nppiMalloc_16u_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 16-bit unsigned image memory allocator.
Npp16s * nppiMalloc_16s_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 16-bit signed image memory allocator.
Npp32sc * nppiMalloc_32sc_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 32-bit integer complex image memory allocator.
Npp16s * nppiMalloc_16s_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 16-bit signed image memory allocator.
Npp32s * nppiMalloc_32s_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 32-bit signed image memory allocator.
Npp16sc * nppiMalloc_16sc_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
1 channel 16-bit signed complex image memory allocator.
Npp8u * nppiMalloc_8u_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 8-bit unsigned image memory allocator.
int Npp32s
32-bit signed integers
Definition: nppdefs.h:275
Npp16sc * nppiMalloc_16sc_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 16-bit signed complex image memory allocator.
Npp16sc
Definition: nppdefs.h:310
Npp32sc * nppiMalloc_32sc_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
32-bit integer complex image memory allocator.
unsigned short Npp16u
16-bit unsigned integers
Definition: nppdefs.h:272
Npp32sc * nppiMalloc_32sc_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 32-bit integer complex image memory allocator.
Npp32s * nppiMalloc_32s_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 32-bit signed image memory allocator.
short Npp16s
16-bit signed integers
Definition: nppdefs.h:273
Npp32sc * nppiMalloc_32sc_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 32-bit integer complex image memory allocator.
float Npp32f
32-bit (IEEE) floating-point numbers
Definition: nppdefs.h:278
Npp32f * nppiMalloc_32f_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
32-bit floating point image memory allocator.
Npp16s * nppiMalloc_16s_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
16-bit signed image memory allocator.
Npp32f * nppiMalloc_32f_C3(int nWidthPixels, int nHeightPixels, int *pStepBytes)
3 channel 32-bit floating point image memory allocator.
Npp16sc * nppiMalloc_16sc_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 16-bit signed complex image memory allocator.
Npp32s * nppiMalloc_32s_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
32-bit signed image memory allocator.
Npp32fc * nppiMalloc_32fc_C2(int nWidthPixels, int nHeightPixels, int *pStepBytes)
2 channel 32-bit float complex image memory allocator.
Npp16u * nppiMalloc_16u_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
16-bit unsigned image memory allocator.
Npp8u * nppiMalloc_8u_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 8-bit unsigned image memory allocator.
Npp16sc * nppiMalloc_16sc_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 16-bit signed complex image memory allocator.
Npp32fc * nppiMalloc_32fc_C4(int nWidthPixels, int nHeightPixels, int *pStepBytes)
4 channel 32-bit float complex image memory allocator.
Npp8u * nppiMalloc_8u_C1(int nWidthPixels, int nHeightPixels, int *pStepBytes)
8-bit unsigned image memory allocator.