◆ image_pattern_raw()
| image_pattern_raw::image_pattern_raw |
( |
string | config | ) |
|
|
inlineexplicit |
Definition at line 495 of file video_pattern_generator.cpp.
495 {
496 if (config.empty()) {
498 }
499 if (config.substr(0, "0x"s.length()) == "0x") {
500 config = config.substr(2);
501 }
502 while (!config.empty()) {
503 unsigned char byte = 0;
504 if (sscanf(config.c_str(), "%2hhx", &byte) == 1) {
506 }
507 config = config.substr(min<size_t>(config.size(), 2));
508 }
509 }
vector< unsigned char > m_pattern
References m_pattern.
◆ fill()
| enum generator_depth image_pattern_raw::fill |
( |
int | width, |
|
|
int | height, |
|
|
unsigned char * | data ) |
|
inlineoverrideprivatevirtual |
◆ raw_fill()
| void image_pattern_raw::raw_fill |
( |
unsigned char * | data, |
|
|
size_t | data_len ) |
|
inline |
◆ m_pattern
| vector<unsigned char> image_pattern_raw::m_pattern |
|
private |
The documentation for this class was generated from the following file: