diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-29 22:51:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-29 22:51:50 +0000 |
| commit | a5ea5c0d2637dd41e3d356cb62cac75b8cadf8ce (patch) | |
| tree | 45ed553eeaf52a58dea79f66ab6345df1c1657d0 /src/lib/image.h | |
| parent | 1701be8b9173c675169b5739fbd94f5e6f8d07d1 (diff) | |
Add basic memory-used stuff for butler and reduce minimum audio
readahead quite a bit. This in turn reduces the maximum butler memory
usage as it will keep getting audio (and hence video) until the
minimum audio readahead is hit.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index 9a5a7dae8..ce57c5317 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -77,6 +77,8 @@ public: return _pixel_format; } + size_t memory_used () const; + static boost::shared_ptr<Image> ensure_aligned (boost::shared_ptr<Image> image); private: |
