diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-19 00:07:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-19 00:07:29 +0000 |
| commit | 259ed1f1602d866640a3035341a834e937e45e79 (patch) | |
| tree | 12513a92e881f1f76bb19dec535137ebc66ef7b9 /src/lib/util.cc | |
| parent | 52b840565b8be0f4933b78948bddeccfc4ba2135 (diff) | |
Remove unused Processor::process_begin; some docs.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 29ba91f7c..bb33eb431 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -291,6 +291,10 @@ dvdomatic_setup () #endif } +/** @param start Start position for the crop within the image. + * @param size Size of the cropped area. + * @return FFmpeg crop filter string. + */ string crop_string (Position start, Size size) { @@ -299,6 +303,9 @@ crop_string (Position start, Size size) return s.str (); } +/** @param s A string. + * @return Parts of the string split at spaces, except when a space is within quotation marks. + */ vector<string> split_at_spaces_considering_quotes (string s) { @@ -375,6 +382,9 @@ md5_digest (string file) return s.str (); } +/** @param fps Arbitrary frames-per-second value. + * @return DCPFrameRate for this frames-per-second. + */ DCPFrameRate dcp_frame_rate (float fps) { @@ -601,6 +611,9 @@ Socket::read_indefinite (uint8_t* data, int size, int timeout) memcpy (data, _buffer, size); } +/** @param other A Rect. + * @return The intersection of this with `other'. + */ Rect Rect::intersection (Rect const & other) const { @@ -619,7 +632,6 @@ Rect::intersection (Rect const & other) const * @param t Multiple to round to. * @return Rounded number. */ - int stride_round_up (int c, int const * stride, int t) { @@ -760,6 +772,7 @@ AudioBuffers::AudioBuffers (AudioBuffers const & other) } } +/** AudioBuffers destructor */ AudioBuffers::~AudioBuffers () { for (int i = 0; i < _channels; ++i) { |
