| 439 | fill(dst.begin(), dst.end(), static_cast<decltype(dst)::value_type>(-1)); |
| 440 | } |
| 441 | void generate() { |
| 442 | uint8_t v = 0; |
| 443 | |
| 444 | for (int y = 0; y < height; y++) { |
| 445 | for (int x = 0; x < rowSize; x++, v++) { |
| 446 | src[y * srcPitch + x] = v; |
| 447 | } |
| 448 | } |
| 449 | } |
| 450 | void copy() { |
| 451 | if (src.empty() || dst.empty()) |
| 452 | return; |
nothing calls this directly
no outgoing calls
no test coverage detected