Wrapper class for fourcc color codes.
More...
#include <FourCC.h>
Wrapper class for fourcc color codes.
- See also
- ColorFormatDecoder
◆ FourCC() [1/4]
icl::io::FourCC::FourCC |
( |
| ) |
|
|
inline |
create a null FourCC (key = 0)
◆ FourCC() [2/4]
icl::io::FourCC::FourCC |
( |
icl32s |
key | ) |
|
|
inline |
create a FourCC with given key
◆ FourCC() [3/4]
icl::io::FourCC::FourCC |
( |
const std::string & |
key | ) |
|
|
inline |
create a fourCC from given string color code (e.g. Y422 or MJPG)
◆ FourCC() [4/4]
icl::io::FourCC::FourCC |
( |
const char * |
key | ) |
|
|
inline |
create a fourCC from given string color code (cstring style)
◆ asInt()
icl32s icl::io::FourCC::asInt |
( |
| ) |
const |
|
inline |
obtain current key (uint)
◆ asString()
std::string icl::io::FourCC::asString |
( |
| ) |
const |
|
inline |
◆ init()
void icl::io::FourCC::init |
( |
const std::string & |
key | ) |
|
|
inline |
initialization utility method
◆ operator bool()
icl::io::FourCC::operator bool |
( |
| ) |
|
|
inline |
◆ operator int()
icl::io::FourCC::operator int |
( |
| ) |
|
|
inline |
implicit conversion to int
◆ operator=() [1/2]
◆ operator=() [2/2]
FourCC& icl::io::FourCC::operator= |
( |
const std::string & |
key | ) |
|
|
inline |
◆ key
internally a fourcc is represented by an u-int value
The documentation for this class was generated from the following file:
- /Users/alneuman/vm/icl/ICLIO/src/ICLIO/FourCC.h