| 112 | constexpr int64_t RoundUpToMultipleOf8(int64_t num) { return RoundUpToPowerOf2(num, 8); } |
| 113 | |
| 114 | constexpr int64_t RoundUpToMultipleOf64(int64_t num) { |
| 115 | return RoundUpToPowerOf2(num, 64); |
| 116 | } |
| 117 | |
| 118 | // Returns the number of bytes covering a sliced bitmap. Find the length |
| 119 | // rounded to cover full bytes on both extremities. |