Searched refs:height_diff (Results 1 – 2 of 2) sorted by relevance
306 const float height_diff = (original_box.GetHeight() - size) / 2.0f; in GetCenteredSquare() local308 original_box.top_ + height_diff, in GetCenteredSquare()
907 height_diff = target_height - height908 offset_crop_height = max_(-height_diff // 2, 0)909 offset_pad_height = max_(height_diff // 2, 0)