Class ImageDataStridedHost

Inheritance Relationships

Base Type

Class Documentation

class ImageDataStridedHost : public nvcv::ImageDataStrided

Represents strided image data specifically for host.

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

Public Functions

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

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

Parameters:
  • format – The format of the image.

  • buffer – The buffer containing the image data.

inline explicit ImageDataStridedHost(const NVCVImageData &data)

Constructor that initializes the strided host 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 host format.

Parameters:

kind – The image buffer type.

Returns:

true if the type is NVCV_IMAGE_BUFFER_STRIDED_HOST, false otherwise.