Skip to main content

Crate baracuda_npp

Crate baracuda_npp 

Source
Expand description

Safe Rust wrappers for NVIDIA NPP (Performance Primitives).

NPP is organized into ~10 separate shared libraries:

  • nppc — core (version info).
  • npps — 1-D signal processing (covered by signal).
  • nppial / nppi* — 2-D image processing (covered by image).

NPP has thousands of functions for every permutation of element type (8u/16u/16s/32s/32f) × channel count (C1/C3/C4) × region-of-interest (R). This crate wraps a curated subset: the 32f and 8u C1R variants for arithmetic, geometric, color-conversion, filter, and statistics ops. Further variants can be added trivially by following the existing pattern.

Modules§

NppiInterpolationMode
NppiInterpolationMode — resampling kernel for geometric ops.
image
2-D image-processing ops (from nppial/nppig/nppicc/nppif/nppist).
signal
1-D signal-processing ops (from npps).

Structs§

NppiPoint
NppiPoint — 2D integer point.
NppiRect
NppiRect — x, y, width, height region of interest.
NppiSize
NppiSize — width × height in pixels.

Functions§

adds_32f_in_placeDeprecated
Deprecated top-level alias for signal::add_32f_in_place.
version
NPP library version (queries nppc).

Type Aliases§

Error
Error type for NPP operations.
Result
Result alias.