NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::Image< ImageType::NV24 > Class Reference

Detailed Description

Definition at line 777 of file Image.h.

Public Member Functions

 Image (std::size_t width, std::size_t height, bool isCPU=true)
 
 Image (std::size_t width, std::size_t height, std::uint8_t *dataPtrLuma, std::uint8_t *dataPtrChroma, bool isCPU=true)
 
 Image (std::size_t width, std::size_t height, std::size_t rowPitchLuma, std::size_t rowPitchChroma, std::uint8_t *dataPtrLuma, std::uint8_t *dataPtrChroma, bool isCPU=true)
 
std::size_t getLumaWidth () const
 
std::size_t getLumaHeight () const
 
std::size_t getChromaWidth () const
 
std::size_t getChromaHeight () const
 
std::size_t getLumaStride (TensorDimension dim) const
 
std::size_t getChromaStride (TensorDimension dim) const
 
std::uint8_t * getLumaData ()
 
const std::uint8_t * getLumaData () const
 
std::size_t getLumaDataSize () const
 
std::uint8_t * getChromaData ()
 
const std::uint8_t * getChromaData () const
 
std::size_t getChromaDataSize () const
 
bool isCPU () const
 

Friends

void Copy (Image< NV24 > &dst, const Image< NV24 > &src, cudaStream_t stream)
 

Constructor & Destructor Documentation

◆ Image() [1/3]

cvcore::Image< ImageType::NV24 >::Image ( std::size_t  width,
std::size_t  height,
bool  isCPU = true 
)
inline

Definition at line 780 of file Image.h.

◆ Image() [2/3]

cvcore::Image< ImageType::NV24 >::Image ( std::size_t  width,
std::size_t  height,
std::uint8_t *  dataPtrLuma,
std::uint8_t *  dataPtrChroma,
bool  isCPU = true 
)
inline

Definition at line 785 of file Image.h.

◆ Image() [3/3]

cvcore::Image< ImageType::NV24 >::Image ( std::size_t  width,
std::size_t  height,
std::size_t  rowPitchLuma,
std::size_t  rowPitchChroma,
std::uint8_t *  dataPtrLuma,
std::uint8_t *  dataPtrChroma,
bool  isCPU = true 
)
inline

Definition at line 791 of file Image.h.

Member Function Documentation

◆ getChromaData() [1/2]

std::uint8_t* cvcore::Image< ImageType::NV24 >::getChromaData ( )
inline

Definition at line 843 of file Image.h.

◆ getChromaData() [2/2]

const std::uint8_t* cvcore::Image< ImageType::NV24 >::getChromaData ( ) const
inline

Definition at line 848 of file Image.h.

◆ getChromaDataSize()

std::size_t cvcore::Image< ImageType::NV24 >::getChromaDataSize ( ) const
inline

Definition at line 853 of file Image.h.

◆ getChromaHeight()

std::size_t cvcore::Image< ImageType::NV24 >::getChromaHeight ( ) const
inline

Definition at line 813 of file Image.h.

◆ getChromaStride()

std::size_t cvcore::Image< ImageType::NV24 >::getChromaStride ( TensorDimension  dim) const
inline

Definition at line 823 of file Image.h.

◆ getChromaWidth()

std::size_t cvcore::Image< ImageType::NV24 >::getChromaWidth ( ) const
inline

Definition at line 808 of file Image.h.

◆ getLumaData() [1/2]

std::uint8_t* cvcore::Image< ImageType::NV24 >::getLumaData ( )
inline

Definition at line 828 of file Image.h.

◆ getLumaData() [2/2]

const std::uint8_t* cvcore::Image< ImageType::NV24 >::getLumaData ( ) const
inline

Definition at line 833 of file Image.h.

◆ getLumaDataSize()

std::size_t cvcore::Image< ImageType::NV24 >::getLumaDataSize ( ) const
inline

Definition at line 838 of file Image.h.

◆ getLumaHeight()

std::size_t cvcore::Image< ImageType::NV24 >::getLumaHeight ( ) const
inline

Definition at line 803 of file Image.h.

◆ getLumaStride()

std::size_t cvcore::Image< ImageType::NV24 >::getLumaStride ( TensorDimension  dim) const
inline

Definition at line 818 of file Image.h.

◆ getLumaWidth()

std::size_t cvcore::Image< ImageType::NV24 >::getLumaWidth ( ) const
inline

Definition at line 798 of file Image.h.

◆ isCPU()

bool cvcore::Image< ImageType::NV24 >::isCPU ( ) const
inline

Definition at line 858 of file Image.h.

Friends And Related Function Documentation

◆ Copy

void Copy ( Image< NV24 > &  dst,
const Image< NV24 > &  src,
cudaStream_t  stream = 0 
)
friend

Definition at line 878 of file Image.h.


The documentation for this class was generated from the following file: