project/label_image_tf1.14/inc/BMP.h
uint32_t make_stride_aligned(uint32_t align_stride) {
        uint32_t new_stride = row_stride;
        while (new_stride % align_stride != 0) {
            new_stride++;
        }
        return new_stride;
    }
// Add 1 to the row_stride until it is divisible with align_stride
Add 1 to the row_stride until it is divisible with align_stride
Add 1 to the row_stride until it is divisible with align_stride
uint32_t make_stride_aligned(uint32_t align_stride) {
        uint32_t new_stride = row_stride;
        while (new_stride % align_stride != 0) {
            new_stride++;
        }
        return new_stride;
    }
uint32_t make_stride_aligned ( uint32_t align_stride ) { uint32_t new_stride = row_stride ; while ( new_stride % align_stride != 0 ) { new_stride ++ ; } return new_stride ; }
Add 1 to the row_stride until it is divisible with align_stride
Add 1 to the row_stride until it is divisible with align_stride