Represents a pixel format and its specific properties.
More...
#include <peak_ipl/types/peak_ipl_pixel_format.hpp>
Represents a pixel format and its specific properties.
◆ PixelFormat() [1/4]
| peak::ipl::PixelFormat::PixelFormat |
( |
| ) |
|
|
inline |
◆ PixelFormat() [2/4]
◆ ~PixelFormat()
| peak::ipl::PixelFormat::~PixelFormat |
( |
| ) |
|
|
default |
◆ PixelFormat() [3/4]
| peak::ipl::PixelFormat::PixelFormat |
( |
const PixelFormat & |
other | ) |
|
|
default |
◆ PixelFormat() [4/4]
| peak::ipl::PixelFormat::PixelFormat |
( |
PixelFormat && |
other | ) |
|
|
default |
◆ CalculateStorageSizeOfPixels()
| uint64_t peak::ipl::PixelFormat::CalculateStorageSizeOfPixels |
( |
uint64_t |
numPixels | ) |
const |
|
inline |
Returns the storage size of the given number of pixels of the given pixel format in bytes.
- Parameters
-
| [in] | numPixels | The number of pixels. |
- Returns
- CalculateStorageSizeOfPixels
- Since
- 1.0
- Exceptions
-
◆ Endianness()
Returns the endianness of the given pixel format.
- Returns
- Endianness.
- Since
- 1.0
- Exceptions
-
◆ MaximumValuePerChannel()
| uint32_t peak::ipl::PixelFormat::MaximumValuePerChannel |
( |
| ) |
const |
|
inline |
Returns the maximum value of one pixel channel of the given pixel format.
- Returns
- Maximum value of one pixel channel.
- Since
- 1.0
- Exceptions
-
◆ Name()
| std::string peak::ipl::PixelFormat::Name |
( |
| ) |
const |
|
inline |
Returns the name of the pixel format as String.
- Returns
- Name
- Since
- 1.0
- Exceptions
-
◆ NumChannels()
| size_t peak::ipl::PixelFormat::NumChannels |
( |
| ) |
const |
|
inline |
Returns the number of channels of the given pixel format.
- Returns
- Number of channels.
- Since
- 1.0
- Exceptions
-
◆ NumSignificantBitsPerChannel()
| size_t peak::ipl::PixelFormat::NumSignificantBitsPerChannel |
( |
| ) |
const |
|
inline |
Returns the number of significant bits per pixel per channel of the given pixel format.
- Returns
- Number of significant bits per pixel per channel.
- Since
- 1.0
- Exceptions
-
◆ NumSignificantBitsPerPixel()
| size_t peak::ipl::PixelFormat::NumSignificantBitsPerPixel |
( |
| ) |
const |
|
inline |
Returns the number of significant bits per pixel of the given pixel format.
- Returns
- NumSignificantBits
- Since
- 1.0
- Exceptions
-
◆ NumStorageBitsPerChannel()
| size_t peak::ipl::PixelFormat::NumStorageBitsPerChannel |
( |
| ) |
const |
|
inline |
Returns the number of storage bits per pixel per channel of the given pixel format.
- Returns
- Number of storage bits per pixel per channel.
- Since
- 1.0
- Exceptions
-
◆ NumStorageBitsPerPixel()
| size_t peak::ipl::PixelFormat::NumStorageBitsPerPixel |
( |
| ) |
const |
|
inline |
Returns the number of storage bits per pixel of the given pixel format.
returns NumStorageBits
- Since
- 1.0
- Exceptions
-
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
| bool peak::ipl::PixelFormat::operator== |
( |
const PixelFormat & |
other | ) |
const |
|
inline |
◆ PixelFormatName()
Returns the name of the pixel format as enum value.
- Returns
- PixelFormatName
- Since
- 1.0
- Exceptions
-
The documentation for this class was generated from the following file: