#include <string>
Go to the source code of this file.
Enumerations | |
enum | IntegerDecodeType { INTG_DECODE_RGB, INTG_DECODE_VIDEO } |
Strategies for decomposing input frames into integer-math components. More... | |
Functions | |
std::string | convertToString (const IntegerDecodeType val) |
IntegerDecodeType overload. | |
void | convertFromString (const std::string &str, IntegerDecodeType &val) |
IntegerDecodeType overload. |
Strategies for decomposing input frames into integer-math components
Definition in file IntegerDecodeType.H.
enum IntegerDecodeType |
Strategies for decomposing input frames into integer-math components.
INTG_DECODE_RGB |
compute luminance as (r+g+b)/3, chrominance as (r-g) and (b-y) |
INTG_DECODE_VIDEO |
compute luminance as the yuv 'y' component, chrominance as u and v |
Definition at line 44 of file IntegerDecodeType.H.
void convertFromString | ( | const std::string & | str, | |
IntegerDecodeType & | val | |||
) |
IntegerDecodeType overload.
Definition at line 60 of file IntegerDecodeType.C.
References INTG_DECODE_RGB, INTG_DECODE_VIDEO, and toLowerCase().
std::string convertToString | ( | const IntegerDecodeType | val | ) |
IntegerDecodeType overload.
Definition at line 47 of file IntegerDecodeType.C.
References INTG_DECODE_RGB, and INTG_DECODE_VIDEO.