Class ImageDataStridedCuda

Inheritance Relationships

Base Type

Class Documentation

class ImageDataStridedCuda : public nvcv::ImageDataStrided

Represents strided image data specifically for CUDA.

This class extends the ImageDataStrided class, offering methods and functionalities tailored for CUDA.

Public Functions

inline explicit ImageDataStridedCuda(ImageFormat format, const Buffer &buffer)

Constructor that initializes the strided CUDA image data from a format and buffer.

Parameters:
  • format – The format of the image.

  • buffer – The buffer containing the image data.

inline explicit ImageDataStridedCuda(const NVCVImageData &data)

Constructor that initializes the strided CUDA image data from an existing NVCVImageData.

Parameters:

data – The NVCVImageData to use for initialization.

Public Static Functions

static inline constexpr bool IsCompatibleKind(NVCVImageBufferType kind)

Check if a given image buffer type is compatible with the strided CUDA format.

Parameters:

kind – The image buffer type.

Returns:

true if the type is NVCV_IMAGE_BUFFER_STRIDED_CUDA, false otherwise.