diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-14 20:29:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-14 20:29:20 +0100 |
| commit | 129afab72bfc026b5704c41a6bfc0f4b3a2c4033 (patch) | |
| tree | cb24e2c035f9ac8e21f307e76defcc88bf343145 /src/lib/util.h | |
| parent | 49f9cb10018bf4ec07a60d1599cbe62d735baa23 (diff) | |
Round image line sizes up to 32. Seems to help with LHS image corruption with both crop and a post-processing filter.
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 66c052c48..244c01855 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -149,6 +149,7 @@ struct Rectangle extern std::string crop_string (Position, Size); extern int dcp_audio_sample_rate (int); extern std::string colour_lut_index_to_name (int index); +extern int round_up (int, int); /** @class Socket * @brief A class to wrap a boost::asio::ip::tcp::socket with some things |
