NVIDIA Performance Primitives (NPP)  Version 9.1
npps_initialization.h
1  /* Copyright 2010-2016 NVIDIA Corporation. 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_NPPS_INITIALIZATION_H
49 #define NV_NPPS_INITIALIZATION_H
50 
56 #include "nppdefs.h"
57 
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
63 
92 NppStatus
93 nppsSet_8u(Npp8u nValue, Npp8u * pDst, int nLength);
94 
102 NppStatus
103 nppsSet_8s(Npp8s nValue, Npp8s * pDst, int nLength);
104 
112 NppStatus
113 nppsSet_16u(Npp16u nValue, Npp16u * pDst, int nLength);
114 
122 NppStatus
123 nppsSet_16s(Npp16s nValue, Npp16s * pDst, int nLength);
124 
132 NppStatus
133 nppsSet_16sc(Npp16sc nValue, Npp16sc * pDst, int nLength);
134 
142 NppStatus
143 nppsSet_32u(Npp32u nValue, Npp32u * pDst, int nLength);
144 
152 NppStatus
153 nppsSet_32s(Npp32s nValue, Npp32s * pDst, int nLength);
154 
162 NppStatus
163 nppsSet_32sc(Npp32sc nValue, Npp32sc * pDst, int nLength);
164 
172 NppStatus
173 nppsSet_32f(Npp32f nValue, Npp32f * pDst, int nLength);
174 
182 NppStatus
183 nppsSet_32fc(Npp32fc nValue, Npp32fc * pDst, int nLength);
184 
192 NppStatus
193 nppsSet_64s(Npp64s nValue, Npp64s * pDst, int nLength);
194 
202 NppStatus
203 nppsSet_64sc(Npp64sc nValue, Npp64sc * pDst, int nLength);
204 
212 NppStatus
213 nppsSet_64f(Npp64f nValue, Npp64f * pDst, int nLength);
214 
222 NppStatus
223 nppsSet_64fc(Npp64fc nValue, Npp64fc * pDst, int nLength);
224 
247 NppStatus
248 nppsZero_8u(Npp8u * pDst, int nLength);
249 
256 NppStatus
257 nppsZero_16s(Npp16s * pDst, int nLength);
258 
265 NppStatus
266 nppsZero_16sc(Npp16sc * pDst, int nLength);
267 
274 NppStatus
275 nppsZero_32s(Npp32s * pDst, int nLength);
276 
283 NppStatus
284 nppsZero_32sc(Npp32sc * pDst, int nLength);
285 
292 NppStatus
293 nppsZero_32f(Npp32f * pDst, int nLength);
294 
301 NppStatus
302 nppsZero_32fc(Npp32fc * pDst, int nLength);
303 
310 NppStatus
311 nppsZero_64s(Npp64s * pDst, int nLength);
312 
319 NppStatus
320 nppsZero_64sc(Npp64sc * pDst, int nLength);
321 
328 NppStatus
329 nppsZero_64f(Npp64f * pDst, int nLength);
330 
337 NppStatus
338 nppsZero_64fc(Npp64fc * pDst, int nLength);
339 
367 NppStatus
368 nppsCopy_8u(const Npp8u * pSrc, Npp8u * pDst, int nLength);
369 
377 NppStatus
378 nppsCopy_16s(const Npp16s * pSrc, Npp16s * pDst, int nLength);
379 
387 NppStatus
388 nppsCopy_32s(const Npp32s * pSrc, Npp32s * pDst, int nLength);
389 
397 NppStatus
398 nppsCopy_32f(const Npp32f * pSrc, Npp32f * pDst, int nLength);
399 
407 NppStatus
408 nppsCopy_64s(const Npp64s * pSrc, Npp64s * pDst, int nLength);
409 
417 NppStatus
418 nppsCopy_16sc(const Npp16sc * pSrc, Npp16sc * pDst, int nLength);
419 
427 NppStatus
428 nppsCopy_32sc(const Npp32sc * pSrc, Npp32sc * pDst, int nLength);
429 
437 NppStatus
438 nppsCopy_32fc(const Npp32fc * pSrc, Npp32fc * pDst, int nLength);
439 
447 NppStatus
448 nppsCopy_64sc(const Npp64sc * pSrc, Npp64sc * pDst, int nLength);
449 
457 NppStatus
458 nppsCopy_64fc(const Npp64fc * pSrc, Npp64fc * pDst, int nLength);
459 
466 #ifdef __cplusplus
467 } /* extern "C" */
468 #endif
469 
470 #endif /* NV_NPPS_INITIALIZATION_H */
NppStatus nppsSet_16s(Npp16s nValue, Npp16s *pDst, int nLength)
16-bit signed integer, vector set method.
NppStatus nppsSet_32sc(Npp32sc nValue, Npp32sc *pDst, int nLength)
32-bit integer complex, vector set method.
unsigned char Npp8u
8-bit unsigned chars
Definition: nppdefs.h:275
NppStatus nppsZero_32s(Npp32s *pDst, int nLength)
32-bit integer, vector zero method.
Complex Number This struct represents an unsigned int complex number.
Definition: nppdefs.h:321
NppStatus nppsZero_32sc(Npp32sc *pDst, int nLength)
32-bit integer complex, vector zero method.
NppStatus nppsZero_32f(Npp32f *pDst, int nLength)
32-bit float, vector zero method.
NppStatus
Error Status Codes.
Definition: nppdefs.h:152
NppStatus nppsZero_64fc(Npp64fc *pDst, int nLength)
64-bit double complex, vector zero method.
Complex Number This struct represents a long long complex number.
Definition: nppdefs.h:351
NppStatus nppsZero_64f(Npp64f *pDst, int nLength)
64-bit double, vector zero method.
NppStatus nppsZero_16s(Npp16s *pDst, int nLength)
16-bit integer, vector zero method.
NppStatus nppsCopy_64sc(const Npp64sc *pSrc, Npp64sc *pDst, int nLength)
64-bit complex signed integer, vector copy method.
NppStatus nppsSet_16u(Npp16u nValue, Npp16u *pDst, int nLength)
16-bit unsigned integer, vector set method.
NppStatus nppsZero_16sc(Npp16sc *pDst, int nLength)
16-bit integer complex, vector zero method.
NppStatus nppsCopy_32fc(const Npp32fc *pSrc, Npp32fc *pDst, int nLength)
32-bit complex float, vector copy method.
NppStatus nppsSet_64sc(Npp64sc nValue, Npp64sc *pDst, int nLength)
64-bit long long integer complex, vector set method.
NppStatus nppsCopy_16s(const Npp16s *pSrc, Npp16s *pDst, int nLength)
16-bit signed short, vector copy method.
NppStatus nppsCopy_32sc(const Npp32sc *pSrc, Npp32sc *pDst, int nLength)
32-bit complex signed integer, vector copy method.
NppStatus nppsSet_8u(Npp8u nValue, Npp8u *pDst, int nLength)
8-bit unsigned char, vector set method.
long long Npp64s
64-bit signed integers
Definition: nppdefs.h:282
NppStatus nppsCopy_8u(const Npp8u *pSrc, Npp8u *pDst, int nLength)
8-bit unsigned char, vector copy method
int Npp32s
32-bit signed integers
Definition: nppdefs.h:280
NppStatus nppsZero_64sc(Npp64sc *pDst, int nLength)
64-bit long long integer complex, vector zero method.
NppStatus nppsSet_32fc(Npp32fc nValue, Npp32fc *pDst, int nLength)
32-bit float complex, vector set method.
Npp16sc
Definition: nppdefs.h:315
NppStatus nppsSet_32s(Npp32s nValue, Npp32s *pDst, int nLength)
32-bit signed integer, vector set method.
unsigned short Npp16u
16-bit unsigned integers
Definition: nppdefs.h:277
NppStatus nppsZero_64s(Npp64s *pDst, int nLength)
64-bit long long integer, vector zero method.
NppStatus nppsCopy_32s(const Npp32s *pSrc, Npp32s *pDst, int nLength)
32-bit signed integer, vector copy method.
NppStatus nppsCopy_32f(const Npp32f *pSrc, Npp32f *pDst, int nLength)
32-bit float, vector copy method.
NppStatus nppsZero_32fc(Npp32fc *pDst, int nLength)
32-bit float complex, vector zero method.
NppStatus nppsSet_32u(Npp32u nValue, Npp32u *pDst, int nLength)
32-bit unsigned integer, vector set method.
short Npp16s
16-bit signed integers
Definition: nppdefs.h:278
unsigned int Npp32u
32-bit unsigned integers
Definition: nppdefs.h:279
signed char Npp8s
8-bit signed chars
Definition: nppdefs.h:276
double Npp64f
64-bit floating-point numbers
Definition: nppdefs.h:284
NppStatus nppsSet_64fc(Npp64fc nValue, Npp64fc *pDst, int nLength)
64-bit double complex, vector set method.
NppStatus nppsSet_64s(Npp64s nValue, Npp64s *pDst, int nLength)
64-bit long long integer, vector set method.
float Npp32f
32-bit (IEEE) floating-point numbers
Definition: nppdefs.h:283
NppStatus nppsZero_8u(Npp8u *pDst, int nLength)
8-bit unsigned char, vector zero method.
NppStatus nppsSet_16sc(Npp16sc nValue, Npp16sc *pDst, int nLength)
16-bit integer complex, vector set method.
NppStatus nppsCopy_16sc(const Npp16sc *pSrc, Npp16sc *pDst, int nLength)
16-bit complex short, vector copy method.
NppStatus nppsSet_64f(Npp64f nValue, Npp64f *pDst, int nLength)
64-bit double, vector set method.
NppStatus nppsSet_8s(Npp8s nValue, Npp8s *pDst, int nLength)
8-bit signed char, vector set method.
NppStatus nppsSet_32f(Npp32f nValue, Npp32f *pDst, int nLength)
32-bit float, vector set method.
NppStatus nppsCopy_64fc(const Npp64fc *pSrc, Npp64fc *pDst, int nLength)
64-bit complex double, vector copy method.
NppStatus nppsCopy_64s(const Npp64s *pSrc, Npp64s *pDst, int nLength)
64-bit signed integer, vector copy method.