OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::gapi::own::detail::MatHeader Struct Reference

#include <opencv2/gapi/own/mat.hpp>

Inheritance diagram for cv::gapi::own::detail::MatHeader:
Collaboration diagram for cv::gapi::own::detail::MatHeader:

Public Types

enum  { AUTO_STEP = 0 }
 
enum  { TYPE_MASK = 0x00000FFF }
 

Public Member Functions

 MatHeader ()=default
 
 MatHeader (int _rows, int _cols, int type, void *_data, size_t _step)
 
 MatHeader (const MatHeader &)=default
 
 MatHeader (MatHeader &&src)
 
MatHeaderoperator= (const MatHeader &)=default
 
MatHeaderoperator= (MatHeader &&src)
 

Public Attributes

int cols = 0
 
uchardata = nullptr
 pointer to the data More...
 
int flags = 0
 includes several bit-fields: More...
 
int rows = 0
 the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions More...
 
size_t step = 0
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
AUTO_STEP 

◆ anonymous enum

anonymous enum
Enumerator
TYPE_MASK 

Constructor & Destructor Documentation

◆ MatHeader() [1/4]

cv::gapi::own::detail::MatHeader::MatHeader ( )
default

Referenced by MatHeader().

Here is the caller graph for this function:

◆ MatHeader() [2/4]

cv::gapi::own::detail::MatHeader::MatHeader ( int  _rows,
int  _cols,
int  type,
void *  _data,
size_t  _step 
)
inline

References MatHeader().

Here is the call graph for this function:

◆ MatHeader() [3/4]

cv::gapi::own::detail::MatHeader::MatHeader ( const MatHeader )
default

◆ MatHeader() [4/4]

cv::gapi::own::detail::MatHeader::MatHeader ( MatHeader &&  src)
inline

References operator=().

Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

MatHeader& cv::gapi::own::detail::MatHeader::operator= ( const MatHeader )
default

Referenced by cv::gapi::own::Mat::Mat(), and MatHeader().

Here is the caller graph for this function:

◆ operator=() [2/2]

MatHeader& cv::gapi::own::detail::MatHeader::operator= ( MatHeader &&  src)
inline

Member Data Documentation

◆ cols

◆ data

uchar* cv::gapi::own::detail::MatHeader::data = nullptr

◆ flags

int cv::gapi::own::detail::MatHeader::flags = 0

includes several bit-fields:

  • depth
  • number of channels

Referenced by cv::gapi::own::Mat::channels(), cv::gapi::own::Mat::depth(), and cv::gapi::own::Mat::type().

◆ rows

int cv::gapi::own::detail::MatHeader::rows = 0

the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions

Referenced by cv::gapi::own::Mat::copyTo(), cv::gapi::own::Mat::create(), cv::gapi::own::Mat::Mat(), cv::gapi::own::Mat::operator=(), cv::gapi::own::to_ocv(), and cv::gapi::own::Mat::total().

◆ step

size_t cv::gapi::own::detail::MatHeader::step = 0

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