Definition at line 97 of file videoframe.h.
◆ FrameBufferKey() [1/3]
VideoFrame::FrameBufferKey::FrameBufferKey |
( |
const int |
width, |
|
|
const int |
height, |
|
|
const int |
pixFmt, |
|
|
const bool |
lineAligned |
|
) |
| |
Constructs a new FrameBufferKey with the given attributes.
- Parameters
-
width | the width of the frame. |
height | the height of the frame. |
pixFmt | the pixel format of the frame. |
lineAligned | whether the linesize matches the width of the image. |
Definition at line 422 of file videoframe.cpp.
◆ FrameBufferKey() [2/3]
◆ FrameBufferKey() [3/3]
◆ ~FrameBufferKey()
VideoFrame::FrameBufferKey::~FrameBufferKey |
( |
| ) |
|
|
default |
◆ hash()
Hash function for FrameBufferKey.
This function computes a hash value for use with std::unordered_map.
- Parameters
-
key | the given instance to compute hash value of. |
- Returns
- the hash of the given instance.
Definition at line 462 of file videoframe.cpp.
◆ operator!=()
bool VideoFrame::FrameBufferKey::operator!= |
( |
const FrameBufferKey & |
other | ) |
const |
Not equal to operator for FrameBufferKey.
- Parameters
-
other | instance to compare against |
- Returns
- true if instances are not equivilent, false otherwise.
Definition at line 449 of file videoframe.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool VideoFrame::FrameBufferKey::operator== |
( |
const FrameBufferKey & |
other | ) |
const |
Comparison operator for FrameBufferKey.
- Parameters
-
other | instance to compare against. |
- Returns
- true if instances are equivilent, false otherwise.
Definition at line 437 of file videoframe.cpp.
◆ frameHeight
const int VideoFrame::FrameBufferKey::frameHeight |
◆ frameWidth
const int VideoFrame::FrameBufferKey::frameWidth |
◆ linesizeAligned
const bool VideoFrame::FrameBufferKey::linesizeAligned |
◆ pixelFormat
const int VideoFrame::FrameBufferKey::pixelFormat |
The documentation for this class was generated from the following files: