| 79 | // Pads image dimensions to be divisible by a given factor. |
| 80 | struct InputPadder { |
| 81 | InputPadder(int height, int width, int divisor = 32) |
| 82 | : original_height(height), |
| 83 | original_width(width), |
| 84 | padded_height(((height + divisor - 1) / divisor) * divisor), |
| 85 | padded_width(((width + divisor - 1) / divisor) * divisor) {} |
| 86 | |
| 87 | const int original_height; |
| 88 | const int original_width; |
nothing calls this directly
no outgoing calls
no test coverage detected